Files
meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_10.2.0.bb
T
Leon Anavi 98165814d7 python3-importlib-metadata: Upgrade 10.1.0 -> 10.2.0
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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-20 09:35:26 -08:00

14 lines
492 B
BlitzBasic

SUMMARY = "Read metadata from Python packages"
HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=affe5a7d8b988c3db245c01075b29e17"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "9413a2029fd9ca5669d27f1386071bbfe3c7ebca0545692ec975088241fe1d79"
DEPENDS += "python3-setuptools-scm-native python3-coherent-licensed-native"
RDEPENDS:${PN} += "python3-misc python3-zipp"
BBCLASSEXTEND = "native nativesdk"