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
Tadej Borovšak 74a103d655 Remove em dash from the pytest configuration file
On some systems (tested with official Debian Buster-based Python 3.6
docker image), setting the LC_ALL environment variable to en_US.UTF-8
will trigger Python into switching its preferred encoding to ASCII.
If any python process tries to read a non-ASCII file in this scenario,
it will terminate with an error.

And this is exactly what happens to pytest when it tries to load its
configuration that ansible-test supplies because the configuration
contains an em dash.

In order to bypass this issue, we replaced the em dash with a regular
dash and things started working again.

An alternative solution would be to replace the en_US.UTF-8 locale with
something safer, but unfortunately, the en_US.UTF-8 is probably as safe
as it gets.
4 years ago
..
cli Prepare ansible-test for inclusion in setup.py (#60294) 5 years ago
completion [tests] Bump container versions (#71518) 4 years ago
injector Code cleanup in ansible-test. 4 years ago
playbooks Internally redirect win modules to collection name (#68317) 5 years ago
pytest/plugins fix collection package root location under pytest >=6.0.0 (#70963) 4 years ago
requirements Force an upgrade to a newer version of antsibull 4 years ago
sanity Add support for non-yaml EXAMPLES (#71184) 4 years ago
setup Support macOS 10.15 for ansible-test --remote. 4 years ago
ansible.cfg Update ansible-test integration config handling. (#60448) 5 years ago
collection_detail.py Add deprecated removed_in_version and deprecated_aliases version tests (#66920) 4 years ago
coveragerc Move ansible-test coverage config to test/lib/ 5 years ago
cryptography-constraints.txt Fix ansible-test requirements installation. 5 years ago
inventory Update ansible-test collection inventory handling. (#61031) 5 years ago
pytest.ini Remove em dash from the pytest configuration file 4 years ago
quiet_pip.py Fix ansible-test pip filter on Fedora 32. 4 years ago
versions.py Ignore warnings in ansible-test environment check. 5 years ago
virtualenvcheck.py Work around virtualenv/venv issue in ansible-test. (#62111) 5 years ago
yamlcheck.py Relocate ansible-test code. (#60147) 5 years ago