From 2f17db0e32879c3d873ea05d36e8fd752aae43ea Mon Sep 17 00:00:00 2001 From: Oleksandr Kuzminskyi <1763754+akuzminsky@users.noreply.github.com> Date: Sat, 14 Sep 2024 21:27:58 -0700 Subject: [PATCH] Fix Not supported URL scheme http+docker (#465) * Fix Not supported URL scheme http+docker ``` docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker ``` See https://github.com/docker/docker-py/issues/3256 for details. * Sync dev and install requirements --- requirements.in | 1 + requirements.txt | 3 ++- requirements_dev.in | 1 + requirements_dev.txt | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/requirements.in b/requirements.in index e6825b86..25f1c749 100644 --- a/requirements.in +++ b/requirements.in @@ -8,6 +8,7 @@ psutil ~= 5.4 pyasn1 ~= 0.4 datadog ~= 0.22 paramiko ~= 3.4 +requests < 2.32.0 # See https://github.com/docker/docker-py/issues/3256 google ~= 3.0 google-cloud-storage ~= 2.3.0 statsd ~= 3.3 diff --git a/requirements.txt b/requirements.txt index 8258a2ce..11f40195 100644 --- a/requirements.txt +++ b/requirements.txt @@ -94,8 +94,9 @@ pynacl==1.5.0 # via paramiko python-dateutil==2.9.0.post0 # via botocore -requests==2.32.3 +requests==2.31.0 # via + # -r requirements.in # azure-core # datadog # google-api-core diff --git a/requirements_dev.in b/requirements_dev.in index 19823179..2d392d88 100644 --- a/requirements_dev.in +++ b/requirements_dev.in @@ -12,5 +12,6 @@ pytest ~= 7.1 pytest-cov ~= 3.0 pytest-timeout ~= 2.1 python-magic == 0.4.18 +requests < 2.32.0 # See https://github.com/docker/docker-py/issues/3256 runlike ~= 1.4 yamllint ~= 1.23 diff --git a/requirements_dev.txt b/requirements_dev.txt index 2ace724f..c2138025 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -123,8 +123,9 @@ pyyaml==6.0.2 # via # responses # yamllint -requests==2.32.3 +requests==2.31.0 # via + # -r requirements_dev.in # docker # moto # responses