mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
python_requirements_info: use importlib.metadata when available (#11495)
Use importlib.metadata when available.
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