diff --git a/py/BUILD.bazel b/py/BUILD.bazel index be60118206e8d..ca772cb5dce2c 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -154,6 +154,7 @@ py_library( imports = ["."], visibility = ["//visibility:public"], deps = [ + requirement("typing_extensions"), requirement("trio"), requirement("trio_websocket"), requirement("urllib3"), diff --git a/py/requirements.txt b/py/requirements.txt index 05889cb7bf364..de6ffcb9fa8e2 100644 --- a/py/requirements.txt +++ b/py/requirements.txt @@ -29,6 +29,7 @@ sortedcontainers==2.4.0 toml==0.10.2 trio>=0.20.0 trio-websocket==0.9.2 +typing_extensions==4.9.0 urllib3[socks]==2.0.7 wsproto==1.2.0 zipp==3.17.0 diff --git a/py/requirements_lock.txt b/py/requirements_lock.txt index 47ef407676e7e..79e497a7a519b 100644 --- a/py/requirements_lock.txt +++ b/py/requirements_lock.txt @@ -17,7 +17,6 @@ attrs==23.1.0 \ # via # -r py/requirements.txt # outcome - # pytest # trio certifi==2023.7.22 \ --hash=sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082 \ @@ -263,9 +262,7 @@ pyopenssl==22.0.0 \ pyparsing==3.1.1 \ --hash=sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb \ --hash=sha256:ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db - # via - # -r py/requirements.txt - # packaging + # via -r py/requirements.txt pysocks==1.7.1 \ --hash=sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299 \ --hash=sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5 \ @@ -324,6 +321,10 @@ trio-websocket==0.9.2 \ --hash=sha256:5b558f6e83cc20a37c3b61202476c5295d1addf57bd65543364e0337e37ed2bc \ --hash=sha256:a3d34de8fac26023eee701ed1e7bf4da9a8326b61a62934ec9e53b64970fd8fe # via -r py/requirements.txt +typing-extensions==4.9.0 \ + --hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \ + --hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd + # via -r py/requirements.txt urllib3[socks]==2.0.7 \ --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e diff --git a/py/setup.py b/py/setup.py index 4ef9b046b7c21..8e4c37878b27e 100755 --- a/py/setup.py +++ b/py/setup.py @@ -72,6 +72,7 @@ 'selenium.webdriver.support', ], 'include_package_data': True, 'install_requires': [ + "typing_extension~= 4.9", "urllib3[socks]>=1.26,<3", "trio~=0.17", "trio-websocket~=0.9",