mirror of https://github.com/ansible/ansible.git
Fix collection loader iterator for ext modules
Fixes the collection loader iter_modules logic to return compiled Python extension modules. This loader is used when attempting to call `pkgutil.iter_modules` on a package that is contained inside the `ansible_collections` path. Before extension modules were skipped which would break imports of 3rd party modules that used compiled extensions if it was installed in a Python environment located inside a collection.pull/84758/head
parent
250610b924
commit
27df905b2c
@ -0,0 +1,6 @@
|
||||
bugfixes:
|
||||
- >-
|
||||
collection loader - Fix the collection loader logic to correctly return Python module when calling
|
||||
``pkgutil.iter_modules`` with a package that is inside a collection path and contains compiled Python extension
|
||||
modules.
|
||||
|
||||
Loading…
Reference in New Issue