Skip to content

Commit 2f9f42a

Browse files
authored
Workaround requests issue (#191)
See #188 for context on the bug itself. The problem is that contract tests have transitive dependency on `requests~=2.7`, which pulls in 2.32.0, which has an issue with current version of docker. To fix this, we temporarily take a hard dependency on 2.31.0, which does not have the issue. This code can be removed once we upgrade successfully to 2.32.0. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 9041a31 commit 2f9f42a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contract-tests/tests/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ dependencies = [
1515
"testcontainers==3.7.1",
1616
"grpcio==1.60.0",
1717
"docker==7.0.0",
18-
"mock-collector==1.0.0"
18+
"mock-collector==1.0.0",
19+
"requests==2.31.0"
1920
]
2021

2122
[project.optional-dependencies]

0 commit comments

Comments
 (0)