From 2ee908480778cf3fc9d9f33b14b25c1e56c1710f Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 27 Apr 2025 18:31:02 -0400 Subject: [PATCH] Remove support for Python 3.8 --- .github/workflows/check.yaml | 3 --- docs/changelog/2874.removal.rst | 1 + src/virtualenv/seed/wheels/embed/__init__.py | 7 +------ tox.ini | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) create mode 100644 docs/changelog/2874.removal.rst diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index fd32f196c..a9dfdb36d 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -28,10 +28,8 @@ jobs: - "3.11" - "3.10" - "3.9" - - "3.8" - pypy-3.10 - pypy-3.9 - - pypy-3.8 - graalpy-24.1 os: - ubuntu-latest @@ -45,7 +43,6 @@ jobs: - { os: windows-latest, py: "graalpy-24.1" } - { os: windows-latest, py: "pypy-3.10" } - { os: windows-latest, py: "pypy-3.9" } - - { os: windows-latest, py: "pypy-3.8" } steps: - uses: taiki-e/install-action@cargo-binstall - name: Install OS dependencies diff --git a/docs/changelog/2874.removal.rst b/docs/changelog/2874.removal.rst new file mode 100644 index 000000000..6b70df810 --- /dev/null +++ b/docs/changelog/2874.removal.rst @@ -0,0 +1 @@ +Remove support for Python 3.8, which is now end of life upstream. diff --git a/src/virtualenv/seed/wheels/embed/__init__.py b/src/virtualenv/seed/wheels/embed/__init__.py index 4727e6101..7519e2abc 100644 --- a/src/virtualenv/seed/wheels/embed/__init__.py +++ b/src/virtualenv/seed/wheels/embed/__init__.py @@ -6,11 +6,6 @@ BUNDLE_FOLDER = Path(__file__).absolute().parent BUNDLE_SUPPORT = { - "3.8": { - "pip": "pip-25.0.1-py3-none-any.whl", - "setuptools": "setuptools-75.3.2-py3-none-any.whl", - "wheel": "wheel-0.45.1-py3-none-any.whl", - }, "3.9": { "pip": "pip-25.0.1-py3-none-any.whl", "setuptools": "setuptools-78.1.0-py3-none-any.whl", @@ -42,7 +37,7 @@ "wheel": "wheel-0.45.1-py3-none-any.whl", }, } -MAX = "3.8" +MAX = "3.9" def get_embed_wheel(distribution, for_py_version): diff --git a/tox.ini b/tox.ini index c805ab43f..022296cee 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,6 @@ env_list = 3.11 3.10 3.9 - 3.8 graalpy coverage readme