From e3f9442e854f70ef5a40a07e13c9ac2e25669d83 Mon Sep 17 00:00:00 2001 From: Tiago Nobrega Date: Fri, 31 May 2024 09:43:50 -0300 Subject: [PATCH] build(deps): pin requests to <2.32.0 Version 2.32.0 breaks with the "http+unix" protocol used by requests-unixsocket, which in turn is used by craft-parts. Pin this as a "dev" dependency since the issue is in craft-parts, and not here. Ref: https://github.com/msabramo/requests-unixsocket/issues/73 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 68d64b38..5b6b37d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,8 @@ dev = [ "pytest-mock==3.14.0", "pytest-rerunfailures==14.0", "pytest-time>=0.3.1", + # Pin requests because of https://github.com/msabramo/requests-unixsocket/issues/73 + "requests<2.32.0", "responses~=0.25.0", "craft-application[remote]" ]