Skip to content

Commit d04211d

Browse files
committed
Drop Python 3.8 support
1 parent 3d2b886 commit d04211d

File tree

5 files changed

+15
-21
lines changed

5 files changed

+15
-21
lines changed

.github/workflows/main.yml

+10-16
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
name: [
22-
"windows-py38",
22+
"windows-py39",
2323
"windows-py313",
2424
"windows-pypy3",
2525

26-
"ubuntu-py38-pytestmain",
27-
"ubuntu-py38",
26+
"ubuntu-py39-pytestmain",
2827
"ubuntu-py39",
2928
"ubuntu-py310",
3029
"ubuntu-py311",
@@ -35,10 +34,10 @@ jobs:
3534
]
3635

3736
include:
38-
- name: "windows-py38"
39-
python: "3.8"
37+
- name: "windows-py39"
38+
python: "3.9"
4039
os: windows-latest
41-
tox_env: "py38"
40+
tox_env: "py39"
4241
- name: "windows-py313"
4342
python: "3.13"
4443
os: windows-latest
@@ -47,15 +46,10 @@ jobs:
4746
python: "pypy3.9"
4847
os: windows-latest
4948
tox_env: "pypy3"
50-
- name: "ubuntu-py38"
51-
python: "3.8"
52-
os: ubuntu-latest
53-
tox_env: "py38"
54-
use_coverage: true
55-
- name: "ubuntu-py38-pytestmain"
56-
python: "3.8"
49+
- name: "ubuntu-py39-pytestmain"
50+
python: "3.9"
5751
os: ubuntu-latest
58-
tox_env: "py38-pytestmain"
52+
tox_env: "py39-pytestmain"
5953
use_coverage: true
6054
- name: "ubuntu-py39"
6155
python: "3.9"
@@ -87,7 +81,7 @@ jobs:
8781
tox_env: "pypy3"
8882
use_coverage: true
8983
- name: "ubuntu-benchmark"
90-
python: "3.8"
84+
python: "3.9"
9185
os: ubuntu-latest
9286
tox_env: "benchmark"
9387

@@ -136,7 +130,7 @@ jobs:
136130

137131
- uses: actions/setup-python@v5
138132
with:
139-
python-version: "3.11"
133+
python-version: "3.x"
140134

141135
- name: Install dependencies
142136
run: |

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
rev: v3.19.0
2929
hooks:
3030
- id: pyupgrade
31-
args: [--py38-plus]
31+
args: [--py39-plus]
3232
- repo: https://github.com/asottile/blacken-docs
3333
rev: 1.19.1
3434
hooks:

changelog/556.removal.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Python 3.8 is no longer supported.

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers = [
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
@@ -33,7 +32,7 @@ classifiers = [
3332
]
3433
description = "plugin and hook calling mechanisms for python"
3534
readme = {file = "README.rst", content-type = "text/x-rst"}
36-
requires-python = ">=3.8"
35+
requires-python = ">=3.9"
3736

3837
dynamic = ["version"]
3938
[project.optional-dependencies]

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=docs,py{38,39,310,311,312,313,py3},py{38}-pytest{main}
2+
envlist=docs,py{39,310,311,312,313,py3},py{39}-pytestmain
33

44
[testenv]
55
commands=
@@ -40,7 +40,7 @@ filterwarnings =
4040

4141
[flake8]
4242
max-line-length=99
43-
min-python-version = 3.8
43+
min-python-version = 3.9
4444

4545
[testenv:release]
4646
description = do a release, required posarg of the version number

0 commit comments

Comments
 (0)