Skip to content

Commit 627e21b

Browse files
enable builds for python 3.13
1 parent f4a864a commit 627e21b

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-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: 33 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]
@@ -595,12 +599,19 @@ python_versions = <3.12
595599
[grpcio==1.56.0]
596600
python_versions = <3.12
597601
[grpcio==1.59.0]
602+
python_versions = <3.13
598603
[grpcio==1.60.0]
604+
python_versions = <3.13
599605
[grpcio==1.60.1]
606+
python_versions = <3.13
600607
[grpcio==1.62.1]
608+
python_versions = <3.13
601609
[grpcio==1.64.0]
610+
python_versions = <3.13
602611
[grpcio==1.65.4]
612+
python_versions = <3.13
603613
[grpcio==1.66.1]
614+
python_versions = <3.13
604615
[grpcio==1.67.0]
605616

606617
[grpcio-status==1.47.0]
@@ -625,6 +636,7 @@ python_versions = <3.12
625636
[hiredis==2.0.0]
626637
python_versions = <3.12
627638
[hiredis==2.3.2]
639+
python_versions = <3.13
628640

629641
[honcho==1.0.0]
630642
[honcho==1.0.1]
@@ -842,7 +854,9 @@ brew_requires = libmaxminddb
842854
[msgpack==1.0.4]
843855
python_versions = <3.12
844856
[msgpack==1.0.7]
857+
python_versions = <3.13
845858
[msgpack==1.0.8]
859+
python_versions = <3.13
846860
[msgpack==1.1.0]
847861

848862
[msgpack-types==0.2.0]
@@ -919,7 +933,10 @@ python_versions = <3.12
919933
[opentelemetry-proto==1.22.0]
920934

921935
[orjson==3.10.0]
936+
python_versions = <3.13
922937
[orjson==3.10.3]
938+
python_versions = <3.13
939+
[orjson==3.10.9]
923940

924941
[outcome==1.2.0]
925942
[outcome==1.3.0.post0]
@@ -976,10 +993,15 @@ python_versions = <3.12
976993
[pillow==9.5.0]
977994
python_versions = <3.12
978995
[pillow==10.0.0]
996+
python_versions = <3.13
979997
[pillow==10.0.1]
998+
python_versions = <3.13
980999
[pillow==10.1.0]
1000+
python_versions = <3.13
9811001
[pillow==10.2.0]
1002+
python_versions = <3.13
9821003
[pillow==10.3.0]
1004+
python_versions = <3.13
9831005
[pillow==10.4.0]
9841006

9851007
[pip==22.1.2]
@@ -1086,6 +1108,12 @@ brew_requires =
10861108
python_versions = <3.12
10871109
[psycopg2-binary==2.9.9]
10881110
apt_requires = libpq-dev
1111+
brew_requires =
1112+
1113+
postgresql
1114+
python_versions = <3.13
1115+
[psycopg2-binary==2.9.10]
1116+
apt_requires = libpq-dev
10891117
brew_requires =
10901118
10911119
postgresql
@@ -1286,12 +1314,16 @@ brew_requires = libmemcached
12861314
[pyupgrade==3.17.0]
12871315

12881316
[pyuwsgi==2.0.23]
1317+
python_versions = <3.13
12891318
validate_skip_imports = uwsgidecorators
12901319
[pyuwsgi==2.0.23.post0]
1320+
python_versions = <3.13
12911321
validate_skip_imports = uwsgidecorators
12921322
[pyuwsgi==2.0.26]
1323+
python_versions = <3.13
12931324
validate_skip_imports = uwsgidecorators
12941325
[pyuwsgi==2.0.27a1]
1326+
python_versions = <3.13
12951327
validate_skip_imports = uwsgidecorators
12961328

12971329
[pyvat==1.3.15]
@@ -2441,6 +2473,7 @@ python_versions = <3.12
24412473
[yarl==1.9.2]
24422474
python_versions = <3.12
24432475
[yarl==1.9.4]
2476+
python_versions = <3.13
24442477
[yarl==1.15.4]
24452478

24462479
[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)