Skip to content

Commit e317372

Browse files
authored
Support Python 3.13 (#101)
1 parent 23c2260 commit e317372

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.github/workflows/ci.yml

+17-16
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu, macos]
19-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
19+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
2020
# test pypy on ubuntu only to speed up CI, no reason why macos X pypy should fail separately
2121
include:
2222
- os: 'ubuntu'
@@ -31,12 +31,13 @@ jobs:
3131
OS: ${{ matrix.os }}
3232

3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535

3636
- name: set up python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
with:
3939
python-version: ${{ matrix.python-version }}
40+
allow-prereleases: true
4041

4142
- run: pip install -r requirements/tests.txt -r requirements/pyproject.txt
4243

@@ -53,11 +54,11 @@ jobs:
5354
runs-on: ubuntu-latest
5455

5556
steps:
56-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@v4
5758

58-
- uses: actions/setup-python@v4
59+
- uses: actions/setup-python@v5
5960
with:
60-
python-version: '3.11'
61+
python-version: '3.12'
6162

6263
- run: pip install -r requirements/linting.txt
6364

@@ -68,12 +69,12 @@ jobs:
6869
docs:
6970
runs-on: ubuntu-latest
7071
steps:
71-
- uses: actions/checkout@v3
72+
- uses: actions/checkout@v4
7273

7374
- name: set up python
74-
uses: actions/setup-python@v4
75+
uses: actions/setup-python@v5
7576
with:
76-
python-version: '3.11'
77+
python-version: '3.12'
7778

7879
- name: install
7980
run: pip install -r requirements/docs.txt
@@ -112,16 +113,16 @@ jobs:
112113

113114
steps:
114115
- name: checkout docs-site
115-
uses: actions/checkout@v3
116+
uses: actions/checkout@v4
116117
with:
117118
ref: docs-site
118119

119-
- uses: actions/checkout@v3
120+
- uses: actions/checkout@v4
120121

121122
- name: set up python
122-
uses: actions/setup-python@v4
123+
uses: actions/setup-python@v5
123124
with:
124-
python-version: '3.9'
125+
python-version: '3.12'
125126

126127
- name: install
127128
run: pip install -r requirements/docs.txt
@@ -159,12 +160,12 @@ jobs:
159160
id-token: write
160161

161162
steps:
162-
- uses: actions/checkout@v3
163+
- uses: actions/checkout@v4
163164

164165
- name: set up python
165-
uses: actions/setup-python@v4
166+
uses: actions/setup-python@v5
166167
with:
167-
python-version: '3.11'
168+
python-version: '3.12'
168169

169170
- name: install
170171
run: pip install -U build

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ classifiers = [
3030
'Programming Language :: Python :: 3.10',
3131
'Programming Language :: Python :: 3.11',
3232
'Programming Language :: Python :: 3.12',
33+
'Programming Language :: Python :: 3.13',
3334
'Topic :: Software Development :: Libraries :: Python Modules',
3435
'Topic :: Internet',
3536
'Typing :: Typed',

0 commit comments

Comments
 (0)