importlib_metadata icon indicating copy to clipboard operation
importlib_metadata copied to clipboard

Backport of the importlib.metadata module

Results 37 importlib_metadata issues
Sort by recently updated
recently updated
newest added

* The first problem is almost certainly a bug, the annotation for `__getitem__` says it returns a `str` but it returns `None` if the metadata doesn't exist. https://github.com/python/importlib_metadata/blob/v4.11.2/importlib_metadata/_meta.py#L15 For example:...

Hello, I manage a project using poetry and since importlib-metadata `6.5.1` my install has been failing with the following error. I'm trying to install an updated version of `ansible` while...

I'm not sure where best to post this, but I hit the `KeyError` in the wild on some projects that are quite good at keeping up with python best practices....

zipp vulnerability issue CVE-2024-5569 caused by `importlib-metadata`. https://github.com/advisories/GHSA-jfmj-5v4g-7637 Patched zipp version is 3.19.1. We are using Python 3.11.0, importlib-metadata is calling zipp-3.15.0. We even tried to use the latest version...

To address [CVE-2024-5569](https://github.com/advisories/GHSA-jfmj-5v4g-7637) vulnerability issue, updated zipp version. Related git issue: https://github.com/python/importlib_metadata/issues/495

In https://github.com/python/importlib_metadata/issues/489#issuecomment-2195177710, I learned that `Distribution.metadata` will return an empty `PackageMetadata` even when there is no metadata file present. Although not part of the recommended operating practice, it seems to...

Since https://github.com/python/importlib_metadata/pull/449 trying to use missing extras raises AssertionErrors. I believe that invalid inputs should never raise AssertionErrors (neither should asserts be used to validate user input). Observe on Python...

I'm not is it intentional but pytest executed with source tree settings is scanning exercises.py and it fails in units found int that file Here is summary pytest output: ```console...

Maybe you need or want to update the Compatibility table in the README to include v8.x? Also I looked at the releases page, but I didn't saw anything related to...