Skip to content

Commit 93726c1

Browse files
Upgrade CI from 3.8 to 3.9
1 parent e61ac28 commit 93726c1

File tree

3 files changed

+34
-42
lines changed

3 files changed

+34
-42
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,23 @@ jobs:
5454
fail-fast: false
5555
matrix:
5656
name: [
57-
"windows-py38",
58-
"windows-py38-pluggy",
57+
"windows-py39-pluggy",
5958
"windows-py39",
6059
"windows-py310",
6160
"windows-py311",
6261
"windows-py312",
6362
"windows-py313",
6463

65-
"ubuntu-py38",
66-
"ubuntu-py38-pluggy",
67-
"ubuntu-py38-freeze",
64+
"ubuntu-py39-lsof-numpy-pexpect",
65+
"ubuntu-py39-pluggy",
66+
"ubuntu-py39-freeze",
6867
"ubuntu-py39",
6968
"ubuntu-py310",
7069
"ubuntu-py311",
7170
"ubuntu-py312",
7271
"ubuntu-py313",
7372
"ubuntu-pypy3",
7473

75-
"macos-py38",
7674
"macos-py39",
7775
"macos-py310",
7876
"macos-py312",
@@ -83,15 +81,15 @@ jobs:
8381
]
8482

8583
include:
86-
- name: "windows-py38"
87-
python: "3.8"
84+
- name: "windows-py39-unittestextras"
85+
python: "3.9"
8886
os: windows-latest
89-
tox_env: "py38-unittestextras"
87+
tox_env: "py39-unittestextras"
9088
use_coverage: true
91-
- name: "windows-py38-pluggy"
92-
python: "3.8"
89+
- name: "windows-py39-pluggy"
90+
python: "3.9"
9391
os: windows-latest
94-
tox_env: "py38-pluggymain-pylib-xdist"
92+
tox_env: "py39-pluggymain-pylib-xdist"
9593
- name: "windows-py39"
9694
python: "3.9"
9795
os: windows-latest
@@ -109,28 +107,27 @@ jobs:
109107
os: windows-latest
110108
tox_env: "py312"
111109
- name: "windows-py313"
112-
python: "3.13-dev"
110+
python: "3.13"
113111
os: windows-latest
114112
tox_env: "py313"
115113

116-
- name: "ubuntu-py38"
117-
python: "3.8"
114+
- name: "ubuntu-py39-lsof-numpy-pexpect"
115+
python: "3.9"
118116
os: ubuntu-latest
119-
tox_env: "py38-lsof-numpy-pexpect"
120-
use_coverage: true
121-
- name: "ubuntu-py38-pluggy"
122-
python: "3.8"
117+
tox_env: "py39-lsof-numpy-pexpect"
118+
- name: "ubuntu-py39-pluggy"
119+
python: "3.9"
123120
os: ubuntu-latest
124-
tox_env: "py38-pluggymain-pylib-xdist"
125-
- name: "ubuntu-py38-freeze"
126-
python: "3.8"
121+
tox_env: "py39-pluggymain-pylib-xdist"
122+
- name: "ubuntu-py39-freeze"
123+
python: "3.9"
127124
os: ubuntu-latest
128-
tox_env: "py38-freeze"
129-
- name: "ubuntu-py39"
125+
tox_env: "py39-freeze"
126+
- name: "ubuntu-py39-xdist"
130127
python: "3.9"
131128
os: ubuntu-latest
132129
tox_env: "py39-xdist"
133-
- name: "ubuntu-py310"
130+
- name: "ubuntu-py310-xdist"
134131
python: "3.10"
135132
os: ubuntu-latest
136133
tox_env: "py310-xdist"
@@ -145,7 +142,7 @@ jobs:
145142
tox_env: "py312"
146143
use_coverage: true
147144
- name: "ubuntu-py313"
148-
python: "3.13-dev"
145+
python: "3.13"
149146
os: ubuntu-latest
150147
tox_env: "py313-pexpect"
151148
use_coverage: true
@@ -154,10 +151,6 @@ jobs:
154151
os: ubuntu-latest
155152
tox_env: "pypy3-xdist"
156153

157-
- name: "macos-py38"
158-
python: "3.8"
159-
os: macos-latest
160-
tox_env: "py38-xdist"
161154
- name: "macos-py39"
162155
python: "3.9"
163156
os: macos-latest
@@ -172,7 +165,7 @@ jobs:
172165
os: macos-latest
173166
tox_env: "py312-xdist"
174167
- name: "macos-py313"
175-
python: "3.13-dev"
168+
python: "3.13"
176169
os: macos-latest
177170
tox_env: "py313-xdist"
178171

@@ -182,7 +175,7 @@ jobs:
182175
tox_env: "plugins"
183176

184177
- name: "doctesting"
185-
python: "3.8"
178+
python: "3.9"
186179
os: ubuntu-latest
187180
tox_env: "doctesting"
188181
use_coverage: true
@@ -192,12 +185,12 @@ jobs:
192185
contains(
193186
fromJSON(
194187
'[
195-
"windows-py38-pluggy",
188+
"windows-py39-pluggy",
196189
"windows-py313",
197-
"ubuntu-py38-pluggy",
198-
"ubuntu-py38-freeze",
190+
"ubuntu-py39-pluggy",
191+
"ubuntu-py39-freeze",
199192
"ubuntu-py313",
200-
"macos-py38",
193+
"macos-py39",
201194
"macos-py313"
202195
]'
203196
),

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ write_to = "src/_pytest/_version.py"
8484

8585
[tool.black]
8686
target-version = [
87-
'py38',
87+
'py39',
8888
]
8989

9090
[tool.ruff]
@@ -508,7 +508,7 @@ files = [
508508
mypy_path = [
509509
"src",
510510
]
511-
python_version = "3.8"
511+
python_version = "3.9"
512512
check_untyped_defs = true
513513
disallow_any_generics = true
514514
disallow_untyped_defs = true

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ minversion = 3.20.0
44
distshare = {homedir}/.tox/distshare
55
envlist =
66
linting
7-
py38
87
py39
98
py310
109
py311
1110
py312
1211
py313
1312
pypy3
14-
py38-{pexpect,xdist,unittestextras,numpy,pluggymain,pylib}
13+
py39-{pexpect,xdist,unittestextras,numpy,pluggymain,pylib}
1514
doctesting
1615
doctesting-coverage
1716
plugins
18-
py38-freeze
17+
py39-freeze
1918
docs
2019
docs-checklinks
2120

@@ -178,7 +177,7 @@ commands =
178177
pytest pytest_twisted_integration.py
179178
pytest simple_integration.py --force-sugar --flakes
180179

181-
[testenv:py38-freeze]
180+
[testenv:py39-freeze]
182181
description =
183182
test pytest frozen with `pyinstaller` under `{basepython}`
184183
changedir = testing/freeze

0 commit comments

Comments
 (0)