Skip to content

Commit 731297a

Browse files
committed
chore: drop support for Python 3.8
Update 'ubuntu-20.04' image to 'ubuntu-24.04' for Github CI.
1 parent eb0e01a commit 731297a

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

.github/workflows/ci-tests.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,30 @@ jobs:
1515
strategy:
1616
matrix:
1717
py:
18-
- "3.8"
1918
- "3.9"
2019
- "3.10"
2120
- "3.11"
2221
- "3.12"
23-
- "pypy-3.8"
22+
- "pypy-3.10"
2423
os:
25-
- "ubuntu-20.04"
24+
- "ubuntu-24.04"
2625
- "windows-2022"
2726
- "macos-11"
2827
architecture:
2928
- x64
3029
- x86
3130

3231
include:
33-
# Only run coverage on ubuntu-20.04, except on pypy3
34-
- os: "ubuntu-20.04"
32+
# Only run coverage on ubuntu-24.04, except on pypy3
33+
- os: "ubuntu-24.04"
3534
pytest-args: "--cov"
36-
- os: "ubuntu-20.04"
37-
py: "pypy-3.8"
35+
- os: "ubuntu-24.04"
36+
py: "pypy-3.10"
3837
pytest-args: ""
3938

4039
exclude:
4140
# Linux and macOS don't have x86 python
42-
- os: "ubuntu-20.04"
41+
- os: "ubuntu-24.04"
4342
architecture: x86
4443
- os: "macos-11"
4544
architecture: x86
@@ -57,7 +56,7 @@ jobs:
5756
- name: Running tox
5857
run: tox -e py -- ${{ matrix.pytest-args }}
5958
coverage:
60-
runs-on: ubuntu-20.04
59+
runs-on: ubuntu-24.04
6160
name: Validate coverage
6261
steps:
6362
- uses: actions/checkout@v4
@@ -69,26 +68,26 @@ jobs:
6968
- run: pip install tox
7069
- run: tox -e py312-cover,coverage
7170
docs:
72-
runs-on: ubuntu-20.04
71+
runs-on: ubuntu-24.04
7372
name: Build the documentation
7473
steps:
7574
- uses: actions/checkout@v4
7675
- name: Setup python
7776
uses: actions/setup-python@v5
7877
with:
79-
python-version: 3.8
78+
python-version: 3.12
8079
architecture: x64
8180
- run: pip install tox
8281
- run: tox -e docs
8382
lint:
84-
runs-on: ubuntu-20.04
83+
runs-on: ubuntu-24.04
8584
name: Lint the package
8685
steps:
8786
- uses: actions/checkout@v4
8887
- name: Setup python
8988
uses: actions/setup-python@v5
9089
with:
91-
python-version: 3.8
90+
python-version: 3.12
9291
architecture: x64
9392
- run: pip install tox
9493
- run: tox -e lint

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Bug Fixes
5555
Backward Incompatibilities
5656
--------------------------
5757

58-
- Drop support for Python 3.6 and 3.7.
58+
- Drop support for Python 3.6 3.7, and 3.8.
5959

6060
- Drop support for l*gettext() methods in the i18n module.
6161
These have been deprecated in Python's gettext module since 3.8, and

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
lint,
4-
py38,py39,py310,py311,py312,pypy3,
4+
py39,py310,py311,py312,pypy3,
55
py312-cover,coverage,
66
docs
77

0 commit comments

Comments
 (0)