From 3249ae96149bf7c433f976e02419d0f48a729477 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 24 Apr 2023 14:27:46 -0700 Subject: ansible-test - Limit setuptools version (#80620) --- changelogs/fragments/ansible-test-import-sanity-setuptools.yml | 2 ++ test/lib/ansible_test/_data/requirements/constraints.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/ansible-test-import-sanity-setuptools.yml 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 -- cgit v1.2.1