mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[PR #11495/88adca3f backport][stable-12] python_requirements_info: use importlib.metadata when available (#11496)
python_requirements_info: use importlib.metadata when available (#11495)
Use importlib.metadata when available.
(cherry picked from commit 88adca3fb4)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
4
changelogs/fragments/11492-python_requires_info.yml
Normal file
4
changelogs/fragments/11492-python_requires_info.yml
Normal 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)."
|
||||
Reference in New Issue
Block a user