Skip to contentSkip to conversation

package/python-selenium: bump to version 4.25.0

PATCH New James Hilliard 1 participant 1 message Sep 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-selenium: bump to version 4.25.0

Migrate to setuptools-rust build backend.

Add new python-typing-extensions runtime dependency.

Add new python-websocket-client runtime dependency.

Add license file which was previously missing from release.

---
 package/python-selenium/Config.in            |  3 +++
 package/python-selenium/python-selenium.hash |  7 ++++---
 package/python-selenium/python-selenium.mk   | 10 ++++++----
 3 files changed, 13 insertions(+), 7 deletions(-)
package/python-selenium/Config.in +3 -0
index 30820f07f8..fa725cdf44 100644
@@ -1,10 +1,13 @@
 config BR2_PACKAGE_PYTHON_SELENIUM
 	bool "python-selenium"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
 	select BR2_PACKAGE_PYTHON_CERTIFI # runtime
 	select BR2_PACKAGE_PYTHON_PYSOCKS # runtime
 	select BR2_PACKAGE_PYTHON_TRIO # runtime
 	select BR2_PACKAGE_PYTHON_TRIO_WEBSOCKET # runtime
+	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
 	select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
+	select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime
 	help
 	  Python language bindings for Selenium WebDriver.
 
package/python-selenium/python-selenium.hash +4 -3
index ef1c34bfd3..aa492248a5 100644
@@ -1,3 +1,4 @@
-# md5, sha256 from https://pypi.org/pypi/selenium/json
-md5  9afd7110a9e06721baae028ac42a2221  selenium-4.16.0.tar.gz
-sha256  b2e987a445306151f7be0e6dfe2aa72a479c2ac6a91b9d5ef2d6dd4e49ad0435  selenium-4.16.0.tar.gz
+# Locally calculated after vendoring
+sha256  2e801325943bae1ccf4978b76e25f539d2e24d5765891be20d77d117940a9674  python-selenium-4.25.0-cargo2.tar.gz
+# Locally computed sha256 checksums
+sha256  de658a7d3761e92b471e2f630ea99eeb3389b27820809b1e4853baabd5fbadb7  LICENSE
package/python-selenium/python-selenium.mk +6 -4
index 0428cefa46..b317a83148 100644
@@ -4,10 +4,12 @@
 #
 ################################################################################
 
-PYTHON_SELENIUM_VERSION = 4.16.0
-PYTHON_SELENIUM_SOURCE = selenium-$(PYTHON_SELENIUM_VERSION).tar.gz
-PYTHON_SELENIUM_SITE = https://files.pythonhosted.org/packages/16/fd/a0ef793383077dd6296e4637acc82d1e9893e9a49a47f56e96996909e427
-PYTHON_SELENIUM_SETUP_TYPE = setuptools
+PYTHON_SELENIUM_VERSION = 4.25.0
+PYTHON_SELENIUM_SOURCE_PYPI = selenium-$(PYTHON_SELENIUM_VERSION).tar.gz
+PYTHON_SELENIUM_SITE_PYPI = https://files.pythonhosted.org/packages/0e/5a/d3735b189b91715fd0f5a9b8d55e2605061309849470e96ab830f02cba40
+PYTHON_SELENIUM_SITE = $(PYTHON_SELENIUM_SITE_PYPI)/$(PYTHON_SELENIUM_SOURCE_PYPI)?buildroot-path=filename
+PYTHON_SELENIUM_SETUP_TYPE = setuptools-rust
 PYTHON_SELENIUM_LICENSE = Apache-2.0
+PYTHON_SELENIUM_LICENSE_FILES = LICENSE
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot