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
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
4 years ago
..
ansible_test ansible-test - Move code from _data to _util. (#75495) 4 years ago
integration Test integration of loop and until options (#44927) 4 years ago
lib/ansible_test Update collection loader for Python 3.10 (#76225) 4 years ago
sanity ansible-test - Update import test and sanity requirements. (#76308) 4 years ago
support ansible-test pssa update and new rules (#76256) 4 years ago
units Fix ansible-doc -l ansible.builtin / ansible.legacy (#76235) 4 years ago
utils/shippable Fix Windows CI scripts. 4 years ago