mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Update default ansible-test docker container. (#37644)
* Limit cryptography version for Python 2.6 tests. * Specify pip list format to eliminate warning.
This commit is contained in:
@@ -48,7 +48,7 @@ for python_version in "${python_versions[@]}"; do
|
||||
|
||||
echo "==> Checking for requirements conflicts for ${python_version} ..."
|
||||
|
||||
after=$("pip${python_version}" list)
|
||||
after=$("pip${python_version}" list --format=legacy)
|
||||
|
||||
for requirement in "${version_requirements[@]}"; do
|
||||
before="${after}"
|
||||
@@ -57,7 +57,7 @@ for python_version in "${python_versions[@]}"; do
|
||||
"pip${python_version}" install --disable-pip-version-check -c constraints.txt -r "${requirement}"
|
||||
set +x
|
||||
|
||||
after=$("pip${python_version}" list)
|
||||
after=$("pip${python_version}" list --format=legacy)
|
||||
|
||||
if [ "${before}" != "${after}" ]; then
|
||||
echo "==> Conflicts detected in requirements for python ${python_version}: ${requirement}"
|
||||
|
||||
Reference in New Issue
Block a user