diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 00040c5d40ddf..bbdc08a4552a9 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -20,10 +20,10 @@ jobs: steps: - name: Checkout source tree uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -40,10 +40,10 @@ jobs: steps: - name: Checkout source tree uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -62,10 +62,10 @@ jobs: steps: - name: Checkout source tree uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 4bed149651701..8fe2983566455 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -107,10 +107,10 @@ jobs: run: | git config --local user.email "selenium-ci@users.noreply.github.com" git config --local user.name "Selenium CI Bot" - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 49fae4aecd61d..342d435498fe3 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -277,17 +277,17 @@ py_wheel( "Topic :: Software Development :: Testing", "Topic :: Software Development :: Libraries", "Programming Language :: Python", - "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", + "Programming Language :: Python :: 3.13", ], description_file = "README.rst", distribution = "selenium", homepage = "https://www.selenium.dev", license = "Apache 2.0", - python_requires = ">=3.8", + python_requires = ">=3.9", python_tag = "py3", requires = [ "urllib3[socks]>=1.26,<3", diff --git a/py/docs/source/index.rst b/py/docs/source/index.rst index 9f8c9ed892d56..2133a11e05949 100755 --- a/py/docs/source/index.rst +++ b/py/docs/source/index.rst @@ -24,7 +24,7 @@ Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer), as Supported Python Versions ========================= -* Python 3.8+ +* Python 3.9+ Installing ========== diff --git a/py/pyproject.toml b/py/pyproject.toml index a30b604e49be0..2c9ffb2117359 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -8,7 +8,7 @@ version = "4.28.0.202411261607" license = { text = "Apache 2.0" } description = "Official Python bindings for Selenium WebDriver." readme = "README.rst" -requires-python = "~=3.8" +requires-python = "~=3.9" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -19,7 +19,6 @@ classifiers = [ "Topic :: Software Development :: Testing", "Topic :: Software Development :: Libraries", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/py/tox.ini b/py/tox.ini index 083da94651e71..ca089bd75100a 100644 --- a/py/tox.ini +++ b/py/tox.ini @@ -47,7 +47,7 @@ commands = isort --check-only --diff selenium/ test/ conftest.py ; execute black in check only mode with diff. black --check --diff selenium/ test/ conftest.py -l 120 - flake8 selenium/ test/ --min-python-version=3.8 + flake8 selenium/ test/ --min-python-version=3.9 docformatter --check -r selenium/ [testenv:linting] @@ -64,7 +64,7 @@ deps = commands = isort selenium/ test/ conftest.py black selenium/ test/ conftest.py -l 120 - flake8 selenium/ test/ --min-python-version=3.8 + flake8 selenium/ test/ --min-python-version=3.9 docformatter --in-place -r selenium/ [flake8]