Skip to content

Commit 405a5ea

Browse files
committed
Add Python 3.13 support
1 parent cdc5199 commit 405a5ea

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.github/torch_cpu_requirements.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
--index-url https://download.pytorch.org/whl/cpu
2-
# torch 2.3.0 on Windows may through a DLL import error, presumably due to the newly introduced dependency to MKL:
3-
# https://github.com/pytorch/pytorch/issues/125109
4-
torch!=2.3.0+cpu
5-
# numpy 2.0 on Windows may be incompatible to torch:
6-
# https://github.com/pytorch/pytorch/issues/128860
7-
numpy<2.0
1+
--extra-index-url https://download.pytorch.org/whl/cpu
2+
torch

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: "3.12"
30+
python-version: "3.13"
3131
cache: "pip"
3232
cache-dependency-path: "**/*requirements.txt"
3333

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python: ["3.9", "3.10", "3.11", "3.12"]
20+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2121

2222
name: "Python ${{ matrix.python }}"
2323
runs-on: ubuntu-22.04

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: ["ubuntu-22.04", "windows-2022"]
21-
python: ["3.9", "3.10", "3.11", "3.12"]
21+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
name: "${{ matrix.os }} / Python ${{ matrix.python }}"
2424
runs-on: ${{ matrix.os }}

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
"Topic :: Scientific/Engineering",
2930
"Topic :: Software Development :: Libraries :: Python Modules",
3031
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)