From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/selenium/
Date: Sat, 07 Jun 2025 08:44:43 +0000 (UTC) [thread overview]
Message-ID: <1749285876.2a353acb794407b70af691dc1246d1277038803d.mgorny@gentoo> (raw)
commit: 2a353acb794407b70af691dc1246d1277038803d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 7 08:17:21 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 7 08:44:36 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a353acb
dev-python/selenium: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/selenium/Manifest | 8 --
dev-python/selenium/selenium-4.25.0.ebuild | 135 ----------------------------
dev-python/selenium/selenium-4.28.1.ebuild | 138 -----------------------------
dev-python/selenium/selenium-4.29.0.ebuild | 138 -----------------------------
dev-python/selenium/selenium-4.30.0.ebuild | 137 ----------------------------
5 files changed, 556 deletions(-)
diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest
index 68296d70aefb..74d40e941064 100644
--- a/dev-python/selenium/Manifest
+++ b/dev-python/selenium/Manifest
@@ -1,16 +1,8 @@
-DIST selenium-4.25.0.tar.gz 957765 BLAKE2B e62f1e9e0619f376e75cbfdbc67540184dde32b5e3bfe07a80157a49bdbfe5475f7ea02bd4b130b24e83c82fc838c2b22d3bf09fd9bd76f4bb475e690f979346 SHA512 6961356a1e03d5b76f07fbf3e3bc834915c52b9c744aeebbde2a9a3c89c661b07f798629770a45e6842b509ae10cbeac61aa92101978bd334e9d1444dd743735
DIST selenium-4.26.1.tar.gz 967543 BLAKE2B 7e7476338a030083261199b725aaa38d03bb62f71c56c16495600428e976067b456c32b98d18a0fa4fcdcd6544ddb0043a8104b3c6c075917924ebb8466aee56 SHA512 08d75ee4b3b5d93ad5385c0755d1b9b4e604e491127da19ba3531c6de2213c6cbbdb768893168112643e6272019d4d761873039f42af1c96dffc7ccfb9fc3bab
-DIST selenium-4.28.1.tar.gz 981633 BLAKE2B a8b856d4de7be4a68028f97c88852faf867224c2632ec40273d1589de2b84a75ae96d4b3799bce50dd8967ed979da686511212c0fa2bad5775f9288c5fbf0be4 SHA512 cefcf4286fcce8f3e33d9d97001bee0ecee157609aa921adfe58b748cb4f7b90feeda95181a4d67ebc6ed2b5381db1fb2f1ffb105c6469f0034918a93cba01d1
-DIST selenium-4.29.0.tar.gz 985717 BLAKE2B 61dbda8dcc3280289a2f84159edd11bbef66c507ceb10d017b50249e4ae2d200761d7fc83d457ff412001c8e18f363b89c04eafc118ac4f2a2ac15f681e9a5a6 SHA512 aff22caec524b1835f3c0d857e44545693716e2cd250f835c77b89225c1a3af6dfe2090d66bbad270e131e36ba0629af72cf0075e40c04d9e8c908dd41f8f6ad
-DIST selenium-4.30.0.tar.gz 859424 BLAKE2B af4a48506b8749620441272a892dd21c8dcb0075ddfe4d489b803be2ec81c6489367483c7d1444de2c91a173148b519e700aa937a7be11c5703baa5cf1baa441 SHA512 6e8b73c0b877064987d66a7ebfd04edc550332ea0dbdcbd84d2060e47f8fce0817c47480fb18849332513e6e115239f25e09ad02f5ba72271af9bbc998f482f2
DIST selenium-4.31.0.tar.gz 855418 BLAKE2B d06268cfc71cfde25718ecded62f4556768138b428b63009d747c4a5e88f6e72bb975ac3b576eee44a014f2e0b55c4ac4fa17e0ddcbac15140bfee44ad584b23 SHA512 478060d4a87d0c000edfb76bed1ff40e0806b226eda41caa0d9818d650abe6a735513bac8520097659b22e64f145cf31d753d4d2209680cfa15a8a86454d0626
DIST selenium-4.32.0.tar.gz 870997 BLAKE2B b25ceff282c7be6de7e3a02c71769aa08db6d726010b879f4feb7e0f96b465ad5ce9d5942d941f3d1dd4c1c664faeb0e5be5b01c69150420dd1b15b19197971b SHA512 8c46e7e07b1a647c7901401a8d7a2930f95a5df5c4ed81d3364446b88a9c55de5c8401ede06aea6e142807025f890e2c026407b9468a44e239b5bed6a2ffdbb0
DIST selenium-4.33.0.tar.gz 882387 BLAKE2B 62f32dc6aea5d7d16c546283d884d4f56b86911d7dbeeeb37a3f978d7b2161a8178e6d244b0dd6e6c5ca1a2eb29b0b758ed537d4b13cad5c71012b3d24c38b3e SHA512 c1f4969279d6df92f8537fe3d8cad1cd8265c6942a765399d8024aafeeb90dc0af6e7c11509dcead18a89f03c3486cd526448b27fae91bfc670fbaea7c6a37af
-DIST selenium-selenium-4.25.0.gh.tar.gz 77158053 BLAKE2B 9978239a874d32e23d98ec98eb5292153496c42abcdd0f959875b2b460df5a85c0b532b6843e0d13b931078490958ebdc2944a8c21ce2eae24a0ac6a3c830772 SHA512 6d11d1aa22d27dbc07c3d39f5f852080c5089b12b1da0251e7b09c38ac3b8f56f452a24c64a20685eb0aff238698ab4bd18a8b7089c69f261cfbcdc679ceeac8
DIST selenium-selenium-4.26.1-python.gh.tar.gz 77109265 BLAKE2B c0c5693c64fa65a627e5edf0cbbc051410fcddf59e4fd80c362b9a382c586fc3ad3d574674e5523ab284b40b6639e95e85fd1c8195f2f1a6f35ad6532ed667ce SHA512 7ace69332f17c6f7e28b81223f4c8c62cde1832b5acaf2fd1c777a08a5a9cfebb5d9c83daa10462eeb3acb9c7cb5038711f5acee51f5dad3910d7e29e4387d3f
-DIST selenium-selenium-4.28.1-python.gh.tar.gz 52438112 BLAKE2B 62e2a8334238a6fbe063eda6253f2e6d6ab83484dde2b6b7d2fb6fab3e37d7c1d78b82b424c665c5b38fa06928ec693ece8dab03831132b3d7666c296c4cd39f SHA512 f5c917615a7424470c095c7b9730c02e1e7d7e691b51bc29fbb2d72f3ea08d647705d67702e287e962c033f1269b7cff8cba93bef4999de09c90a6f0e9029efa
-DIST selenium-selenium-4.29.0.gh.tar.gz 52589103 BLAKE2B 65b202e599c1a3d31ebd15a3da1246fe7e8ea4a55c24189a1146d07e4a49a5fcdfbdb000b7e8102b09de4f3c60d4ca13c033c2127603f8ed2c6277d254cb3069 SHA512 2a3dde375539592cb65fc2dca27e5a3f92ccdd9111dd0c7a0453a6f447a2f4b738d92120d1ef6872321265f86c87708859e714288b49893f6b8ccb1ad003cbf7
-DIST selenium-selenium-4.30.0.gh.tar.gz 52519870 BLAKE2B 440198b919d2c3400666bc07d246bff04521ec10716fadf660c564bd316e5889c4ecb314a45422661623b2a17e47e93921cad6eb97d3ca1b6f47cbae0ad42ac7 SHA512 561551002d2c37acc9a0b5fc40e3989a47d69dc0692a6fe44c90b0b77bf0056bc390848020fea7f5681ccbb5ec9808912cc5e63c286577ec60d787f3d2991b82
DIST selenium-selenium-4.31.0.gh.tar.gz 52458288 BLAKE2B 649d585e116ccd82e68f3b74b50cbbda5b9ac02c6ab8e72473b5775265205dc31ec69c846b1b39c91dceb63234bb02bf4833b321d101227f5873db6ad8897038 SHA512 e440e1b8e15b9e1f592b2466738f3982355a0757458bd7c8ef7eba31548df2bd449e54cea273a47f2b6bd0e68a2d75a1af67a791eff0cf3f601e685c4b8b237a
DIST selenium-selenium-4.32.0.gh.tar.gz 52479399 BLAKE2B 01a2c0c172d4d25045b7f16d16c23945f4aaf48b422a9c926cdd6dbc728193a94d068c69f0317d3e5b8dd17df655581b3e5fd1e845cb18c1080f7a4aeb88d1dc SHA512 3beac9d23e9b92e54ff53195bb6376f6938019af9fdf9ad42210deb4bcd3b0fafe9e5098d4ba6e974d4d7f6bce6788622c0bd89ccf07117f3f7c7abad4e8831c
DIST selenium-selenium-4.33.0.gh.tar.gz 52518597 BLAKE2B 126fd55707580ff1e8a1df129680dcfb3f6edd11cacc335bb0163cf0af7b9f713a5c73d70e963089e0bffd14bede21c04dcec8eb99aaa5be6719717411c73088 SHA512 6392f952081cac1c2d9a5d9b1a93da270a6605f370d25fa3e79551b8df648f527b1936448e42d5e75d89613a7306a5d8f351e471b7c783ef35e7b22be9eb2955
diff --git a/dev-python/selenium/selenium-4.25.0.ebuild b/dev-python/selenium/selenium-4.25.0.ebuild
deleted file mode 100644
index 0a02a8b9a719..000000000000
--- a/dev-python/selenium/selenium-4.25.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..12} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13 )
-
-inherit distutils-r1 pypi
-
-# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh
-TEST_TAG=${P}
-TEST_P=selenium-${TEST_TAG}
-
-DESCRIPTION="Python language binding for Selenium Remote Control"
-HOMEPAGE="
- https://www.seleniumhq.org/
- https://github.com/SeleniumHQ/selenium/tree/trunk/py/
- https://pypi.org/project/selenium/
-"
-SRC_URI+="
- test? (
- https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz
- -> ${TEST_P}.gh.tar.gz
- )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}]
- <dev-python/trio-1[${PYTHON_USEDEP}]
- >=dev-python/trio-0.17[${PYTHON_USEDEP}]
- <dev-python/trio-websocket-1[${PYTHON_USEDEP}]
- >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}]
- <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}]
- <dev-python/urllib3-3[${PYTHON_USEDEP}]
- >=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
- <dev-python/websocket-client-2[${PYTHON_USEDEP}]
- >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-util/selenium-manager
- net-misc/geckodriver
- || (
- www-client/firefox
- www-client/firefox-bin
- )
- )
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # do not build selenium-manager implicitly
- sed -e '/setuptools_rust/d' \
- -e '/rust_extensions/,/\]/d' \
- -i setup.py || die
-}
-
-python_test() {
- if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return
- fi
-
- local EPYTEST_DESELECT=(
- # expects vanilla certifi
- test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout
- )
- local pytest_args=(
- # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
- # seriously?
- -o "python_files=*_tests.py test_*.py"
- -p pytest_mock
- )
- if use test-rust; then
- local -x PATH=${T}/bin:${PATH}
- local -x SE_MANAGER_PATH="$(type -P selenium-manager)"
-
- local EPYTEST_XDIST=1
- pytest_args+=(
- -p rerunfailures --reruns=5
-
- --driver=firefox
- --browser-binary="$(type -P firefox || type -P firefox-bin)"
- --driver-binary="$(type -P geckodriver)"
- --headless=true
- )
-
- EPYTEST_DESELECT+=(
- # expects prebuilt executables for various systems
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac
- test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os
-
- # TODO: these don't respect --*-binary and try to fetch versions
- test/selenium/webdriver/firefox
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options
- test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome
-
- # TODO
- test/selenium/webdriver/common/bidi_script_tests.py
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities
- )
- else
- EPYTEST_DESELECT+=(
- test/selenium
- )
- fi
-
- cd "${WORKDIR}/${TEST_P}/py" || die
- rm -rf selenium || die
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest "${pytest_args[@]}"
-}
diff --git a/dev-python/selenium/selenium-4.28.1.ebuild b/dev-python/selenium/selenium-4.28.1.ebuild
deleted file mode 100644
index 976059e528c8..000000000000
--- a/dev-python/selenium/selenium-4.28.1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..13} pypy3 pypy3_11 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-# base releases are usually ${P}, followups ${P}-python
-TEST_TAG=${P}
-[[ ${PV} != *.0 ]] && TEST_TAG+=-python
-TEST_P=selenium-${TEST_TAG}
-
-DESCRIPTION="Python language binding for Selenium Remote Control"
-HOMEPAGE="
- https://www.seleniumhq.org/
- https://github.com/SeleniumHQ/selenium/tree/trunk/py/
- https://pypi.org/project/selenium/
-"
-SRC_URI+="
- test? (
- https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz
- -> ${TEST_P}.gh.tar.gz
- )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}]
- <dev-python/trio-1[${PYTHON_USEDEP}]
- >=dev-python/trio-0.17[${PYTHON_USEDEP}]
- <dev-python/trio-websocket-1[${PYTHON_USEDEP}]
- >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}]
- <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}]
- <dev-python/urllib3-3[${PYTHON_USEDEP}]
- >=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
- <dev-python/websocket-client-2[${PYTHON_USEDEP}]
- >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/filetype[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-util/selenium-manager
- net-misc/geckodriver
- || (
- www-client/firefox
- www-client/firefox-bin
- )
- )
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # do not build selenium-manager implicitly
- sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \
- -i pyproject.toml || die
-}
-
-python_test() {
- if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return
- fi
-
- local EPYTEST_DESELECT=(
- # expects vanilla certifi
- test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout
- # TODO
- 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]'
- )
- local pytest_args=(
- # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
- # seriously?
- -o "python_files=*_tests.py test_*.py"
- -p pytest_mock
- )
- if use test-rust; then
- local -x PATH=${T}/bin:${PATH}
- local -x SE_MANAGER_PATH="$(type -P selenium-manager)"
-
- local EPYTEST_XDIST=1
- pytest_args+=(
- -p rerunfailures --reruns=5
-
- --driver=firefox
- --browser-binary="$(type -P firefox || type -P firefox-bin)"
- --driver-binary="$(type -P geckodriver)"
- --headless=true
- )
-
- EPYTEST_DESELECT+=(
- # expects prebuilt executables for various systems
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac
- test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os
-
- # TODO: these don't respect --*-binary and try to fetch versions
- test/selenium/webdriver/firefox
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options
- test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome
-
- # TODO
- test/selenium/webdriver/common/bidi_script_tests.py
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities
- )
- else
- EPYTEST_DESELECT+=(
- test/selenium
- )
- fi
-
- cd "${WORKDIR}/${TEST_P}/py" || die
- rm -rf selenium || die
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest "${pytest_args[@]}"
-}
diff --git a/dev-python/selenium/selenium-4.29.0.ebuild b/dev-python/selenium/selenium-4.29.0.ebuild
deleted file mode 100644
index 976059e528c8..000000000000
--- a/dev-python/selenium/selenium-4.29.0.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..13} pypy3 pypy3_11 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-# base releases are usually ${P}, followups ${P}-python
-TEST_TAG=${P}
-[[ ${PV} != *.0 ]] && TEST_TAG+=-python
-TEST_P=selenium-${TEST_TAG}
-
-DESCRIPTION="Python language binding for Selenium Remote Control"
-HOMEPAGE="
- https://www.seleniumhq.org/
- https://github.com/SeleniumHQ/selenium/tree/trunk/py/
- https://pypi.org/project/selenium/
-"
-SRC_URI+="
- test? (
- https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz
- -> ${TEST_P}.gh.tar.gz
- )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}]
- <dev-python/trio-1[${PYTHON_USEDEP}]
- >=dev-python/trio-0.17[${PYTHON_USEDEP}]
- <dev-python/trio-websocket-1[${PYTHON_USEDEP}]
- >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}]
- <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}]
- <dev-python/urllib3-3[${PYTHON_USEDEP}]
- >=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
- <dev-python/websocket-client-2[${PYTHON_USEDEP}]
- >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/filetype[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-util/selenium-manager
- net-misc/geckodriver
- || (
- www-client/firefox
- www-client/firefox-bin
- )
- )
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # do not build selenium-manager implicitly
- sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \
- -i pyproject.toml || die
-}
-
-python_test() {
- if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return
- fi
-
- local EPYTEST_DESELECT=(
- # expects vanilla certifi
- test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout
- # TODO
- 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]'
- )
- local pytest_args=(
- # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
- # seriously?
- -o "python_files=*_tests.py test_*.py"
- -p pytest_mock
- )
- if use test-rust; then
- local -x PATH=${T}/bin:${PATH}
- local -x SE_MANAGER_PATH="$(type -P selenium-manager)"
-
- local EPYTEST_XDIST=1
- pytest_args+=(
- -p rerunfailures --reruns=5
-
- --driver=firefox
- --browser-binary="$(type -P firefox || type -P firefox-bin)"
- --driver-binary="$(type -P geckodriver)"
- --headless=true
- )
-
- EPYTEST_DESELECT+=(
- # expects prebuilt executables for various systems
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac
- test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os
-
- # TODO: these don't respect --*-binary and try to fetch versions
- test/selenium/webdriver/firefox
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options
- test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome
-
- # TODO
- test/selenium/webdriver/common/bidi_script_tests.py
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities
- )
- else
- EPYTEST_DESELECT+=(
- test/selenium
- )
- fi
-
- cd "${WORKDIR}/${TEST_P}/py" || die
- rm -rf selenium || die
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest "${pytest_args[@]}"
-}
diff --git a/dev-python/selenium/selenium-4.30.0.ebuild b/dev-python/selenium/selenium-4.30.0.ebuild
deleted file mode 100644
index b366bee14be2..000000000000
--- a/dev-python/selenium/selenium-4.30.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..13} pypy3 pypy3_11 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-# base releases are usually ${P}, followups ${P}-python
-TEST_TAG=${P}
-[[ ${PV} != *.0 ]] && TEST_TAG+=-python
-TEST_P=selenium-${TEST_TAG}
-
-DESCRIPTION="Python language binding for Selenium Remote Control"
-HOMEPAGE="
- https://www.seleniumhq.org/
- https://github.com/SeleniumHQ/selenium/tree/trunk/py/
- https://pypi.org/project/selenium/
-"
-SRC_URI+="
- test? (
- https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz
- -> ${TEST_P}.gh.tar.gz
- )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}]
- <dev-python/trio-1[${PYTHON_USEDEP}]
- >=dev-python/trio-0.17[${PYTHON_USEDEP}]
- <dev-python/trio-websocket-1[${PYTHON_USEDEP}]
- >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}]
- <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}]
- <dev-python/urllib3-3[${PYTHON_USEDEP}]
- >=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
- <dev-python/websocket-client-2[${PYTHON_USEDEP}]
- >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/filetype[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-util/selenium-manager
- net-misc/geckodriver
- || (
- www-client/firefox
- www-client/firefox-bin
- )
- )
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # do not build selenium-manager implicitly
- sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \
- -i pyproject.toml || die
-}
-
-python_test() {
- if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return
- fi
-
- local EPYTEST_DESELECT=(
- # expects vanilla certifi
- test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout
- # TODO
- 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]'
- )
- local pytest_args=(
- # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
- # seriously?
- -o "python_files=*_tests.py test_*.py"
- -p pytest_mock
- )
- if use test-rust; then
- local -x PATH=${T}/bin:${PATH}
- local -x SE_MANAGER_PATH="$(type -P selenium-manager)"
-
- pytest_args+=(
- -p rerunfailures --reruns=5
-
- --driver=firefox
- --browser-binary="$(type -P firefox || type -P firefox-bin)"
- --driver-binary="$(type -P geckodriver)"
- --headless=true
- )
-
- EPYTEST_DESELECT+=(
- # expects prebuilt executables for various systems
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux
- test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac
- test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os
-
- # TODO: these don't respect --*-binary and try to fetch versions
- test/selenium/webdriver/firefox
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
- test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options
- test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome
-
- # TODO
- test/selenium/webdriver/common/bidi_script_tests.py
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs
- test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities
- )
- else
- EPYTEST_DESELECT+=(
- test/selenium
- )
- fi
-
- cd "${WORKDIR}/${TEST_P}/py" || die
- rm -rf selenium || die
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest "${pytest_args[@]}"
-}
next reply other threads:[~2025-06-07 8:45 UTC|newest]
Thread overview: 252+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-07 8:44 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-22 8:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/selenium/ Arthur Zamarin
2025-10-22 7:58 Arthur Zamarin
2025-10-22 6:02 Arthur Zamarin
2025-10-21 20:05 Arthur Zamarin
2025-10-18 6:22 Michał Górny
2025-10-09 4:25 Sam James
2025-10-09 4:25 Sam James
2025-10-03 5:38 Michał Górny
2025-10-03 5:38 Michał Górny
2025-08-13 8:07 Michał Górny
2025-07-26 21:12 Sam James
2025-07-26 13:05 Michał Górny
2025-07-26 10:18 Michał Górny
2025-07-26 10:18 Michał Górny
2025-07-09 4:53 Michał Górny
2025-06-29 19:34 Michał Górny
2025-06-21 18:04 Sam James
2025-06-21 6:10 Arthur Zamarin
2025-06-15 1:37 Sam James
2025-05-27 12:02 Michał Górny
2025-05-26 17:20 Michał Górny
2025-05-24 10:02 Michał Górny
2025-05-23 16:53 Michał Górny
2025-05-23 16:53 Michał Górny
2025-05-03 6:08 Michał Górny
2025-04-19 18:42 Arthur Zamarin
2025-04-19 18:39 Arthur Zamarin
2025-04-13 15:30 Michał Górny
2025-04-13 15:22 Michał Górny
2025-04-05 12:51 Arthur Zamarin
2025-04-05 6:37 Michał Górny
2025-03-22 6:31 Michał Górny
2025-03-09 2:38 Sam James
2025-03-08 8:58 Michał Górny
2025-02-21 5:20 Michał Górny
2025-02-19 16:09 Michał Górny
2025-02-08 18:04 Sam James
2025-01-24 7:21 Michał Górny
2025-01-22 7:21 Michał Górny
2024-11-23 17:21 Michał Górny
2024-11-16 15:55 Sam James
2024-11-16 11:22 Arthur Zamarin
2024-11-16 8:48 Arthur Zamarin
2024-11-16 8:38 Arthur Zamarin
2024-11-16 8:19 Michał Górny
2024-11-01 6:35 Michał Górny
2024-10-31 14:47 Michał Górny
2024-10-31 5:24 Michał Górny
2024-10-15 0:51 Sam James
2024-10-12 14:57 Sam James
2024-10-12 8:13 Michał Górny
2024-10-12 7:28 Michał Górny
2024-10-12 7:04 Michał Górny
2024-09-22 19:09 Arthur Zamarin
2024-09-21 7:41 Michał Górny
2024-09-16 13:09 Joonas Niilola
2024-09-16 13:09 Joonas Niilola
2024-09-14 12:06 Arthur Zamarin
2024-09-14 11:31 Arthur Zamarin
2024-09-01 19:57 Arthur Zamarin
2024-09-01 17:04 Arthur Zamarin
2024-08-29 4:52 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-12 18:53 Michał Górny
2024-08-12 17:18 Arthur Zamarin
2024-08-10 15:41 Michał Górny
2024-08-10 9:03 Michał Górny
2024-08-10 8:17 Michał Górny
2024-08-10 7:32 Michał Górny
2024-08-10 7:25 Michał Górny
2024-08-10 7:25 Michał Górny
2024-07-24 15:44 Michał Górny
2024-07-24 13:02 Michał Górny
2024-07-06 8:33 Michał Górny
2024-07-06 7:29 Arthur Zamarin
2024-07-06 7:26 Arthur Zamarin
2024-07-06 7:07 Arthur Zamarin
2024-07-06 6:54 Arthur Zamarin
2024-07-06 6:26 Sam James
2024-07-06 6:26 Sam James
2024-07-06 6:14 Sam James
2024-06-21 16:59 Michał Górny
2024-06-21 16:59 Michał Górny
2024-06-21 1:58 Michał Górny
2024-06-19 17:21 Michał Górny
2024-06-07 17:29 Michał Górny
2024-06-07 16:52 Arthur Zamarin
2024-06-01 10:25 Arthur Zamarin
2024-06-01 10:25 Arthur Zamarin
2024-06-01 10:25 Arthur Zamarin
2024-06-01 7:39 Arthur Zamarin
2024-06-01 7:29 Arthur Zamarin
2024-06-01 7:25 Arthur Zamarin
2024-05-16 14:58 Michał Górny
2024-05-13 12:53 Michał Górny
2024-05-13 12:24 Arthur Zamarin
2024-05-11 11:11 Arthur Zamarin
2024-05-11 10:22 Arthur Zamarin
2024-05-11 9:49 Arthur Zamarin
2024-05-11 9:49 Arthur Zamarin
2024-05-11 7:52 Arthur Zamarin
2024-05-11 7:16 Arthur Zamarin
2024-04-25 4:43 Michał Górny
2024-04-12 3:03 Michał Górny
2024-04-11 21:34 Sam James
2024-04-11 19:39 Sam James
2024-04-11 17:40 Arthur Zamarin
2024-04-11 16:53 Arthur Zamarin
2024-04-11 16:51 Arthur Zamarin
2024-04-11 16:41 Arthur Zamarin
2024-04-11 16:01 Sam James
2024-03-28 5:55 Michał Górny
2024-03-08 5:40 Michał Górny
2024-03-07 20:22 Jakov Smolić
2024-03-07 18:12 Sam James
2024-03-07 17:09 Michał Górny
2024-03-07 17:09 Michał Górny
2024-03-07 16:22 Michał Górny
2024-03-07 16:19 Michał Górny
2024-03-07 16:15 Michał Górny
2024-02-20 6:13 Michał Górny
2024-02-19 15:51 Michał Górny
2023-12-24 17:24 Michał Górny
2023-12-24 17:21 Arthur Zamarin
2023-12-24 15:11 Sam James
2023-12-07 4:18 Michał Górny
2023-11-29 15:29 Michał Górny
2023-11-29 15:15 Arthur Zamarin
2023-11-29 14:42 Arthur Zamarin
2023-11-29 14:00 Arthur Zamarin
2023-11-29 11:45 Arthur Zamarin
2023-11-29 11:45 Arthur Zamarin
2023-11-29 11:15 Michał Górny
2023-11-29 11:04 Michał Górny
2023-11-25 15:14 Michał Górny
2023-11-17 10:44 Andrew Ammerlaan
2023-11-11 20:58 Arthur Zamarin
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:02 Sam James
2023-11-05 17:55 Michał Górny
2023-11-02 19:44 Michał Górny
2023-11-01 16:05 Michał Górny
2023-10-10 5:05 Michał Górny
2023-10-06 18:12 Michał Górny
2023-10-06 17:37 Arthur Zamarin
2023-10-06 17:05 Arthur Zamarin
2023-10-06 17:05 Arthur Zamarin
2023-10-06 16:04 Sam James
2023-10-06 14:34 Arthur Zamarin
2023-10-06 14:30 Arthur Zamarin
2023-10-06 14:29 Sam James
2023-09-26 4:42 Michał Górny
2023-09-01 5:06 Michał Górny
2023-07-23 8:28 Michał Górny
2023-07-20 10:16 WANG Xuerui
2023-07-17 17:51 Michał Górny
2023-07-17 11:15 Sam James
2023-07-09 17:57 Arthur Zamarin
2023-07-09 17:01 Arthur Zamarin
2023-06-18 17:21 Michał Górny
2023-06-18 15:49 Arthur Zamarin
2023-06-18 15:49 Arthur Zamarin
2023-06-18 15:45 Sam James
2023-06-18 15:45 Sam James
2023-06-18 15:15 Sam James
2023-06-18 15:14 Sam James
2023-06-18 14:47 Sam James
2023-06-08 5:13 Michał Górny
2023-05-18 18:54 Michał Górny
2023-05-08 19:31 Arthur Zamarin
2023-04-28 16:02 Arthur Zamarin
2023-04-28 16:00 Arthur Zamarin
2023-04-28 15:57 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-28 15:24 Arthur Zamarin
2023-04-28 15:07 Arthur Zamarin
2023-04-28 14:52 Arthur Zamarin
2023-04-28 14:49 Arthur Zamarin
2023-04-21 4:34 Michał Górny
2023-04-15 5:29 Michał Górny
2023-04-15 5:29 Michał Górny
2023-03-31 18:05 Sam James
2023-03-31 16:14 Sam James
2023-03-25 6:39 Michał Górny
2023-03-10 9:00 Sam James
2023-03-10 8:48 Yixun Lan
2023-03-10 7:49 Arthur Zamarin
2023-03-10 2:00 Sam James
2023-03-10 2:00 Sam James
2023-03-09 18:17 Michał Górny
2023-03-09 18:17 Michał Górny
2022-11-03 20:18 Arthur Zamarin
2022-11-03 20:17 Sam James
2022-11-03 20:10 Sam James
2022-11-03 19:32 Arthur Zamarin
2022-11-03 19:30 Arthur Zamarin
2022-11-03 19:16 Arthur Zamarin
2022-11-03 19:16 Arthur Zamarin
2022-11-03 19:11 Arthur Zamarin
2022-11-03 19:07 Arthur Zamarin
2022-09-29 18:13 Arthur Zamarin
2022-09-20 8:08 Michał Górny
2022-09-20 7:43 Jakov Smolić
2022-09-19 20:31 Arthur Zamarin
2022-09-19 20:25 Arthur Zamarin
2022-09-19 20:22 Arthur Zamarin
2022-09-19 20:20 Arthur Zamarin
2022-09-19 20:14 Jakov Smolić
2022-09-19 20:10 Jakov Smolić
2022-09-19 20:07 Arthur Zamarin
2022-08-20 13:20 Arthur Zamarin
2022-05-18 14:22 Andrew Ammerlaan
2022-04-26 1:51 Sam James
2021-06-01 20:35 Michał Górny
2021-05-19 18:21 Michał Górny
2020-11-30 21:12 Sergei Trofimovich
2020-11-28 15:26 Sam James
2020-11-28 15:26 Sam James
2020-09-28 17:41 Sergei Trofimovich
2020-09-27 6:42 Matt Turner
2020-09-01 4:22 Sam James
2020-08-29 23:22 Sam James
2020-07-16 19:34 Sam James
2020-06-19 18:10 Michał Górny
2020-05-18 11:52 Michał Górny
2020-05-16 15:37 Michał Górny
2020-05-16 15:37 Michał Górny
2020-05-12 15:54 Mart Raudsepp
2020-03-17 17:14 Michał Górny
2020-02-11 19:51 Agostino Sarubbo
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-11 16:01 Agostino Sarubbo
2020-02-06 5:59 Michał Górny
2019-10-15 15:58 Craig Andrews
2019-10-15 15:58 Craig Andrews
2018-06-27 0:02 Zac Medico
2017-09-17 21:09 Matt Turner
2017-09-12 23:02 Matt Turner
2017-08-06 8:43 Markus Meier
2017-07-31 10:49 Tobias Klausmann
2017-04-20 13:41 Michał Górny
2017-01-30 19:47 Sebastien Fabbro
2016-01-14 9:53 Justin Lecher
2015-10-14 16:56 Justin Lecher
2015-09-20 6:51 Justin Lecher
2015-09-19 12:42 Agostino Sarubbo
2015-08-30 3:07 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1749285876.2a353acb794407b70af691dc1246d1277038803d.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox