mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Remove runtime usage of pkg_resources.
This should provide a startup time speed boost at the expense of making it harder to get ansible to use newer versions of packages than are provided by the platform.
This commit is contained in:
8
changelogs/fragments/drop-pkg_resources.yaml
Normal file
8
changelogs/fragments/drop-pkg_resources.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Drop the use of pkg_resources. Importing pkg_resources was the costliest
|
||||
part of startup time for Ansible. pkg_resources was used so that platforms
|
||||
with old versions of PyCrypto and Jinja2 could use parallel installed,
|
||||
updated versions. Since we no longer support Python-2.6 on the controller
|
||||
side, we no longer have to support parallel installation to work around
|
||||
those old stacks.
|
||||
Reference in New Issue
Block a user