Deb-pkg-tools

Latest version: v8.3

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 25

1.18.3

------------------------------

- Fixed sort order of ``deb_pkg_tools.package.PackageFile`` (changed field order)
- Sanity check given arguments in ``deb_pkg_tools.package.find_latest_version()``.
- Documented the exception that can be raised by ``deb_pkg_tools.package.parse_filename()``.

.. _Release 1.18.3: https://github.com/xolox/python-deb-pkg-tools/compare/1.18.2...1.18.3

1.18.2

------------------------------

Change ``deb_pkg_tools.deps.parse_depends()`` to accept a list of dependencies.

.. _Release 1.18.2: https://github.com/xolox/python-deb-pkg-tools/compare/1.18.1...1.18.2

1.18.1

------------------------------

- Bug fix for last commit (avoid ``AttributeError`` on ``apt_pkg.version_compare``).
- Changed documentation of ``deb_pkg_tools.compat`` module.
- Made doctest examples Python 3.x compatible (``print()`` as function).
- Integrate customized doctest checking in makefile.

.. _Release 1.18.1: https://github.com/xolox/python-deb-pkg-tools/compare/1.18...1.18.1

1.18

----------------------------

Extract version comparison to separate module (with tests).

I wanted to re-use version sorting in several places so it seemed logical to
group the related code together in a new ``deb_pkg_tools.version`` module.
While I was at it I decided to write tests that make sure the results of
``compare_versions_with_python_apt()`` and ``compare_versions_with_dpkg()`` are
consistent with each other and the expected behavior.

.. _Release 1.18: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.7...1.18

1.17.7

------------------------------

Made ``collect_related_packages()`` faster (by splitting ``inspect_package()``).

.. _Release 1.17.7: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.6...1.17.7

1.17.6

------------------------------

Re-implemented ``dpkg_compare_versions()`` on top of ``apt.VersionCompare()``.

.. _Release 1.17.6: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.5...1.17.6

Page 14 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.