- update to 24.0:
* Do specifier matching correctly when the specifier contains
an epoch number and has more components than the version
(:issue:`683`)
* Support the experimental --disable-gil builds in
packaging.tags (:issue:`727`)
* BREAKING: Make optional metadata.Metadata attributes default
to None (:issue:`733`)
* Fix errors when trying to access the
description_content_type, keywords, and requires_python
attributes on metadata.Metadata when those values have not
been provided (:issue:`733`)
* Fix a bug preventing the use of the built in ExceptionGroup
on versions of Python that support it (:issue:`725`)
OBS-URL: https://build.opensuse.org/request/show/1158406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=33
* Do specifier matching correctly when the specifier contains
an epoch number and has more components than the version
(:issue:`683`)
* Support the experimental --disable-gil builds in
packaging.tags (:issue:`727`)
* BREAKING: Make optional metadata.Metadata attributes default
to None (:issue:`733`)
* Fix errors when trying to access the
description_content_type, keywords, and requires_python
attributes on metadata.Metadata when those values have not
been provided (:issue:`733`)
* Fix a bug preventing the use of the built in ExceptionGroup
on versions of Python that support it (:issue:`725`)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=78
- Update ot 23.2:
* parse_marker should consume the entire source string in #687
* Create a Security Policy file in #695
* Add python 3.12 to CI in #689
* Remove URL validation from requirement parsing in #684
* Add types for packaging.version._Version in #665
* Add PyPy 3.10 to CI in #699
* Remove unused argument in _manylinux._is_compatible in #700
* Canonicalize names for requirements comparison in #696
* Add platform tag support for LoongArch in #693
* Ability to install armv7l manylinux/musllinux wheels on armv8l in #690
* Include CHANGELOG.rst in sdist in #704
* Update pyupgrade to Python 3.7+ in #580
* Fix version pattern pre-releases in #705
* Fix typos found by codespell in #706
* Support enriched metadata in #686
* Correct rST syntax in CHANGELOG.rst in #709
* fix: platform tag for GraalPy in #711
* Document that this library uses a calendar-based versioning scheme in #717
* fix: Update copyright date for docs in #713
* Bump pip version to avoid known vulnerabilities in #720
* Typing annotations fixed in version.py in #723
* parse_{sdist,wheel}_filename: don't raise InvalidVersion in #721
* Fix code blocks in CHANGELOG.md in #724
OBS-URL: https://build.opensuse.org/request/show/1124436
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=76
- update to 23.1
* chore: add typed classifier
* Improve parser error messaging around mistakes in/around
version specifiers
* Upgrade to latest mypy
* Delete print() from test_tags
* Update our linters
* Improve error for local version label with unsupported operators
* Parse raw metadata
* Handle prefix match with zeros at end of prefix correctly
* Relax typing of _key on _BaseVersion
* Replace spaces in platform names with underscores
* Import underlying parser function as an underscored variable
OBS-URL: https://build.opensuse.org/request/show/1079575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=29
* chore: add typed classifier
* Improve parser error messaging around mistakes in/around
version specifiers
* Upgrade to latest mypy
* Delete print() from test_tags
* Update our linters
* Improve error for local version label with unsupported operators
* Parse raw metadata
* Handle prefix match with zeros at end of prefix correctly
* Relax typing of _key on _BaseVersion
* Replace spaces in platform names with underscores
* Import underlying parser function as an underscored variable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=70
- Update to v23.0
* Remove unused LPAREN token from tokenizer by @hrnciar in #630
* Reorganise the project layout and version management by
@pradyunsg in #626
* Correctly handle non-normalised specifiers in requirements by
@pradyunsg in #634
* Use stable Python 3.11 in tests by @153957 in #641
* Fix typing for specifiers.BaseSpecifier.filter() by @henryiii
in #643
* Correctly handle trailing whitespace on URL requirements by
@pradyunsg in #642
* refactor _generic_api to use EXT_SUFFIX by @mattip in #607
* Allow "extra" to be None in the marker environment by
@pradyunsg in #650
* Fix typos by @kianmeng in #648
* Update changelog for release by @pradyunsg in #656
OBS-URL: https://build.opensuse.org/request/show/1058267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=66
- Update to v22.0
* Fix compatible version specifier incorrectly strip trailing '0'
by @kasium in #493
* Remove support for Python 3.6 by @abravalheri in #500
* Use concurrency limit in ci by @blink1073 in #510
* Fix issue link in changelog. by @bdice in #509
* chore: test with PyPy 3.8 & 3.9 by @mayeut in #512
* Accept locally installed prereleases by @q0w in #515
* Always run GHA workflows when they change by @mayeut in #516
* Add __hash__/__eq__ to requirements by @abravalheri in #499
* Upgrade to setup-python v3 and use caching for GHA by
@brettcannon in #521
* allow pre-release versions in marker evaluation by @graingert
in #523
* Error out from workflow on missing interpreter by @mayeut in
#525
* chore: update pre-commit config to the latest repos' versions
by @mayeut in #534
* chore: remove Windows PyPy 3.9 workaround on GHA by @mayeut in
#533
* Use pipx to run nox / build in GHA workflows by @mayeut in #517
* Run tests with all PyPy versions locally by @mayeut in #535
* Adhere to PEP 685 when evaluating markers with extras by
@hroncok in #545
* chore: update mypy and move to toml by @henryiii in #547
* Normalize extra comparison in markers for output by
@brettcannon in #549
* Evaluate markers under environment with empty "extra" by
@MrMino in #550
* Do not set extra in default_environment() by @sbidoul in #554
OBS-URL: https://build.opensuse.org/request/show/1045815
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=64
* Update documentation entry for 21.1.
* Update pin to pyparsing to exclude 3.0.0.
* PEP 656: musllinux support
* Drop support for Python 2.7, Python 3.4 and Python 3.5.
* Replace distutils usage with sysconfig
* Add support for zip files in ``parse_sdist_filename``
* Use cached ``_hash`` attribute to short-circuit tag equality comparisons
* Specify the default value for the ``specifier`` argument to ``SpecifierSet``
* Proper keyword-only "warn" argument in packaging.tags
* Correctly remove prerelease suffixes from ~= check
* Fix type hints for ``Version.post`` and ``Version.dev``
* Use typing alias ``UnparsedVersion``
* Improve type inference for ``packaging.specifiers.filter()``
* Tighten the return type of ``canonicalize_version()``
- drop no-legacyversion-warning.patch: setuptools has been updated
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=50
- update to 20.8:
* Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`)
* Do not insert an underscore in wheel tags when the interpreter version number
is more than 2 digits (:issue:`372`)
* Fix flit configuration, to include LICENSE files (:issue:`357`)
* Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (:issue:`361`)
* Add some missing type hints to `packaging.requirements` (issue:`350`)
* Officially support Python 3.9 (:issue:`343`)
* Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`)
* Handle ``OSError`` on non-dynamic executables when attempting to resolve
the glibc version string.
OBS-URL: https://build.opensuse.org/request/show/857114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=18
* Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`)
* Do not insert an underscore in wheel tags when the interpreter version number
is more than 2 digits (:issue:`372`)
* Fix flit configuration, to include LICENSE files (:issue:`357`)
* Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (:issue:`361`)
* Add some missing type hints to `packaging.requirements` (issue:`350`)
* Officially support Python 3.9 (:issue:`343`)
* Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`)
* Handle ``OSError`` on non-dynamic executables when attempting to resolve
the glibc version string.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=44
- add issue_254.patch to fix tests under non-x86_64 pplatforms
- Update to 20.1
* Fix a bug caused by reuse of an exhausted iterator.
* Add type hints
* Add proper trove classifiers for PyPy support
* Scale back depending on ctypes for manylinux support detection
* Use sys.implementation.name where appropriate for packaging.tags
* Expand upon the API provded by packaging.tags
* Officially support Python 3.8
* Add major, minor, and micro aliases to packaging.version.Version
* Properly mark packaging has being fully typed by adding a py.typed file
OBS-URL: https://build.opensuse.org/request/show/773191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=14
* Fix a bug caused by reuse of an exhausted iterator.
* Add type hints
* Add proper trove classifiers for PyPy support
* Scale back depending on ctypes for manylinux support detection
* Use sys.implementation.name where appropriate for packaging.tags
* Expand upon the API provded by packaging.tags
* Officially support Python 3.8
* Add major, minor, and micro aliases to packaging.version.Version
* Properly mark packaging has being fully typed by adding a py.typed file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=35