summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-06-10 10:45:17 -0700
committerGitHub <noreply@github.com>2022-06-10 10:45:17 -0700
commit06886f09c5c05a93337637028ba9e7670c8e0493 (patch)
tree592f4c34ae9f71ea2e9776464b85334544434b37
parenteb9e74eebafc08f5b19138275d9bf4ed49d40999 (diff)
downloadansible-06886f09c5c05a93337637028ba9e7670c8e0493.tar.gz
ansible-test - Add requests constraint. (#78032)
-rw-r--r--changelogs/fragments/ansible-test-requests-constraint.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-requests-constraint.yml b/changelogs/fragments/ansible-test-requests-constraint.yml
new file mode 100644
index 0000000000..5374e08063
--- /dev/null
+++ b/changelogs/fragments/ansible-test-requests-constraint.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test - Add constraint for ``requests < 2.28.0`` for Python 3.6 and earlier.
diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt
index 5c649be074..deab031e1d 100644
--- a/test/lib/ansible_test/_data/requirements/constraints.txt
+++ b/test/lib/ansible_test/_data/requirements/constraints.txt
@@ -24,6 +24,7 @@ pytest-forked < 1.0.2 ; python_version < '2.7' # pytest-forked 1.0.2 and later r
pytest-forked >= 1.0.2 ; python_version >= '2.7' # pytest-forked before 1.0.2 does not work with pytest 4.2.0+ (which requires python 2.7+)
ntlm-auth >= 1.3.0 # message encryption support using cryptography
requests < 2.20.0 ; python_version < '2.7' # requests 2.20.0 drops support for python 2.6
+requests < 2.28.0 ; python_version >= '2.7' and python_version <= '3.6' # requests 2.28.0 drops support for python 2.7 and 3.6
requests-ntlm >= 1.1.0 # message encryption support
requests-credssp >= 0.1.0 # message encryption support
voluptuous >= 0.11.0 # Schema recursion via Self