You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/lib/ansible_test/_internal
Sloane Hertel b50f16db91
Update collection loader for Python 3.10 (#76225)
* Implement find_spec and exec_module to remove reliance on deprecated methods in the collection loader

ci_complete

* Move module execution to exec_module

Remove extra sys.modules handling

Use default module initialization by returning None from loader.create_module

Refactor

ci_complete

* Remove ansible-test's copy of the collection loader

ci_complete

* Fix metaclass for Python 2.x

ci_complete

* Fix Py2/Py3 syntax compatibility

* Refactor

ci_complete

* update collection_loader comments

ci_complete

* simplify find_module

ci_complete

* Fix Py2 compatibility - don't get loader from nonexistent spec

Remove unnecessary PY3 checking

* Refactor common code in load_module and exec_module

ci_complete

* tidy diff

ci_complete

* Include collection_loader in target paths for 'compile' sanity test

* add changelog

* Add "return None" instead of doing it implicitly

Remove get_filename

short-circuit exec_module if it's a redirect

ci_complete
3 years ago
..
ci
classification Update collection loader for Python 3.10 (#76225) 3 years ago
cli Modernize install (#76021) 3 years ago
commands Update collection loader for Python 3.10 (#76225) 3 years ago
compat
provider
__init__.py Modernize install (#76021) 3 years ago
ansible_util.py Require Jinja2 3.0.0 (#75881) 3 years ago
become.py
bootstrap.py
cache.py
completion.py
config.py
connections.py
constants.py Modernize install (#76021) 3 years ago
containers.py Overhaul ansible-test integration tests. (#76111) 3 years ago
content_config.py
core_ci.py
coverage_util.py
data.py
delegation.py
diff.py
docker_util.py fix support containers under podman (#76292) 3 years ago
encoding.py
executor.py
git.py
host_configs.py
host_profiles.py ansible-test - Fix inventory generation. 3 years ago
http.py
init.py
inventory.py ansible-test - Fix inventory generation. 3 years ago
io.py
junit_xml.py
metadata.py
payload.py
provisioning.py
pypi_proxy.py
python_requirements.py Overhaul ansible-test integration tests. (#76111) 3 years ago
ssh.py
target.py
test.py
thread.py
timeout.py
util.py
util_common.py
venv.py