From e3eb919b14599196f7b6816db30a77caa7830a71 Mon Sep 17 00:00:00 2001 From: "Mitch Harding (the weird one)" Date: Fri, 8 Nov 2024 10:55:29 -0500 Subject: [PATCH] CASMPET-7270: Remove RPM dependency on requests-retry-session --- constraints.txt | 1 + csm-testing.spec | 4 ---- requirements.txt | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/constraints.txt b/constraints.txt index 4f19a316..176a43e9 100644 --- a/constraints.txt +++ b/constraints.txt @@ -3,4 +3,5 @@ charset-normalizer>=2.0.12,<2.1 colorama>=0.4.5,<0.5 idna>=2.6,<2.7 PyYAML>=6.0.1,<6.1 +requests-retry-session>=0.1,<0.2 urllib3>=1.26,<1.27 diff --git a/csm-testing.spec b/csm-testing.spec index a672640c..92a24d71 100644 --- a/csm-testing.spec +++ b/csm-testing.spec @@ -90,7 +90,6 @@ Requires: python3-botocore Requires: python3-kubernetes Requires: python3-rados Requires: python3-requests -Requires: python3-requests-retry-session %else @@ -100,7 +99,6 @@ Requires: python%{python_version_nodots}-botocore Requires: python%{python_version_nodots}-kubernetes Requires: python%{python_version_nodots}-rados Requires: python%{python_version_nodots}-requests -Requires: python%{python_version_nodots}-requests-retry-session %endif @@ -281,7 +279,6 @@ Requires: python3-botocore Requires: python3-kubernetes Requires: python3-rados Requires: python3-requests -Requires: python3-requests-retry-session %else @@ -290,7 +287,6 @@ Requires: python%{python_version_nodots}-botocore Requires: python%{python_version_nodots}-kubernetes Requires: python%{python_version_nodots}-rados Requires: python%{python_version_nodots}-requests -Requires: python%{python_version_nodots}-requests-retry-session %endif diff --git a/requirements.txt b/requirements.txt index a5099c71..7feb6f24 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ -c constraints.txt colorama PyYAML +requests-retry-session # There are some additional Python packages that test scripts can rely on that are # not listed above. This is because they are listed as requirements in the csm-testing @@ -33,4 +34,3 @@ PyYAML # the system Python install, this is the simplest way. #system_python:requests -#system_python:requests-retry-session