pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-importlib-metadata
Module Name: pkgsrc
Committed By: wiz
Date: Mon Oct 26 18:23:11 UTC 2026
Modified Files:
pkgsrc/devel/py-importlib-metadata: Makefile PLIST distinfo
Log Message:
py-importlib-metadata: update to 10.1.0.
v10.1.0
=======
Features
--------
- Detecting whether a distribution supplies metadata no longer reads or parses
that metadata where the metadata directory can be inspected instead, so
retrieving a distribution by name, which prefers the valid candidates, is
substantially faster.
- Reverted the preference for the greater metadata directory added in v9.1.0.
The ordering was lexicographic on the directory name and not on the parsed
version, so it only approximated a preference for the newer version. Where a
path supplies more than one metadata directory for a distribution, discovery
once again reports them in the order the path supplies
(python/cpython#100666).
Bugfixes
--------
- ``entry_points()`` now prefers distributions whose metadata is readable, so
an empty metadata directory left behind by an unclean upgrade no longer
shadows the valid one of the same name and suppresses its entry points.
Invalid distributions are deferred to the end of the enumeration rather than
dropped. (#534)
- The preference for valid distributions no longer propagates the
``MetadataNotFound`` of a distribution that a provider derived from
``importlib.metadata``, whose exception is a different class from this
package's and so escaped the preference rather than marking the distribution
invalid.
v10.0.0
=======
Features
--------
- Added ``IDistribution`` and ``IPackagePath`` protocols so consumers
can target a stable, shared interface across ``importlib.metadata``
and ``importlib_metadata``. A provider supplying its own ``Distribution``
subclass is warned about only when the class omits members that
interface requires, not merely because it derives from
``importlib.metadata``. ``origin`` is exempt from that expectation
until support for Python 3.12 is dropped, as there is none to
inherit before Python 3.13. (#486)
Deprecations and Removals
-------------------------
- When providers supply objects from ``importlib.metadata``, they
are now adapted to the classes from ``importlib_metadata``. (#486)
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/devel/py-importlib-metadata/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-importlib-metadata/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/py-importlib-metadata/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-importlib-metadata/Makefile
diff -u pkgsrc/devel/py-importlib-metadata/Makefile:1.57 pkgsrc/devel/py-importlib-metadata/Makefile:1.58
--- pkgsrc/devel/py-importlib-metadata/Makefile:1.57 Fri Oct 23 05:25:35 2026
+++ pkgsrc/devel/py-importlib-metadata/Makefile Mon Oct 26 18:23:11 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2026/10/23 05:25:35 adam Exp $
+# $NetBSD: Makefile,v 1.58 2026/10/26 18:23:11 wiz Exp $
-DISTNAME= importlib_metadata-9.1.0
+DISTNAME= importlib_metadata-10.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib-metadata/}
@@ -20,8 +20,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-perf>
USE_LANGUAGES= # none
-# as of 9.0.0
-# 1 failed, 119 passed
+# as of 10.1.0
+# 1 failed, 146 passed, 1 skipped
# but all fine after 'make install'
.include "../../lang/python/wheel.mk"
Index: pkgsrc/devel/py-importlib-metadata/PLIST
diff -u pkgsrc/devel/py-importlib-metadata/PLIST:1.13 pkgsrc/devel/py-importlib-metadata/PLIST:1.14
--- pkgsrc/devel/py-importlib-metadata/PLIST:1.13 Thu Mar 26 14:39:12 2026
+++ pkgsrc/devel/py-importlib-metadata/PLIST Mon Oct 26 18:23:11 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2026/03/26 14:39:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2026/10/26 18:23:11 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -13,9 +13,12 @@ ${PYSITELIB}/importlib_metadata/_adapter
${PYSITELIB}/importlib_metadata/_collections.py
${PYSITELIB}/importlib_metadata/_collections.pyc
${PYSITELIB}/importlib_metadata/_collections.pyo
-${PYSITELIB}/importlib_metadata/_compat.py
-${PYSITELIB}/importlib_metadata/_compat.pyc
-${PYSITELIB}/importlib_metadata/_compat.pyo
+${PYSITELIB}/importlib_metadata/_compat/__init__.py
+${PYSITELIB}/importlib_metadata/_compat/__init__.pyc
+${PYSITELIB}/importlib_metadata/_compat/__init__.pyo
+${PYSITELIB}/importlib_metadata/_compat/localize.py
+${PYSITELIB}/importlib_metadata/_compat/localize.pyc
+${PYSITELIB}/importlib_metadata/_compat/localize.pyo
${PYSITELIB}/importlib_metadata/_context.py
${PYSITELIB}/importlib_metadata/_context.pyc
${PYSITELIB}/importlib_metadata/_context.pyo
@@ -37,6 +40,9 @@ ${PYSITELIB}/importlib_metadata/compat/_
${PYSITELIB}/importlib_metadata/compat/py311.py
${PYSITELIB}/importlib_metadata/compat/py311.pyc
${PYSITELIB}/importlib_metadata/compat/py311.pyo
+${PYSITELIB}/importlib_metadata/compat/py312.py
+${PYSITELIB}/importlib_metadata/compat/py312.pyc
+${PYSITELIB}/importlib_metadata/compat/py312.pyo
${PYSITELIB}/importlib_metadata/diagnose.py
${PYSITELIB}/importlib_metadata/diagnose.pyc
${PYSITELIB}/importlib_metadata/diagnose.pyo
Index: pkgsrc/devel/py-importlib-metadata/distinfo
diff -u pkgsrc/devel/py-importlib-metadata/distinfo:1.39 pkgsrc/devel/py-importlib-metadata/distinfo:1.40
--- pkgsrc/devel/py-importlib-metadata/distinfo:1.39 Fri Oct 23 05:25:35 2026
+++ pkgsrc/devel/py-importlib-metadata/distinfo Mon Oct 26 18:23:11 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2026/10/23 05:25:35 adam Exp $
+$NetBSD: distinfo,v 1.40 2026/10/26 18:23:11 wiz Exp $
-BLAKE2s (importlib_metadata-9.1.0.tar.gz) = 532a77a07ffe0c802065ea87bd33e21545080c544d09d6bd5a2297d182674ac4
-SHA512 (importlib_metadata-9.1.0.tar.gz) = 52bbe69123ba9b5a2096d024b32b89a90ef76a4336750385d10f828a5b5d685c62396e471cb9b1f9672c588b0010e06622acf892102375bc3ad7a3a4c32778ce
-Size (importlib_metadata-9.1.0.tar.gz) = 62078 bytes
+BLAKE2s (importlib_metadata-10.1.0.tar.gz) = 4ceded114f5cb873b62e6dd41a8083cb1c0de09235f36d946da4e1ad5c8da4a4
+SHA512 (importlib_metadata-10.1.0.tar.gz) = cca579161b58afab032c0143f97374174ccb81c29a2167f8621c2bfc72ba0822a282f10529d9069eece03ca40772328afd189ebd0e3642f1c4a6fcb64350287e
+Size (importlib_metadata-10.1.0.tar.gz) = 67761 bytes
Home |
Main Index |
Thread Index |
Old Index