From eae75855e06887250399f793018f97cbd398c90b Mon Sep 17 00:00:00 2001 From: Tomer Nosrati Date: Wed, 29 May 2024 21:21:05 +0300 Subject: [PATCH] Limit requests<2.32.0 due to docker-py issue 3256 (#2011) * Limit requests<2.32.0 due to docker-py issue 3256 * Limit rabbitmq docker image to 3.12 * Revert "Limit rabbitmq docker image to 3.12" This reverts commit 9b9d6a05c225bd7d57f63230d1f8c5e7fce28880. * Limit tox-docker<=4.1 and requests<2.32.0 in tox.ini --- requirements/default.txt | 3 +++ tox.ini | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/requirements/default.txt b/requirements/default.txt index 8ebd5c9c..88b28555 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -2,3 +2,6 @@ typing_extensions; python_version<"3.10" amqp>=5.1.1,<6.0.0 vine backports.zoneinfo[tzdata]>=0.2.1; python_version < '3.9' +# due to this bug https://github.com/docker/docker-py/issues/3256 +# we need to hard-code the version of requests +requests<2.32.0 diff --git a/tox.ini b/tox.ini index 243c85d9..3f48d5b6 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,9 @@ envlist = apicheck pydocstyle -requires = tox-docker>=3.0 +requires = + tox-docker<=4.1 + requests<2.32.0 [gh-actions] python =