From: Kevin Sandi Date: Sat, 15 Mar 2025 02:34:36 +0000 (-0600) Subject: Fix: Pin requests version to avoid bug in newer version X-Git-Tag: v0.37.12^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=aaa8867ee8f9e0a1e694e6db11f678f4dd99bbf7;p=releng%2Flftools.git Fix: Pin requests version to avoid bug in newer version Signed-off-by: Kevin Sandi Change-Id: Iec61d54c07b50e0d178a6930e9876b2a9d9cb6b9 --- diff --git a/pyproject.toml b/pyproject.toml index 512f42b9..afb08a65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 index 00000000..b3b87969 --- /dev/null +++ b/releasenotes/notes/fix-requests-bug-9f728ca89f280add.yaml @@ -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.