Skip to content

Commit 888c934

Browse files
committed
Add official support for Python 3.13
And start running CI against it.
1 parent abe4bb3 commit 888c934

File tree

6 files changed

+52
-5
lines changed

6 files changed

+52
-5
lines changed

.ci/.matrix_exclude.yml

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ exclude:
6969
FRAMEWORK: celery-5-django-3
7070
- VERSION: python-3.12 # https://github.com/celery/billiard/issues/377
7171
FRAMEWORK: celery-5-django-4
72+
- VERSION: python-3.13 # https://github.com/celery/billiard/issues/377
73+
FRAMEWORK: celery-5-flask-2
74+
- VERSION: python-3.13 # https://github.com/celery/billiard/issues/377
75+
FRAMEWORK: celery-5-django-3
76+
- VERSION: python-3.13 # https://github.com/celery/billiard/issues/377
77+
FRAMEWORK: celery-5-django-4
7278
- VERSION: python-3.10
7379
FRAMEWORK: graphene-2
7480
- VERSION: python-3.10
@@ -111,25 +117,47 @@ exclude:
111117
FRAMEWORK: cassandra-3.4
112118
- VERSION: python-3.12
113119
FRAMEWORK: pymongo-3.5
120+
- VERSION: python-3.13
121+
FRAMEWORK: django-1.11
122+
- VERSION: python-3.13
123+
FRAMEWORK: django-2.0
124+
- VERSION: python-3.13
125+
FRAMEWORK: django-2.1
126+
- VERSION: python-3.13
127+
FRAMEWORK: graphene-2
128+
- VERSION: python-3.13
129+
FRAMEWORK: aiohttp-3.0
130+
- VERSION: python-3.13
131+
FRAMEWORK: aiohttp-4.0
132+
- VERSION: python-3.13
133+
FRAMEWORK: cassandra-3.4
134+
- VERSION: python-3.13
135+
FRAMEWORK: pymongo-3.5
114136
# pymongo
115137
- VERSION: python-3.10
116138
FRAMEWORK: pymongo-3.1
117139
- VERSION: python-3.11
118140
FRAMEWORK: pymongo-3.1
119141
- VERSION: python-3.12
120142
FRAMEWORK: pymongo-3.1
143+
- VERSION: python-3.13
144+
FRAMEWORK: pymongo-3.1
121145
- VERSION: python-3.10
122146
FRAMEWORK: pymongo-3.2
123147
- VERSION: python-3.11
124148
FRAMEWORK: pymongo-3.2
125149
- VERSION: python-3.12
126150
FRAMEWORK: pymongo-3.2
151+
- VERSION: python-3.13
152+
FRAMEWORK: pymongo-3.2
127153
- VERSION: python-3.10
128154
FRAMEWORK: pymongo-3.3
129155
- VERSION: python-3.11
130156
FRAMEWORK: pymongo-3.3
131157
- VERSION: python-3.12
132158
FRAMEWORK: pymongo-3.3
159+
- VERSION: python-3.13
160+
FRAMEWORK: pymongo-3.3
133161
- VERSION: python-3.8
134162
FRAMEWORK: pymongo-3.4
135163
- VERSION: python-3.9
@@ -140,6 +168,8 @@ exclude:
140168
FRAMEWORK: pymongo-3.4
141169
- VERSION: python-3.12
142170
FRAMEWORK: pymongo-3.4
171+
- VERSION: python-3.13
172+
FRAMEWORK: pymongo-3.4
143173
- VERSION: pypy-3
144174
FRAMEWORK: pymongo-3.0
145175
# pymssql
@@ -163,6 +193,10 @@ exclude:
163193
FRAMEWORK: boto3-1.5
164194
- VERSION: python-3.12
165195
FRAMEWORK: boto3-1.6
196+
- VERSION: python-3.13
197+
FRAMEWORK: boto3-1.5
198+
- VERSION: python-3.13
199+
FRAMEWORK: boto3-1.6
166200
# aiohttp client, only supported in Python 3.7+
167201
- VERSION: pypy-3
168202
FRAMEWORK: aiohttp-3.0
@@ -254,11 +288,21 @@ exclude:
254288
FRAMEWORK: twisted-16
255289
- VERSION: python-3.12
256290
FRAMEWORK: twisted-15
291+
- VERSION: python-3.13
292+
FRAMEWORK: twisted-18
293+
- VERSION: python-3.13
294+
FRAMEWORK: twisted-17
295+
- VERSION: python-3.13
296+
FRAMEWORK: twisted-16
297+
- VERSION: python-3.13
298+
FRAMEWORK: twisted-15
257299
# pylibmc
258300
- VERSION: python-3.11
259301
FRAMEWORK: pylibmc-1.4
260302
- VERSION: python-3.12
261303
FRAMEWORK: pylibmc-1.4
304+
- VERSION: python-3.13
305+
FRAMEWORK: pylibmc-1.4
262306
# grpc
263307
- VERSION: python-3.6
264308
FRAMEWORK: grpc-newest
@@ -274,6 +318,8 @@ exclude:
274318
FRAMEWORK: grpc-1.24
275319
- VERSION: python-3.12
276320
FRAMEWORK: grpc-1.24
321+
- VERSION: python-3.13
322+
FRAMEWORK: grpc-1.24
277323
- VERSION: python-3.7
278324
FRAMEWORK: flask-1.0
279325
- VERSION: python-3.7
@@ -283,7 +329,5 @@ exclude:
283329
# TODO py3.12
284330
- VERSION: python-3.12
285331
FRAMEWORK: sanic-20.12 # no wheels available yet
286-
- VERSION: python-3.12
287-
FRAMEWORK: kafka-python-newest # https://github.com/dpkp/kafka-python/pull/2376
288-
- VERSION: python-3.12
332+
- VERSION: python-3.13
289333
FRAMEWORK: cassandra-newest # c extension issue

.ci/.matrix_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VERSION:
22
- python-3.6
3-
- python-3.12
3+
- python-3.13

.ci/.matrix_python_full.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ VERSION:
66
- python-3.10
77
- python-3.11
88
- python-3.12
9+
- python-3.13
910
# - pypy-3 # excluded due to build issues with SQLite/Django

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test:
1111
# delete any __pycache__ folders to avoid hard-to-debug caching issues
1212
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
1313
# pypy3 should be added to the first `if` once it supports py3.7
14-
if [[ "$$PYTHON_VERSION" =~ ^(3.7|3.8|3.9|3.10|3.11|3.12|nightly)$$ ]] ; then \
14+
if [[ "$$PYTHON_VERSION" =~ ^(3.7|3.8|3.9|3.10|3.11|3.12|3.13|nightly)$$ ]] ; then \
1515
echo "Python 3.7+, with asyncio"; \
1616
pytest -v $(PYTEST_ARGS) --showlocals $(PYTEST_MARKER) $(PYTEST_JUNIT); \
1717
else \

docs/reference/supported-technologies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The following Python versions are supported:
3030
* 3.10
3131
* 3.11
3232
* 3.12
33+
* 3.13
3334

3435

3536
### Django [supported-django]

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers =
2222
Programming Language :: Python :: 3.10
2323
Programming Language :: Python :: 3.11
2424
Programming Language :: Python :: 3.12
25+
Programming Language :: Python :: 3.13
2526
Programming Language :: Python :: Implementation :: CPython
2627
Programming Language :: Python :: Implementation :: PyPy
2728
License :: OSI Approved :: BSD License

0 commit comments

Comments
 (0)