From 94454e7a9fb3489d4941fc726a3d31a45893dc56 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Wed, 6 Aug 2025 09:53:38 -0400 Subject: [PATCH 1/3] [py] Loosen dependency specifier for urllib3 in packaging --- py/BUILD.bazel | 2 +- py/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 5fcb877dcfc4b..9842985cdc2d7 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -327,7 +327,7 @@ py_wheel( python_requires = ">=3.9", python_tag = "py3", requires = [ - "urllib3[socks]~=2.5.0", + "urllib3[socks]>=2.5.0;<3", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15", diff --git a/py/pyproject.toml b/py/pyproject.toml index 4611b38cb5f62..97c0ef6e30143 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "urllib3[socks]~=2.5.0", + "urllib3[socks]>=2.5.0;<3", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15", From a98a525238cb35944984f6efc5f153bf2285728e Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Wed, 6 Aug 2025 10:02:44 -0400 Subject: [PATCH 2/3] [py] Edit version number --- py/BUILD.bazel | 2 +- py/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 9842985cdc2d7..3a1b018c3a433 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -327,7 +327,7 @@ py_wheel( python_requires = ">=3.9", python_tag = "py3", requires = [ - "urllib3[socks]>=2.5.0;<3", + "urllib3[socks]>=2.5.0;<3.0", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15", diff --git a/py/pyproject.toml b/py/pyproject.toml index 97c0ef6e30143..1454f88bc6ad3 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "urllib3[socks]>=2.5.0;<3", + "urllib3[socks]>=2.5.0;<3.0", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15", From 75d22ffc7c5435633bcde85636199d9e3b7aebb6 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Wed, 6 Aug 2025 10:05:31 -0400 Subject: [PATCH 3/3] [py] Fix specifier syntax --- py/BUILD.bazel | 2 +- py/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 3a1b018c3a433..b46d65e8a3da8 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -327,7 +327,7 @@ py_wheel( python_requires = ">=3.9", python_tag = "py3", requires = [ - "urllib3[socks]>=2.5.0;<3.0", + "urllib3[socks]>=2.5.0,<3.0", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15", diff --git a/py/pyproject.toml b/py/pyproject.toml index 1454f88bc6ad3..3431c3ca41a01 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "urllib3[socks]>=2.5.0;<3.0", + "urllib3[socks]>=2.5.0,<3.0", "trio~=0.30.0", "trio-websocket~=0.12.2", "certifi>=2025.6.15",