mirror of https://github.com/ansible/ansible.git
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.
74a103d655
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 | 5 years ago | |
completion | 4 years ago | |
injector | 5 years ago | |
playbooks | 5 years ago | |
pytest/plugins | 4 years ago | |
requirements | 4 years ago | |
sanity | 4 years ago | |
setup | 4 years ago | |
ansible.cfg | 5 years ago | |
collection_detail.py | 5 years ago | |
coveragerc | 5 years ago | |
cryptography-constraints.txt | 5 years ago | |
inventory | 5 years ago | |
pytest.ini | 4 years ago | |
quiet_pip.py | 5 years ago | |
versions.py | 5 years ago | |
virtualenvcheck.py | 5 years ago | |
yamlcheck.py |