From 54941080765f976b88da7f273f1647b2d98aaf70 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 28 Jun 2024 06:28:49 -0700 Subject: [PATCH] [py] websocket-client v.1.8.0 was added to setup.py (#14187) * websocket-client v.1.8.0 was added to setup.py * update for py/setup.py * added dependencies with the same versions in both BUILD.bazel and setup.py * added supported python versions to BUILD.bazel --- py/BUILD.bazel | 6 ++++-- py/setup.py | 17 +++++++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 265177b05fe9e..ffab701e9555e 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -274,6 +274,8 @@ py_wheel( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], description_file = "README.rst", distribution = "selenium", @@ -286,8 +288,8 @@ py_wheel( "trio~=0.17", "trio-websocket~=0.9", "certifi>=2021.10.8", - "typing_extensions>=4.9.0", - "websocket-client>=1.8.0", + "typing_extensions~=4.9.0", + "websocket-client==1.8.0", ], strip_path_prefixes = [ "py/", diff --git a/py/setup.py b/py/setup.py index 401481068dd01..3086853df5488 100755 --- a/py/setup.py +++ b/py/setup.py @@ -52,7 +52,8 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12'], + 'Programming Language :: Python :: 3.12', + ], 'package_dir': { 'selenium': 'selenium', 'selenium.common': 'selenium/common', @@ -61,22 +62,26 @@ 'packages': ['selenium', 'selenium.common', 'selenium.webdriver', - 'selenium.webdriver.chromium', 'selenium.webdriver.chrome', + 'selenium.webdriver.chromium', 'selenium.webdriver.common', - 'selenium.webdriver.support', + 'selenium.webdriver.edge', 'selenium.webdriver.firefox', 'selenium.webdriver.ie', - 'selenium.webdriver.edge', 'selenium.webdriver.remote', - 'selenium.webdriver.support', ], + 'selenium.webdriver.safari', + 'selenium.webdriver.support', + 'selenium.webdriver.webkitgtk', + 'selenium.webdriver.wpewebkit', + ], 'include_package_data': True, 'install_requires': [ - "typing_extensions~= 4.9", "urllib3[socks]>=1.26,<3", "trio~=0.17", "trio-websocket~=0.9", "certifi>=2021.10.8", + "typing_extensions~= 4.9.0", + "websocket-client==1.8.0", ], 'zip_safe': False }