pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-packaging



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Apr 17 05:39:40 UTC 2026

Modified Files:
        pkgsrc/devel/py-packaging: Makefile PLIST distinfo

Log Message:
py-packaging: updated to 26.1

26.1 - 2026-04-14

Features:

* PEP 783: add handling for Emscripten wheel tags in
* PEP 803: add handling for the ``abi3.abi3t`` free-threading tag in
* PEP 723: add ``packaging.dependency_groups`` module, based on the ``dependency-groups`` package in
* Add the ``packaging.direct_url`` module in
* Add the ``packaging.errors`` module in
* Add ``SpecifierSet.is_unsatisfiable`` using ranges (new internals that will be expanded in future versions) in
* Add ``create_compatible_tags_selector`` to select compatible tags in
* Add a ``key`` argument to ``SpecifierSet.filter()`` in
* Support ``&`` and ``|`` for ``Marker``'s in
* Normalize ``Version.__replace__`` and add ``Version.from_parts`` in
* Add an option to validate compressed tag set sort order in ``parse_wheel_filename`` in

Behavior adaptations:

* Narrow exclusion of pre-releases for ``<V.postN`` to match spec in
* Narrow exclusion of post-releases for ``>V`` to match spec in
* Rename ``format_full_version`` to ``_format_full_version`` to make it visibly private in
* Restrict local version to ASCII in

Pylock (PEP 751) updates:

* Add pylock ``select`` function in
* Document pylock ``select()`` method and ``PylockSelectError`` in
* Add ``filename`` property to ``PackageSdist`` and ``PackageWheel``, more validation in
* Give preference to path over url in
* Validate name/version consistency in file names in

Fixes:

* Fix ``>`` comparison for versions with dev+local segments in
* Fix incorrect self-comparison for ``InfinityType`` and ``NegativeInfinityType`` in
* Canonicalize when deduplicating specifiers in ``SpecifierSet`` in
* Fix charset error message formatting in
* Handle the ``key`` parameter in ``SpecifierSet.filter`` when specifiers are empty and prerelease is ``False`` in
* Standardize inner components of ``repr`` output in
* ``Specifier``'s ``===`` uses original string, not normalized, when available in
* Propagate int-max-str-digits ``ValueError`` in

Performance:

* Add fast path for parsing simple versions (digits and dots only) in
* Add fast path for ``Version`` to ``Version`` comparison by skipping ``_key`` property in
* Cache ``Version`` hash value in dedicated slot in
* Overhaul ``_cmpkey`` to remove use of custom objects in
* Skip ``__replace__`` in Specifier comparison if not needed in
* ``SpecifierSet`` use ``tuple`` instead of ``frozenset`` for ``_specs`` in
* Speed up complex ``SpecifierSet`` filtering by implementing cost-based ordering in
* Speed up wildcard comparison in
* Stream PEP440 filtering in ``SpecifierSet.filter`` in
* Add ``__slots__`` to ``Marker`` in
* Simply ``Specifier`` regex in
* Skip using the hash property internally in

Internal:

* Add downstream testing in
* Benchmarking suite in
* Benchmark variance reduction in
* Add property-based tests for PEP 440 in
* Clean up a few ``collections.namedtuple`` in tests in
* Do not reload the tags module in tests in
* Limit ``dir()`` / tab-completion in REPL in
* Add more ``__all__`/`__dir__`` in
* Cleanup pre-commit a bit in
* Pin pre-commit file, use dependabot in
* Remove sphinx-toolbox in
* Use docs group, faster readthedocs in
* Add free-threaded Python to CI in
* Simplify combining ``SpecifierSet.prereleases`` in
* Use direct operator methods in ``_compare_compatible`` in
* Remove unnecessary if statement in ``Specifier.prereleases`` in
* Remove unneeded nesting in ``Specifier.prereleases`` in

Documentation:

