mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
python_requirements_info: use importlib.metadata when available (#11495)
Use importlib.metadata when available.
This commit is contained in:
parent
63ddca7f21
commit
88adca3fb4
3 changed files with 34 additions and 12 deletions
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)."
|
||||
Loading…
Add table
Add a link
Reference in a new issue