diff mbox series

[meta-python,2/3] python3-importlib-metadata: Upgrade 10.1.0 -> 10.2.0

Message ID 20261120172740.3283871-2-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/3] python3-configargparse: Upgrade 1.10.1 -> 1.10.2 | expand

Commit Message

Leon Anavi Nov. 20, 2026, 5:27 p.m. UTC
Upgrade to release 10.2.0:

Features:

- Restored csv, inspect, json, zipfile, _adapters, and
  importlib.metadata to module scope, where a reader can see what
  the module depends on, instead of hiding them in the functions
  that use them for performance. They are declared in
  __lazy_modules__ and so stay deferred, and deferred alike on
  every supported Python: 3.15 honors the declaration natively
  (PEP 810) and earlier Pythons reach the same behavior through
  the lazy-importer backport, which is now a dependency there.

Bugfixes:

- MetadataPathFinder is now installed on sys.meta_path only after
  the module is fully initialized. Previously it was installed
  partway through, so anything walking sys.meta_path during that
  window, such as another thread calling entry_points(), would raise
  NameError: name 'PathDistribution'
- is not defined. An import interrupted in that window left the
  half-built finder installed for the life of the process, failing
  every subsequent lookup.
- Return License-File, Import-Name, and Import-Namespace as lists
  in JSON-compatible metadata, including when only one value is
  present, and retain all repeated values as required by PEP 566.

Improved Documentation:

- Added a caveats page describing how this package and
  importlib.metadata interoperate: the two class hierarchies, the
  protocols both satisfy, and what that asks of consumers and of
  custom providers.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...-metadata_10.1.0.bb => python3-importlib-metadata_10.2.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-importlib-metadata_10.1.0.bb => python3-importlib-metadata_10.2.0.bb} (82%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb b/meta-python/recipes-devtools/python/python3-importlib-metadata_10.2.0.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb
rename to meta-python/recipes-devtools/python/python3-importlib-metadata_10.2.0.bb
index 10ceed1515..cfa517128e 100644
--- a/meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_10.2.0.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=affe5a7d8b988c3db245c01075b29e17"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "82b04047fa09792c1a8cfeddfe08bec79e4b13c29c8469b0d3949860f61017e8"
+SRC_URI[sha256sum] = "9413a2029fd9ca5669d27f1386071bbfe3c7ebca0545692ec975088241fe1d79"
 
 DEPENDS += "python3-setuptools-scm-native python3-coherent-licensed-native"
 RDEPENDS:${PN} += "python3-misc python3-zipp"