From 9f8175467afc67db9001fb364ad1f2dfe79b51f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Tue, 29 Oct 2024 21:54:00 +0200 Subject: [PATCH] Further trim down envs and drop Python 3.8. --- .github/workflows/test.yml | 180 ------------------------------------- CHANGELOG.rst | 3 +- pyproject.toml | 2 +- setup.py | 3 +- tox.ini | 2 +- 5 files changed, 5 insertions(+), 185 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5d8490f..26c8500b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,60 +60,6 @@ jobs: toxpython: 'python3.11' tox_env: 'docs' os: 'ubuntu-latest' - - name: 'py38-pytest83-xdist36-coverage75 (ubuntu)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'x64' - tox_env: 'py38-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'py38-pytest83-xdist36-coverage75 (windows)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'x64' - tox_env: 'py38-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'py38-pytest83-xdist36-coverage75 (macos)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'arm64' - tox_env: 'py38-pytest83-xdist36-coverage75' - os: 'macos-latest' - - name: 'py38-pytest83-xdist36-coverage76 (ubuntu)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'x64' - tox_env: 'py38-pytest83-xdist36-coverage76' - os: 'ubuntu-latest' - - name: 'py38-pytest83-xdist36-coverage76 (windows)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'x64' - tox_env: 'py38-pytest83-xdist36-coverage76' - os: 'windows-latest' - - name: 'py38-pytest83-xdist36-coverage76 (macos)' - python: '3.8' - toxpython: 'python3.8' - python_arch: 'arm64' - tox_env: 'py38-pytest83-xdist36-coverage76' - os: 'macos-latest' - - name: 'py39-pytest83-xdist36-coverage75 (ubuntu)' - python: '3.9' - toxpython: 'python3.9' - python_arch: 'x64' - tox_env: 'py39-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'py39-pytest83-xdist36-coverage75 (windows)' - python: '3.9' - toxpython: 'python3.9' - python_arch: 'x64' - tox_env: 'py39-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'py39-pytest83-xdist36-coverage75 (macos)' - python: '3.9' - toxpython: 'python3.9' - python_arch: 'arm64' - tox_env: 'py39-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'py39-pytest83-xdist36-coverage76 (ubuntu)' python: '3.9' toxpython: 'python3.9' @@ -132,24 +78,6 @@ jobs: python_arch: 'arm64' tox_env: 'py39-pytest83-xdist36-coverage76' os: 'macos-latest' - - name: 'py310-pytest83-xdist36-coverage75 (ubuntu)' - python: '3.10' - toxpython: 'python3.10' - python_arch: 'x64' - tox_env: 'py310-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'py310-pytest83-xdist36-coverage75 (windows)' - python: '3.10' - toxpython: 'python3.10' - python_arch: 'x64' - tox_env: 'py310-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'py310-pytest83-xdist36-coverage75 (macos)' - python: '3.10' - toxpython: 'python3.10' - python_arch: 'arm64' - tox_env: 'py310-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'py310-pytest83-xdist36-coverage76 (ubuntu)' python: '3.10' toxpython: 'python3.10' @@ -168,24 +96,6 @@ jobs: python_arch: 'arm64' tox_env: 'py310-pytest83-xdist36-coverage76' os: 'macos-latest' - - name: 'py311-pytest83-xdist36-coverage75 (ubuntu)' - python: '3.11' - toxpython: 'python3.11' - python_arch: 'x64' - tox_env: 'py311-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'py311-pytest83-xdist36-coverage75 (windows)' - python: '3.11' - toxpython: 'python3.11' - python_arch: 'x64' - tox_env: 'py311-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'py311-pytest83-xdist36-coverage75 (macos)' - python: '3.11' - toxpython: 'python3.11' - python_arch: 'arm64' - tox_env: 'py311-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'py311-pytest83-xdist36-coverage76 (ubuntu)' python: '3.11' toxpython: 'python3.11' @@ -204,24 +114,6 @@ jobs: python_arch: 'arm64' tox_env: 'py311-pytest83-xdist36-coverage76' os: 'macos-latest' - - name: 'py312-pytest83-xdist36-coverage75 (ubuntu)' - python: '3.12' - toxpython: 'python3.12' - python_arch: 'x64' - tox_env: 'py312-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'py312-pytest83-xdist36-coverage75 (windows)' - python: '3.12' - toxpython: 'python3.12' - python_arch: 'x64' - tox_env: 'py312-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'py312-pytest83-xdist36-coverage75 (macos)' - python: '3.12' - toxpython: 'python3.12' - python_arch: 'arm64' - tox_env: 'py312-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'py312-pytest83-xdist36-coverage76 (ubuntu)' python: '3.12' toxpython: 'python3.12' @@ -240,60 +132,6 @@ jobs: python_arch: 'arm64' tox_env: 'py312-pytest83-xdist36-coverage76' os: 'macos-latest' - - name: 'pypy38-pytest83-xdist36-coverage75 (ubuntu)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'x64' - tox_env: 'pypy38-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'pypy38-pytest83-xdist36-coverage75 (windows)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'x64' - tox_env: 'pypy38-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'pypy38-pytest83-xdist36-coverage75 (macos)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'arm64' - tox_env: 'pypy38-pytest83-xdist36-coverage75' - os: 'macos-latest' - - name: 'pypy38-pytest83-xdist36-coverage76 (ubuntu)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'x64' - tox_env: 'pypy38-pytest83-xdist36-coverage76' - os: 'ubuntu-latest' - - name: 'pypy38-pytest83-xdist36-coverage76 (windows)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'x64' - tox_env: 'pypy38-pytest83-xdist36-coverage76' - os: 'windows-latest' - - name: 'pypy38-pytest83-xdist36-coverage76 (macos)' - python: 'pypy-3.8' - toxpython: 'pypy3.8' - python_arch: 'arm64' - tox_env: 'pypy38-pytest83-xdist36-coverage76' - os: 'macos-latest' - - name: 'pypy39-pytest83-xdist36-coverage75 (ubuntu)' - python: 'pypy-3.9' - toxpython: 'pypy3.9' - python_arch: 'x64' - tox_env: 'pypy39-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'pypy39-pytest83-xdist36-coverage75 (windows)' - python: 'pypy-3.9' - toxpython: 'pypy3.9' - python_arch: 'x64' - tox_env: 'pypy39-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'pypy39-pytest83-xdist36-coverage75 (macos)' - python: 'pypy-3.9' - toxpython: 'pypy3.9' - python_arch: 'arm64' - tox_env: 'pypy39-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'pypy39-pytest83-xdist36-coverage76 (ubuntu)' python: 'pypy-3.9' toxpython: 'pypy3.9' @@ -312,24 +150,6 @@ jobs: python_arch: 'arm64' tox_env: 'pypy39-pytest83-xdist36-coverage76' os: 'macos-latest' - - name: 'pypy310-pytest83-xdist36-coverage75 (ubuntu)' - python: 'pypy-3.10' - toxpython: 'pypy3.10' - python_arch: 'x64' - tox_env: 'pypy310-pytest83-xdist36-coverage75' - os: 'ubuntu-latest' - - name: 'pypy310-pytest83-xdist36-coverage75 (windows)' - python: 'pypy-3.10' - toxpython: 'pypy3.10' - python_arch: 'x64' - tox_env: 'pypy310-pytest83-xdist36-coverage75' - os: 'windows-latest' - - name: 'pypy310-pytest83-xdist36-coverage75 (macos)' - python: 'pypy-3.10' - toxpython: 'pypy3.10' - python_arch: 'arm64' - tox_env: 'pypy310-pytest83-xdist36-coverage75' - os: 'macos-latest' - name: 'pypy310-pytest83-xdist36-coverage76 (ubuntu)' python: 'pypy-3.10' toxpython: 'pypy3.10' diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3d3a30ef..d1d60fa3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,13 +2,14 @@ Changelog ========= -5.1.0 (2024-10-29) +6.0.0 (2024-10-29) ------------------ * Updated various documentation inaccuracies, especially on subprocess handling. * Changed fail under checks to use the precision set in the coverage configuration. Now it will perform the check just like ``coverage report`` would. * Added a ``--cov-precision`` cli option that can override the value set in your coverage configuration. +* Dropped support for now EOL Python 3.8. 5.0.0 (2024-03-24) ------------------ diff --git a/pyproject.toml b/pyproject.toml index bdcc05fd..e795c6de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires = [ extend-exclude = ["static", "ci/templates"] line-length = 140 src = ["src", "tests"] -target-version = "py38" +target-version = "py39" [tool.ruff.lint.per-file-ignores] "ci/*" = ["S"] diff --git a/setup.py b/setup.py index 080ac348..82ea33f9 100755 --- a/setup.py +++ b/setup.py @@ -101,7 +101,6 @@ def run(self): 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', @@ -124,7 +123,7 @@ def run(self): 'distributed', 'parallel', ], - python_requires='>=3.8', + python_requires='>=3.9', install_requires=[ 'pytest>=4.6', 'coverage[toml]>=7.5', diff --git a/tox.ini b/tox.ini index ff31d030..5dc537e3 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ envlist = clean, check, docs, - {py38,py39,py310,py311,py312,pypy38,pypy39,pypy310}-{pytest83}-{xdist36}-coverage{75,76}, + {py39,py310,py311,py312,pypy39,pypy310}-{pytest83}-{xdist36}-{coverage76}, report ignore_basepython_conflict = true