diff options
author | Sam Doran <sdoran@redhat.com> | 2021-09-07 16:19:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 13:19:16 -0700 |
commit | 5faae7f464dc7c60ed3a416656ce0144ff94125b (patch) | |
tree | ce15e67f9a1a31fc3944a55d4f25334a2a4c44ed | |
parent | 19261a7bedc58ad75a5e1781c1c8b3ebdc582a63 (diff) | |
download | ansible-5faae7f464dc7c60ed3a416656ce0144ff94125b.tar.gz |
[stable-2.9] Add additional constraint for `setuptools` (#75651)
The recent release of setuptools 58.0.2 breaks installation of coverage since
it references the 'use_2to3' feature.
-rw-r--r-- | changelogs/fragments/setuptools-constraint.yml | 5 | ||||
-rw-r--r-- | test/lib/ansible_test/_data/requirements/constraints.txt | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/setuptools-constraint.yml b/changelogs/fragments/setuptools-constraint.yml new file mode 100644 index 0000000000..948f24163e --- /dev/null +++ b/changelogs/fragments/setuptools-constraint.yml @@ -0,0 +1,5 @@ +bugfixes: + - >- + ansible_test - add additional constraint for ``setuptools`` on Python >= 3.5 due to a bug + in the recently released version of ``setuptools`` related to the 'use_2to3' feature + (https://github.com/ansible/ansible/pull/75651) diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt index 611a198129..8a9ed6d910 100644 --- a/test/lib/ansible_test/_data/requirements/constraints.txt +++ b/test/lib/ansible_test/_data/requirements/constraints.txt @@ -42,6 +42,7 @@ pyone == 1.1.9 # newer versions do not pass current integration tests MarkupSafe < 2.0.0 ; python_version < '3.6' # MarkupSafe >= 2.0.0. requires Python >= 3.6 botocore >= 1.10.0 # adds support for the following AWS services: secretsmanager, fms, and acm-pca setuptools < 45 ; python_version <= '2.7' # setuptools 45 and later require python 3.5 or later +setuptools < 58.0.2 ; python_version >= '3.5' # setuptools 58.0.2 breaks installation of packages, such as coverage, that reference the 'use_2to3' feature cffi != 1.14.4 # Fails on systems with older gcc. Should be fixed in the next release. https://foss.heptapod.net/pypy/cffi/-/issues/480 websocket-client < 1 ; python_version < '3' # version 1.0.0 drops support for python 2 |