Skip to content

Commit ad8f76f

Browse files
authored
Merge pull request #153 from python-trio/GitHub-Actions-Add-Python-3.13-and-3.14
GitHub Actions: Add Python 3.13 and 3.14
2 parents cd6cc14 + 342f3a2 commit ad8f76f

File tree

3 files changed

+22
-24
lines changed

3 files changed

+22
-24
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
16+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
20-
- name: Setup python
21-
uses: actions/setup-python@v2
19+
uses: actions/checkout@v5
20+
- name: Setup Python ${{ matrix.python }}'
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: '${{ matrix.python }}'
24+
allow-prereleases: true
2425
- name: Run tests
2526
run: ./ci.sh
2627
shell: bash
@@ -35,30 +36,25 @@ jobs:
3536
strategy:
3637
fail-fast: false
3738
matrix:
38-
python: ['pypy-3.8', '3.8', 'pypy-3.9', '3.9', 'pypy-3.10', '3.10', '3.11', '3.12']
39+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.11']
3940
check_formatting: ['0']
4041
check_docs: ['0']
4142
extra_name: ['']
4243
include:
43-
- python: '3.9'
44+
- python: '3.x'
4445
check_formatting: '1'
4546
extra_name: ', check formatting'
46-
- python: '3.9'
47+
- python: '3.12' # sphinx-build: cgi module was removed in 3.13
4748
check_docs: '1'
4849
extra_name: ', check docs'
4950
steps:
5051
- name: Checkout
51-
uses: actions/checkout@v2
52-
- name: Setup python
53-
uses: actions/setup-python@v2
54-
if: "!endsWith(matrix.python, '-dev')"
55-
with:
56-
python-version: '${{ matrix.python }}'
57-
- name: Setup python (dev)
58-
uses: deadsnakes/[email protected]
59-
if: endsWith(matrix.python, '-dev')
52+
uses: actions/checkout@v5
53+
- name: Setup Python ${{ matrix.python }}
54+
uses: actions/setup-python@v6
6055
with:
6156
python-version: '${{ matrix.python }}'
57+
allow-prereleases: true
6258
- name: Run tests
6359
run: ./ci.sh
6460
env:
@@ -74,14 +70,15 @@ jobs:
7470
strategy:
7571
fail-fast: false
7672
matrix:
77-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
73+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
7874
steps:
7975
- name: Checkout
80-
uses: actions/checkout@v2
81-
- name: Setup python
82-
uses: actions/setup-python@v2
76+
uses: actions/checkout@v5
77+
- name: Setup Python ${{ matrix.python }}
78+
uses: actions/setup-python@v6
8379
with:
8480
python-version: '${{ matrix.python }}'
81+
allow-prereleases: true
8582
- name: Run tests
8683
run: ./ci.sh
8784
env:

.readthedocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2
44
build:
55
os: ubuntu-22.04
66
tools:
7-
python: "3.9"
7+
python: "3.12" # sphinx-build: cgi module was removed in 3.13
88

99
formats:
1010
- htmlzip
@@ -15,4 +15,5 @@ python:
1515
- requirements: docs-requirements.txt
1616

1717
sphinx:
18+
configuration: docs/source/conf.py
1819
fail_on_warning: true

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ authors = [
1111
description = "Pytest plugin for trio"
1212
readme = {file = "README.md", content-type = "text/markdown"}
1313
license = {file = "LICENSE"}
14-
requires-python = ">=3.8"
14+
requires-python = ">=3.10"
1515
classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"License :: OSI Approved :: MIT License",
1818
"License :: OSI Approved :: Apache Software License",
1919
"Natural Language :: English",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.8",
22-
"Programming Language :: Python :: 3.9",
2321
"Programming Language :: Python :: 3.10",
2422
"Programming Language :: Python :: 3.11",
2523
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2626
"Programming Language :: Python :: 3 :: Only",
2727
"Programming Language :: Python :: Implementation :: CPython",
2828
"Programming Language :: Python :: Implementation :: PyPy",

0 commit comments

Comments
 (0)