Skip to content

Commit f5101c0

Browse files
committed
build(deps): replace requests-unixsocket with requests-unixsocket2
Fixes #852
1 parent 7c9222f commit f5101c0

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/renovate.json5

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Configuration file for RenovateBot: https://docs.renovatebot.com/configuration-options
33
extends: ["config:recommended", ":semanticCommitTypeAll(build)"],
44
ignoreDeps: [
5-
"types-requests", // Don't update until we can support urllib3 >= 2.0
6-
"urllib3", // Can't update, see setup.py
75
],
86
labels: ["dependencies"], // For convenient searching in GitHub
97
baseBranches: ["$default", "/^hotfix\\/.*/"],

setup.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ def is_rtd() -> bool:
5151
"PyYAML",
5252
"pydantic>=2.0.0",
5353
"pyxdg",
54-
"requests<2.32.0",
55-
"requests-unixsocket",
56-
# See: https://github.com/msabramo/requests-unixsocket/pull/69
57-
# When updating to urllib3 v2, also remove the constraint on types-requests.
58-
"urllib3<2", # keep compatible API
54+
"requests>=2.32,<3.0",
55+
"requests-unixsocket2>=0.4.0",
5956
]
6057

6158
dev_requires = [
@@ -81,7 +78,7 @@ def is_rtd() -> bool:
8178
"types-Pygments",
8279
"types-pytz",
8380
"types-PyYAML",
84-
"types-requests<2.30", # When removing this constraint, remove from renovate's ignoreDeps
81+
"types-requests",
8582
"types-setuptools",
8683
]
8784

0 commit comments

Comments
 (0)