From 46b96c088ddd67fdb3dad19247323144f9234ae3 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Tue, 16 Jul 2024 14:50:32 +0100 Subject: [PATCH] fix: downgrade requests to 2.31.0 in devctr requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned [1]. So pin it to a version that works. [1]: https://github.com/msabramo/requests-unixsocket/issues/73 Signed-off-by: Patrick Roy --- tools/devctr/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/devctr/pyproject.toml b/tools/devctr/pyproject.toml index e97c7d0b7f9..69f8c4bc10f 100644 --- a/tools/devctr/pyproject.toml +++ b/tools/devctr/pyproject.toml @@ -27,7 +27,8 @@ pytest-timeout = "^2.1.0" pytest-xdist = "^3.3.1" python = "3.10.*" PyYAML = "^6.0" -requests = "^2.32.0" +# Pin requests because of https://github.com/msabramo/requests-unixsocket/issues/73 +requests = "<2.32.0" requests-unixsocket = "^0.3.0" scipy = "^1.11.2" setproctitle = "^1.3.2"