Skip to content

Commit 4dafff1

Browse files
authored
chore: Add official Python 3.15 support (#837)
1 parent cad21f4 commit 4dafff1

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

‎.github/workflows/checks.yml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
- python-version: '3.12'
3030
- python-version: '3.13'
3131
- python-version: '3.14' # To actually run the default config
32+
# cvxpy is excluded on Python 3.15 because one of its dependencies (sparsediffpy<0.7) has no
33+
# cp315 wheel and can't be built without BLAS.
34+
- python-version: '3.15'
35+
options: 'quadprog_projector fairgrad'
3236
# OS variations
3337
- os: macOS-latest
3438
- os: windows-latest
@@ -46,11 +50,6 @@ jobs:
4650
extra_groups: 'lower_bounds'
4751
# Latest: torch nightly build.
4852
- torch_channel: 'nightly'
49-
# Upcoming Python version, not yet supported by stable torch. cvxpy is excluded because one
50-
# of its dependencies (sparsediffpy) has no wheel yet and can't be built without BLAS.
51-
- python-version: '3.15'
52-
torch_channel: 'nightly'
53-
options: 'quadprog_projector fairgrad'
5453

5554
steps:
5655
- name: Checkout repository

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ changelog does not include internal changes that do not affect the user.
88

99
## [Unreleased]
1010

11+
### Added
12+
13+
- Added Python 3.15 classifier in pyproject.toml (we now also run tests on Python 3.15 in the CI).
14+
1115
### Fixed
1216

1317
- Fixed `Krum` and `KrumWeighting` ranking rows by sums of Euclidean distances instead of

‎docs/source/installation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:end-before: <!-- end installation -->
66
```
77

8-
Note that `torchjd` requires Python 3.10, 3.11, 3.12, 3.13 or 3.14 and `torch>=2.0`.
8+
Note that `torchjd` requires Python 3.10, 3.11, 3.12, 3.13, 3.14 or 3.15 and `torch>=2.0`.
99

1010
Some aggregators have additional dependencies that are not included by default when installing
1111
`torchjd`. The following table lists the optional dependency groups and the aggregators they enable:

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.12",
2929
"Programming Language :: Python :: 3.13",
3030
"Programming Language :: Python :: 3.14",
31+
"Programming Language :: Python :: 3.15",
3132
"Topic :: Scientific/Engineering",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
]

0 commit comments

Comments
 (0)