* Fix documentation: grammar, typos, formatting, and outdated references in
* Fix versionadded for ``Version.from_parts()`` in
* Document ``&`` and ``|`` operators for combining ``Marker`` objects in
* Expand and clean up ``Version`` documentation in
* Move license docs inline in
* Move markers inline in
* Move tags docs to inline in
* Move utilities inline, like other modules in


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-packaging/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-packaging/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-packaging/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-packaging/Makefile
diff -u pkgsrc/devel/py-packaging/Makefile:1.26 pkgsrc/devel/py-packaging/Makefile:1.27
--- pkgsrc/devel/py-packaging/Makefile:1.26     Thu Jan 22 20:20:58 2026
+++ pkgsrc/devel/py-packaging/Makefile  Fri Apr 17 05:39:40 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2026/01/22 20:20:58 adam Exp $
+# $NetBSD: Makefile,v 1.27 2026/04/17 05:39:40 adam Exp $
 
-DISTNAME=      packaging-26.0
+DISTNAME=      packaging-26.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packaging/}

Index: pkgsrc/devel/py-packaging/PLIST
diff -u pkgsrc/devel/py-packaging/PLIST:1.10 pkgsrc/devel/py-packaging/PLIST:1.11
--- pkgsrc/devel/py-packaging/PLIST:1.10        Thu Jan 22 20:20:58 2026
+++ pkgsrc/devel/py-packaging/PLIST     Fri Apr 17 05:39:40 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2026/01/22 20:20:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2026/04/17 05:39:40 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -20,12 +20,18 @@ ${PYSITELIB}/packaging/_musllinux.pyo
 ${PYSITELIB}/packaging/_parser.py
 ${PYSITELIB}/packaging/_parser.pyc
 ${PYSITELIB}/packaging/_parser.pyo
-${PYSITELIB}/packaging/_structures.py
-${PYSITELIB}/packaging/_structures.pyc
-${PYSITELIB}/packaging/_structures.pyo
 ${PYSITELIB}/packaging/_tokenizer.py
 ${PYSITELIB}/packaging/_tokenizer.pyc
 ${PYSITELIB}/packaging/_tokenizer.pyo
+${PYSITELIB}/packaging/dependency_groups.py
+${PYSITELIB}/packaging/dependency_groups.pyc
+${PYSITELIB}/packaging/dependency_groups.pyo
+${PYSITELIB}/packaging/direct_url.py
+${PYSITELIB}/packaging/direct_url.pyc
+${PYSITELIB}/packaging/direct_url.pyo
+${PYSITELIB}/packaging/errors.py
+${PYSITELIB}/packaging/errors.pyc
+${PYSITELIB}/packaging/errors.pyo
 ${PYSITELIB}/packaging/licenses/__init__.py
 ${PYSITELIB}/packaging/licenses/__init__.pyc
 ${PYSITELIB}/packaging/licenses/__init__.pyo

Index: pkgsrc/devel/py-packaging/distinfo
diff -u pkgsrc/devel/py-packaging/distinfo:1.21 pkgsrc/devel/py-packaging/distinfo:1.22
--- pkgsrc/devel/py-packaging/distinfo:1.21     Thu Jan 22 20:20:58 2026
+++ pkgsrc/devel/py-packaging/distinfo  Fri Apr 17 05:39:40 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2026/01/22 20:20:58 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/04/17 05:39:40 adam Exp $
 
-BLAKE2s (packaging-26.0.tar.gz) = a86b6867848e8f444ceb43c98b1ba06d3732362ef48b701d0574829f3fe83be7
-SHA512 (packaging-26.0.tar.gz) = 27a066a7d65ba76189212973b6a0d162f3d361848b1b0c34a82865cf180b3284a837cc34206c297f002a73feae414e25a26c5960bb884a74ea337f582585f1d2
-Size (packaging-26.0.tar.gz) = 143416 bytes
+BLAKE2s (packaging-26.1.tar.gz) = c7d3708382b277e71a40a7b24b2d861df1047ee37c6485b0a483f0199f872df5
+SHA512 (packaging-26.1.tar.gz) = 37dfdc50da2701016ff8caf7053c7d06ed3c8762ed22e43f8001c12b99b00251f960d50e8bfa0294e37069091135ef6006c7b3b92d05fde2b934cf336f0fbe1d
+Size (packaging-26.1.tar.gz) = 215519 bytes



Home | Main Index | Thread Index | Old Index