summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-04-24 14:27:46 -0700
committerGitHub <noreply@github.com>2023-04-24 14:27:46 -0700
commit3249ae96149bf7c433f976e02419d0f48a729477 (patch)
tree10679f80899c7151a7a4cf5298552cafddcc5901
parent214819df32b0e110485888a181109ae3f6a43fe8 (diff)
downloadansible-stable-2.9.tar.gz
ansible-test - Limit setuptools version (#80620)stable-2.9
-rw-r--r--changelogs/fragments/ansible-test-import-sanity-setuptools.yml2
-rw-r--r--test/lib/ansible_test/_data/requirements/constraints.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-import-sanity-setuptools.yml b/changelogs/fragments/ansible-test-import-sanity-setuptools.yml
new file mode 100644
index 0000000000..0b20741592
--- /dev/null
+++ b/changelogs/fragments/ansible-test-import-sanity-setuptools.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test - Avoid upcoming ``setuptools`` breaking changes by limiting the version installed.
diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt
index deab031e1d..eec96f38f1 100644
--- a/test/lib/ansible_test/_data/requirements/constraints.txt
+++ b/test/lib/ansible_test/_data/requirements/constraints.txt
@@ -45,6 +45,7 @@ MarkupSafe < 2.0.0 ; python_version < '3.6' # MarkupSafe >= 2.0.0. requires Pyth
MarkupSafe < 2.1.0 ; python_version >= '3.6' # MarkupSafe 2.1.0 and later require setuptools 39.2+ or installation from a wheel, which not all environments support
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 <= 67.7.2 ; python_version >= '3.5' # avoid future breaking changes with setuptools
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
certifi < 2020.4.5.2 ; python_version < '3' # version 2020.4.5.2 drops support for python 2