Skip to content

Commit 4ff47c3

Browse files
enable builds for python 3.13
1 parent f4a864a commit 4ff47c3

File tree

4 files changed

+40
-6
lines changed

4 files changed

+40
-6
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from packaging.utils import parse_wheel_filename
3333
from packaging.version import Version
3434

35-
PYTHONS = ((3, 11), (3, 12))
35+
PYTHONS = ((3, 11), (3, 12), (3, 13))
3636

3737
BINARY_EXTS = frozenset(
3838
(".c", ".cc", ".cpp", ".cxx", ".pxd", ".pxi", ".pyx", ".go", ".rs")

packages.ini

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ python_versions = <3.12
77
[aiohttp==3.8.5]
88
python_versions = <3.12
99
[aiohttp==3.9.1]
10+
python_versions = <3.13
1011
[aiohttp==3.10.2]
12+
python_versions = <3.13
1113
[aiohttp==3.10.10]
1214

1315
[aiosignal==1.2.0]
@@ -112,6 +114,8 @@ validate_extras = d
112114
[botocore==1.34.128]
113115

114116
[brotli==1.0.9]
117+
python_versions = <3.12
118+
[brotli==1.1.0]
115119

116120
[build==0.8.0]
117121
[build==0.10.0]
@@ -198,6 +202,7 @@ brew_requires = libffi
198202
[click-repl==0.3.0]
199203

200204
[clickhouse-driver==0.2.6]
205+
python_versions = <3.13
201206

202207
[colorama==0.4.5]
203208
[colorama==0.4.6]
@@ -595,12 +600,19 @@ python_versions = <3.12
595600
[grpcio==1.56.0]
596601
python_versions = <3.12
597602
[grpcio==1.59.0]
603+
python_versions = <3.13
598604
[grpcio==1.60.0]
605+
python_versions = <3.13
599606
[grpcio==1.60.1]
607+
python_versions = <3.13
600608
[grpcio==1.62.1]
609+
python_versions = <3.13
601610
[grpcio==1.64.0]
611+
python_versions = <3.13
602612
[grpcio==1.65.4]
613+
python_versions = <3.13
603614
[grpcio==1.66.1]
615+
python_versions = <3.13
604616
[grpcio==1.67.0]
605617

606618
[grpcio-status==1.47.0]
@@ -625,6 +637,7 @@ python_versions = <3.12
625637
[hiredis==2.0.0]
626638
python_versions = <3.12
627639
[hiredis==2.3.2]
640+
python_versions = <3.13
628641

629642
[honcho==1.0.0]
630643
[honcho==1.0.1]
@@ -842,7 +855,9 @@ brew_requires = libmaxminddb
842855
[msgpack==1.0.4]
843856
python_versions = <3.12
844857
[msgpack==1.0.7]
858+
python_versions = <3.13
845859
[msgpack==1.0.8]
860+
python_versions = <3.13
846861
[msgpack==1.1.0]
847862

848863
[msgpack-types==0.2.0]
@@ -919,7 +934,10 @@ python_versions = <3.12
919934
[opentelemetry-proto==1.22.0]
920935

921936
[orjson==3.10.0]
937+
python_versions = <3.13
922938
[orjson==3.10.3]
939+
python_versions = <3.13
940+
[orjson==3.10.9]
923941

924942
[outcome==1.2.0]
925943
[outcome==1.3.0.post0]
@@ -976,10 +994,15 @@ python_versions = <3.12
976994
[pillow==9.5.0]
977995
python_versions = <3.12
978996
[pillow==10.0.0]
997+
python_versions = <3.13
979998
[pillow==10.0.1]
999+
python_versions = <3.13
9801000
[pillow==10.1.0]
1001+
python_versions = <3.13
9811002
[pillow==10.2.0]
1003+
python_versions = <3.13
9821004
[pillow==10.3.0]
1005+
python_versions = <3.13
9831006
[pillow==10.4.0]
9841007

9851008
[pip==22.1.2]
@@ -1086,6 +1109,12 @@ brew_requires =
10861109
python_versions = <3.12
10871110
[psycopg2-binary==2.9.9]
10881111
apt_requires = libpq-dev
1112+
brew_requires =
1113+
1114+
postgresql
1115+
python_versions = <3.13
1116+
[psycopg2-binary==2.9.10]
1117+
apt_requires = libpq-dev
10891118
brew_requires =
10901119
10911120
postgresql
@@ -1286,12 +1315,16 @@ brew_requires = libmemcached
12861315
[pyupgrade==3.17.0]
12871316

12881317
[pyuwsgi==2.0.23]
1318+
python_versions = <3.13
12891319
validate_skip_imports = uwsgidecorators
12901320
[pyuwsgi==2.0.23.post0]
1321+
python_versions = <3.13
12911322
validate_skip_imports = uwsgidecorators
12921323
[pyuwsgi==2.0.26]
1324+
python_versions = <3.13
12931325
validate_skip_imports = uwsgidecorators
12941326
[pyuwsgi==2.0.27a1]
1327+
python_versions = <3.13
12951328
validate_skip_imports = uwsgidecorators
12961329

12971330
[pyvat==1.3.15]
@@ -2441,6 +2474,7 @@ python_versions = <3.12
24412474
[yarl==1.9.2]
24422475
python_versions = <3.12
24432476
[yarl==1.9.4]
2477+
python_versions = <3.13
24442478
[yarl==1.15.4]
24452479

24462480
[zipp==3.5.0]

tests/validate_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,24 @@ def test_pythons_to_check_no_pythons_raises_error():
4343

4444
def test_pythons_to_check_py2_ignored():
4545
ret = validate._pythons_to_check(parse_tag("py2.py3-none-any"))
46-
assert ret == ("python3.11", "python3.12")
46+
assert ret == ("python3.11", "python3.12", "python3.13")
4747

4848

4949
def test_pythons_to_check_py3_gives_all():
5050
ret = validate._pythons_to_check(parse_tag("py3-none-any"))
51-
assert ret == ("python3.11", "python3.12")
51+
assert ret == ("python3.11", "python3.12", "python3.13")
5252

5353

5454
def test_pythons_to_check_abi3():
5555
tag = "cp37-abi3-manylinux1_x86_64"
5656
ret = validate._pythons_to_check(parse_tag(tag))
57-
assert ret == ("python3.11", "python3.12")
57+
assert ret == ("python3.11", "python3.12", "python3.13")
5858

5959

6060
def test_pythons_to_check_minimum_abi3():
6161
tag = "cp312-abi3-manylinux1_x86_64"
6262
ret = validate._pythons_to_check(parse_tag(tag))
63-
assert ret == ("python3.12",)
63+
assert ret == ("python3.12", "python3.13")
6464

6565

6666
def test_pythons_to_check_specific_cpython_tag():

validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from packaging.utils import parse_wheel_filename
1616
from packaging.version import Version
1717

18-
PYTHONS = ((3, 11), (3, 12))
18+
PYTHONS = ((3, 11), (3, 12), (3, 13))
1919
DIST_INFO_RE = re.compile(r"^[^/]+.dist-info/[^/]+$")
2020

2121

0 commit comments

Comments
 (0)