Packaging2

Latest version: v21.4

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

Scan your dependencies

Page 4 of 7

18.0

~~~~~~~~~~~~~~~~~

* Improve error messages when invalid requirements are given. (`129 <https://github.com/pypa/packaging/issues/129>`__)

17.1

~~~~~~~~~~~~~~~~~

* Fix ``utils.canonicalize_version`` when supplying non PEP 440 versions.

17.0

~~~~~~~~~~~~~~~~~

* Drop support for python 2.6, 3.2, and 3.3.

* Define minimal pyparsing version to 2.0.2 (`91 <https://github.com/pypa/packaging/issues/91>`__).

* Add ``epoch``, ``release``, ``pre``, ``dev``, and ``post`` attributes to
``Version`` and ``LegacyVersion`` (`34 <https://github.com/pypa/packaging/issues/34>`__).

* Add ``Version().is_devrelease`` and ``LegacyVersion().is_devrelease`` to
make it easy to determine if a release is a development release.

* Add ``utils.canonicalize_version`` to canonicalize version strings or
``Version`` instances (`121 <https://github.com/pypa/packaging/issues/121>`__).

16.8

~~~~~~~~~~~~~~~~~

* Fix markers that utilize ``in`` so that they render correctly.

* Fix an erroneous test on Python RC releases.

16.7

~~~~~~~~~~~~~~~~~

* Add support for the deprecated ``python_implementation`` marker which was
an undocumented setuptools marker in addition to the newer markers.

16.6

~~~~~~~~~~~~~~~~~

* Add support for the deprecated, PEP 345 environment markers in addition to
the newer markers.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.