From a790dc5d72999e892304e9d50438b81bef4b6665 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Wed, 3 Apr 2024 18:04:32 +0300 Subject: [PATCH] Drop support for Python 3.7 Fix #1053 --- .github/workflows/test.yml | 3 --- changelog/1053.removal | 1 + pyproject.toml | 3 +-- tox.ini | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 changelog/1053.removal diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5612e5f..73db483b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,6 @@ jobs: fail-fast: false matrix: tox_env: - - "py37-pytestlatest" - "py38-pytestlatest" - "py39-pytestlatest" - "py310-pytestlatest" @@ -46,8 +45,6 @@ jobs: os: [ubuntu-latest, windows-latest] include: - - tox_env: "py37-pytestlatest" - python: "3.7" - tox_env: "py38-pytestlatest" python: "3.8" - tox_env: "py39-pytestlatest" diff --git a/changelog/1053.removal b/changelog/1053.removal new file mode 100644 index 00000000..3cb186bf --- /dev/null +++ b/changelog/1053.removal @@ -0,0 +1 @@ +Dropped support for Python 3.7. diff --git a/pyproject.toml b/pyproject.toml index ef5a35a5..651e8995 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,14 +25,13 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "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", ] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "execnet>=1.1", "pytest>=6.2.0", diff --git a/tox.ini b/tox.ini index 5f46dca3..e25c5a79 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist= linting - py{37,38,39,310,311,312}-pytestlatest + py{38,39,310,311,312}-pytestlatest py310-pytestmain py310-psutil py310-setproctitle