Commit 7f406c8
committed
Add Python 3.14 testing to CI and refactor version matrix
The main purpose of this commit is to enable testing on Python 3.14 in
CI. But Python 3.14 requires a different minimum version of pytest from
any earlier version, meaning that we now have three different minimum
pytest versions that need to be tested depending on the Python version,
and that's very complicated to express by including and excluding
specific configurations as we were doing before. So I refactored
the matrix of versions to take advantage of the ability to have objects
as matrix values, meaning that each Python version can be accompanied by
the specific minimum pytest version it requires in the matrix. This is
much easier to understand and maintain, and it should also have us
running fewer CI jobs overall (since we're no longer going to run
combinations like pytest 6.2.4 on Python 3.7-3.9, which served no
purpose).1 parent 94b2c4f commit 7f406c8
1 file changed
+31
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | | - | |
| 51 | + | |
42 | 52 | | |
43 | 53 | | |
44 | | - | |
| 54 | + | |
45 | 55 | | |
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
51 | | - | |
| 61 | + | |
0 commit comments