Skip to content

Commit

Permalink
build(deps): replace requests-unixsocket with requests-unixsocket2
Browse files Browse the repository at this point in the history
Fixes #852
  • Loading branch information
lengau authored and cmatsuoka committed Sep 24, 2024
1 parent 5decbad commit cf0f728
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Configuration file for RenovateBot: https://docs.renovatebot.com/configuration-options
extends: ["config:recommended", ":semanticCommitTypeAll(build)"],
ignoreDeps: [
"types-requests", // Don't update until we can support urllib3 >= 2.0
"urllib3", // Can't update, see setup.py
],
labels: ["dependencies"], // For convenient searching in GitHub
baseBranches: ["$default", "/^hotfix\\/.*/"],
Expand Down
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ def is_rtd() -> bool:
"PyYAML",
"pydantic>=2.0.0",
"pyxdg",
"requests<2.32.0",
"requests-unixsocket",
# See: https://github.com/msabramo/requests-unixsocket/pull/69
# When updating to urllib3 v2, also remove the constraint on types-requests.
"urllib3<2", # keep compatible API
"requests>=2.32,<3.0",
"requests-unixsocket2>=0.4.0",
]

dev_requires = [
Expand All @@ -81,7 +78,7 @@ def is_rtd() -> bool:
"types-Pygments",
"types-pytz",
"types-PyYAML",
"types-requests<2.30", # When removing this constraint, remove from renovate's ignoreDeps
"types-requests",
"types-setuptools",
]

Expand Down

0 comments on commit cf0f728

Please sign in to comment.