Skip to content

Commit

Permalink
build(deps): pin requests to <2.32.0
Browse files Browse the repository at this point in the history
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: msabramo/requests-unixsocket#73
  • Loading branch information
tigarmo committed May 31, 2024
1 parent ec91e9b commit e3f9442
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
]
Expand Down

0 comments on commit e3f9442

Please sign in to comment.