diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 082d0bb5..26e4fbd7 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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\\/.*/"], diff --git a/setup.py b/setup.py index 5b5348aa..c4001862 100644 --- a/setup.py +++ b/setup.py @@ -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 = [ @@ -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", ]