From 370a021780b25123a410ffa771ed7d88b8760570 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 26 Jun 2023 14:22:54 +0200 Subject: [PATCH] Refs #34233 -- Bumped minimum supported version of Selenium to 4.8.0. This bumps minimum supported versions of selenium to the first release to support Python 3.10. --- docs/internals/contributing/writing-code/unit-tests.txt | 2 +- docs/releases/5.0.txt | 3 +++ docs/topics/testing/tools.txt | 2 +- tests/requirements/py3.txt | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index dd51f65b76..bed9c91665 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -296,7 +296,7 @@ dependencies: `_ * `gettext `_ (:ref:`gettext_on_windows`) -* :pypi:`selenium` 3.8.0+ +* :pypi:`selenium` 4.8.0+ * :pypi:`sqlparse` 0.3.1+ (required) * :pypi:`tblib` 1.5.0+ diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index 031cc8faf7..0f80dc85bf 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -448,6 +448,9 @@ Miscellaneous * The minimum supported version of ``asgiref`` is increased from 3.6.0 to 3.7.0. +* The minimum supported version of ``selenium`` is increased from 3.8.0 to + 4.8.0. + .. _deprecated-features-5.0: Features deprecated in 5.0 diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 325fcf9c53..561b6eed0e 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1035,7 +1035,7 @@ First of all, you need to install the :pypi:`selenium` package: .. console:: - $ python -m pip install "selenium >= 3.8.0" + $ python -m pip install "selenium >= 4.8.0" Then, add a ``LiveServerTestCase``-based test to your app's tests module (for example: ``myapp/tests.py``). For this example, we'll assume you're using diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index e712f06d6b..5a7cc2f28a 100644 --- a/tests/requirements/py3.txt +++ b/tests/requirements/py3.txt @@ -14,7 +14,7 @@ pymemcache >= 3.4.0 pywatchman; sys.platform != 'win32' PyYAML redis >= 3.4.0 -selenium >= 3.8.0 +selenium >= 4.8.0 sqlparse >= 0.3.1 tblib >= 1.5.0 tzdata