Skip to content

Commit dd346a9

Browse files
authored
Add Python 3.13 support (#482)
* update * update * update * update * update
1 parent 10144cc commit dd346a9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/building.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-20.04, macos-14, windows-2019]
14-
python-version: ['3.9', '3.10', '3.11', '3.12']
14+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
torch-version: [2.6.0] # [2.5.0]
1616
cuda-version: ['cpu', 'cu118', 'cu121', 'cu124', 'cu126']
1717
exclude:
18+
- torch-version: 2.5.0
19+
python-version: '3.13'
1820
- torch-version: 2.5.0
1921
cuda-version: 'cu126'
2022
- torch-version: 2.6.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pytest
141141
## C++ API
142142

143143
`torch-scatter` also offers a C++ API that contains C++ equivalent of python models.
144-
For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (*e.g.*, it may exists in `{CONDA}/lib/python{X.X}/site-packages/torch` if installed via `conda`):
144+
For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (run `import torch, print(torch.utils.cmake_prefix_path)` to obtain it).
145145

146146
```
147147
mkdir build

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ classifiers =
1111
Programming Language :: Python :: 3.10
1212
Programming Language :: Python :: 3.11
1313
Programming Language :: Python :: 3.12
14+
Programming Language :: Python :: 3.13
1415
Programming Language :: Python :: 3 :: Only
1516

1617
[aliases]

0 commit comments

Comments
 (0)