1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-21 20:59:10 +00:00

python_requirements_info: use importlib.metadata when available (#11495)

Use importlib.metadata when available.
This commit is contained in:
Felix Fontein 2026-02-10 22:44:06 +01:00 committed by GitHub
parent 63ddca7f21
commit 88adca3fb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 34 additions and 12 deletions

View file

@ -0,0 +1,4 @@
bugfixes:
- "python_requirements_info - use ``importlib.metadata`` if ``pkg_resources`` from ``setuptools`` cannot be imported.
That module has been removed from setuptools 82.0.0
(https://github.com/ansible-collections/community.general/issues/11491, https://github.com/ansible-collections/community.general/pull/11492)."