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/_data/requirements
Matt Martz 56d142350d
Add support for importlib.resources (#78915)
* Add support for importlib.resources

* Remove the importlib.resources imports

* return the correct data

* Some code comments, and re-order for consistency

* Disallow traversing packages below an individual collection

* Add a traversable class for namespaces

* Re-use variable

* Utilize itertools.chain.from_iterable

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Simplify logic to check for packages from ansible loaders

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Just a generator expression, instead of a generator

* docstrings

* Add comment about find_spec for our namespaces

* Add some initial unit tests for importlib.resources

* normalize

* Utilize importlib.resources for listing collections

* collections_path is already in config, just use config

* install uses a different default for collections_path

* Remove unused import

* Remove duplicate __truediv__

* Bring back TraversableResources

* Apply some small suggestions from code review

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>

* Remove cross contamination between plugin loader code and CLI code

* Remove unused import

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
2 years ago
..
ansible-test.txt ansible-test - Update coverage to version 6.5.0. 2 years ago
ansible.txt Add support for importlib.resources (#78915) 2 years ago
constraints.txt Restrict `wheel` below v0.38.0 under Pythons < 3.7 (#79187) 2 years ago
sanity.ansible-doc.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.ansible-doc.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.changelog.in ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.changelog.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.import.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.import.plugin.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.import.plugin.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.import.txt ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.integration-aliases.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.integration-aliases.txt ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.mypy.in ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.mypy.txt ansible-test - Update Python 3.11 support. (#78840) 2 years ago
sanity.pep8.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.pep8.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.pslint.ps1 ansible-test - Update PSScriptAnalyzer to 1.21.0 2 years ago
sanity.pylint.in ansible-test - Fix pylint support on Python 3.11. 2 years ago
sanity.pylint.txt ansible-test - Fix pylint support on Python 3.11. 2 years ago
sanity.runtime-metadata.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.runtime-metadata.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.validate-modules.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.validate-modules.txt ansible-test - Update sanity test requirements. (#78528) 2 years ago
sanity.yamllint.in ansible-test - Update import test and sanity requirements. (#76308) 3 years ago
sanity.yamllint.txt ansible-test - Update Python 3.11 support. (#78840) 2 years ago
units.txt ansible-test - Use `--forked` instead of `--boxed` 3 years ago
windows-integration.txt ansible-test - split controller/target testing (#75605) 3 years ago