Skip to content

Commit 878134a

Browse files
authored
Support Python 3.13 (#257)
* Support Python 3.13 * run ./python-spec/update-requirements-txt
1 parent c3262e1 commit 878134a

8 files changed

+112
-69
lines changed

.github/workflows/python-somacore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
python-version: ["3.9", "3.10", "3.11", "3.12"]
48+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4949
steps:
5050
- uses: actions/checkout@v4
5151
with:

python-spec/requirements-py3.10.txt

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
anndata==0.10.7
2-
array_api_compat==1.7.1
3-
attrs==23.2.0
4-
exceptiongroup==1.2.1
5-
h5py==3.11.0
6-
llvmlite==0.43.0
1+
anndata==0.11.3
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
exceptiongroup==1.2.2
5+
h5py==3.13.0
76
natsort==8.4.0
8-
numpy==2.0.0
9-
packaging==24.1
10-
pandas==2.2.2
11-
pyarrow==16.1.0
7+
numpy==2.2.3
8+
packaging==24.2
9+
pandas==2.2.3
10+
pyarrow==19.0.1
1211
pyarrow-hotfix==0.6
1312
python-dateutil==2.9.0.post0
14-
pytz==2024.1
15-
scipy==1.13.1
16-
shapely==2.0.4
17-
six==1.16.0
13+
pytz==2025.1
14+
scipy==1.15.2
15+
shapely==2.0.7
16+
six==1.17.0
1817
typing_extensions==4.12.2
19-
tzdata==2024.1
18+
tzdata==2025.1

python-spec/requirements-py3.11.txt

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
anndata==0.10.7
2-
array_api_compat==1.7.1
3-
attrs==23.2.0
4-
h5py==3.11.0
5-
llvmlite==0.43.0
1+
anndata==0.11.3
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
h5py==3.13.0
65
natsort==8.4.0
7-
numpy==2.0.0
8-
packaging==24.1
9-
pandas==2.2.2
10-
pyarrow==16.1.0
6+
numpy==2.2.3
7+
packaging==24.2
8+
pandas==2.2.3
9+
pyarrow==19.0.1
1110
pyarrow-hotfix==0.6
1211
python-dateutil==2.9.0.post0
13-
pytz==2024.1
14-
shapely==2.0.4
15-
scipy==1.13.1
16-
six==1.16.0
12+
pytz==2025.1
13+
scipy==1.15.2
14+
shapely==2.0.7
15+
six==1.17.0
1716
typing_extensions==4.12.2
18-
tzdata==2024.1
17+
tzdata==2025.1

python-spec/requirements-py3.12.txt

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
anndata==0.10.7
2-
array_api_compat==1.7.1
3-
attrs==23.2.0
4-
h5py==3.11.0
5-
llvmlite==0.43.0
1+
anndata==0.11.3
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
h5py==3.13.0
65
natsort==8.4.0
7-
numpy==2.0.0
8-
packaging==24.1
9-
pandas==2.2.2
10-
pyarrow==16.1.0
6+
numpy==2.2.3
7+
packaging==24.2
8+
pandas==2.2.3
9+
pyarrow==19.0.1
1110
pyarrow-hotfix==0.6
1211
python-dateutil==2.9.0.post0
13-
pytz==2024.1
14-
scipy==1.13.1
15-
setuptools==70.0.0
16-
shapely==2.0.4
17-
six==1.16.0
12+
pytz==2025.1
13+
scipy==1.15.2
14+
setuptools==75.8.2
15+
shapely==2.0.7
16+
six==1.17.0
1817
typing_extensions==4.12.2
19-
tzdata==2024.1
20-
wheel==0.43.0
18+
tzdata==2025.1
19+
wheel==0.45.1

python-spec/requirements-py3.13.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
anndata==0.11.3
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
h5py==3.13.0
5+
natsort==8.4.0
6+
numpy==2.2.3
7+
packaging==24.2
8+
pandas==2.2.3
9+
pyarrow==19.0.1
10+
pyarrow-hotfix==0.6
11+
python-dateutil==2.9.0.post0
12+
pytz==2025.1
13+
scipy==1.15.2
14+
shapely==2.0.7
15+
six==1.17.0
16+
typing_extensions==4.12.2
17+
tzdata==2025.1
Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1-
mypy==1.11.2
2-
pandas-stubs==2.2.2.240807 # last version which supports Python 3.9
3-
pre-commit==3.8.0
1+
anndata==0.10.9
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
black==25.1.0
5+
cfgv==3.4.0
6+
click==8.1.8
7+
distlib==0.3.9
8+
exceptiongroup==1.2.2
9+
filelock==3.17.0
10+
h5py==3.13.0
11+
identify==2.6.8
12+
isort==6.0.1
13+
mypy==1.15.0
14+
mypy-extensions==1.0.0
15+
natsort==8.4.0
16+
nodeenv==1.9.1
17+
numpy==2.0.2
18+
packaging==24.2
19+
pandas==2.2.3
20+
pandas-stubs==2.2.2.240807
21+
pathspec==0.12.1
22+
platformdirs==4.3.6
23+
pre_commit==4.1.0
24+
pyarrow==19.0.1
25+
pyarrow-hotfix==0.6
26+
python-dateutil==2.9.0.post0
27+
pytz==2025.1
28+
PyYAML==6.0.2
29+
ruff==0.9.9
30+
scipy==1.13.1
31+
shapely==2.0.7
32+
six==1.17.0
33+
tomli==2.2.1
34+
types-pytz==2025.1.0.20250204
35+
typing_extensions==4.12.2
36+
tzdata==2025.1
37+
virtualenv==20.29.2

python-spec/requirements-py3.9.txt

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
anndata==0.10.7
2-
array_api_compat==1.7.1
3-
attrs==23.2.0
4-
docutils==0.16
5-
exceptiongroup==1.2.1
6-
h5py==3.11.0
7-
jmespath==1.0.1
8-
llvmlite==0.43.0
1+
anndata==0.10.9
2+
array_api_compat==1.11.1
3+
attrs==25.1.0
4+
exceptiongroup==1.2.2
5+
h5py==3.13.0
96
natsort==8.4.0
10-
numpy==2.0.0
11-
packaging==24.1
12-
pandas==2.2.2
13-
pyarrow==16.1.0
7+
numpy==2.0.2
8+
packaging==24.2
9+
pandas==2.2.3
10+
pyarrow==19.0.1
1411
pyarrow-hotfix==0.6
15-
python-dateutil==2.8.2
16-
pytz==2024.1
17-
rsa==4.7.2
18-
s3transfer==0.6.0
12+
python-dateutil==2.9.0.post0
13+
pytz==2025.1
1914
scipy==1.13.1
20-
shapely==2.0.4
21-
six==1.16.0
15+
shapely==2.0.7
16+
six==1.17.0
2217
typing_extensions==4.12.2
23-
tzdata==2024.1
18+
tzdata==2025.1

python-spec/update-requirements-txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trap "trash $TEMPDIR" EXIT
1212
# The version of Python we want to run lints under.
1313
LINTVER=3.9
1414

15-
for PYVER in 3.9 3.10 3.11 3.12; do
15+
for PYVER in 3.9 3.10 3.11 3.12 3.13; do
1616
CONDIR="$TEMPDIR/py-$PYVER"
1717
conda create -y -p "$CONDIR" "python=$PYVER"
1818
(

0 commit comments

Comments
 (0)