Fix: Pin requests version to avoid bug in newer version 30/73430/2 v0.37.12
authorKevin Sandi <ksandi@contractor.linuxfoundation.org>
Sat, 15 Mar 2025 02:34:36 +0000 (20:34 -0600)
committerKevin Sandi <ksandi@contractor.linuxfoundation.org>
Sat, 15 Mar 2025 02:42:43 +0000 (20:42 -0600)
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: Iec61d54c07b50e0d178a6930e9876b2a9d9cb6b9

pyproject.toml
releasenotes/notes/fix-requests-bug-9f728ca89f280add.yaml [new file with mode: 0644]

index 512f42b..afb08a6 100644 (file)
@@ -68,7 +68,7 @@ dependencies = [
     "pyrsistent",
     "python-jenkins",
     "PyYAML",
-    "requests",
+    "requests<2.32.0",
     "rsa",
     "ruamel.yaml",
     "ruamel.yaml.clib",
@@ -103,12 +103,12 @@ openstack = [
 ]
 
 test = [
-    "pytest==5.3.5",
-    "pytest-click==0.3",
-    "pytest-cov",
-    "pytest-datafiles==2.0",
-    "pytest-mock==2.0.0",
-    "pytest-responses==0.4.0"
+    "pytest==8.3.5",
+    "pytest-click==1.1.0",
+    "pytest-cov==5.0.0",
+    "pytest-datafiles==3.0.0",
+    "pytest-mock==3.14.0",
+    "pytest-responses==0.5.1"
 ]
 
 [project.urls]
diff --git a/releasenotes/notes/fix-requests-bug-9f728ca89f280add.yaml b/releasenotes/notes/fix-requests-bug-9f728ca89f280add.yaml
new file mode 100644 (file)
index 0000000..b3b8796
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Pin requests Python package to version <2.32.0 to avoid bug in newer version
+    "urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+docker".
+    Also sync Pytest versions at pyproject.toml with the ones from tox.ini.