Deb-pkg-tools

Latest version: v8.3

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

Scan your dependencies

Page 15 of 25

1.17.5

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

Moved Python 2.x / 3.x compatibility functions to a separate module.

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

1.17.4

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

- Made pretty print tests compatible with Python 3.x.
- Removed ``binutils`` and ``tar`` dependencies (these are no longer needed
since the ``inspect_package()`` function now uses the ``dpkg-deb`` command).

.. _Release 1.17.4: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.3...1.17.4

1.17.3

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

- Cleanup pretty printer, remove monkey patching hack, add tests.
- Dedent string passed to ``deb822_from_string()`` (nice to use in tests).

.. _Release 1.17.3: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.2...1.17.3

1.17.2

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

- Bug fix for output of ``deb-pkg-tools --inspect ...`` (broken in Python 3.x
compatibility spree).
- Monkey patch pprint so it knows how to 'pretty print' ``RelationshipSet``
(very useful to verify docstrings containing doctest blocks).
- Improved test coverage of ``deb_pkg_tools.package.PackageFile.__lt__()``.

.. _Release 1.17.2: https://github.com/xolox/python-deb-pkg-tools/compare/1.17.1...1.17.2

1.17.1

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

- Bug fix for ``deb_pkg_tools.deps.parse_relationship()``.
- Bug fix for ``inspect_package()`` (hard links weren't recognized).
- Added ``deb_pkg_tools.control.deb822_from_string()`` shortcut.
- Various bug fixes for Python 2.6 and 3.x compatibility:

- Bumped ``python-debian`` requirement to ``0.1.21-nmu2`` for Python 3.x compatibility
- Changed ``logger.warn()`` to ``logger.warning()`` (the former is deprecated).
- Fixed missing ``str_compatible`` decorator (Python 3.x compatibility).

.. _Release 1.17.1: https://github.com/xolox/python-deb-pkg-tools/compare/1.17...1.17.1

1.17

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

Added ``collect_related_packages()`` function and ``deb-pkg-tools --collect``
command line interface.

.. _Release 1.17: https://github.com/xolox/python-deb-pkg-tools/compare/1.16...1.17

Page 15 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.