Skip to content

Commit 30135f8

Browse files
authored
Add python3.13 support to wk-libs (#1240)
* Update dependencies. * Update pylibczirw. * Update scipy. * Update uv version in CI. * Updated changelog.
1 parent fcac5ad commit 30135f8

File tree

6 files changed

+265
-69
lines changed

6 files changed

+265
-69
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
max-parallel: 4
3939
matrix:
4040
executors: [multiprocessing, slurm, kubernetes, dask]
41-
python-version: ["3.12", "3.11", "3.10", "3.9"]
41+
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
4242
defaults:
4343
run:
4444
working-directory: cluster_tools
@@ -151,7 +151,7 @@ jobs:
151151
strategy:
152152
max-parallel: 4
153153
matrix:
154-
python-version: ["3.12", "3.11", "3.10", "3.9"]
154+
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
155155
group: [1, 2, 3]
156156
fail-fast: false
157157
defaults:
@@ -165,7 +165,7 @@ jobs:
165165
uses: astral-sh/setup-uv@v3
166166
with:
167167
# Install a specific version of uv.
168-
version: "0.4.22"
168+
version: "0.5.22"
169169

170170
- name: Install proxay
171171
run: npm install -g proxay

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
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
group: [1, 2, 3]
1616
fail-fast: false
1717
defaults:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v3
2626
with:
27-
version: "0.4.19"
27+
version: "0.5.22"
2828

2929
- name: Install proxay
3030
run: npm install -g proxay

.github/workflows/verify_published.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.12", "3.11", "3.10", "3.9"]
17+
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
1818
extras: ["", "[all]"]
1919
steps:
2020
- name: Set up Python ${{ matrix.python-version }}

webknossos/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
1515
### Breaking Changes
1616

1717
### Added
18+
- Added support for python 3.13. [#1240](https://github.com/scalableminds/webknossos-libs/pull/1240)
1819

1920
### Changed
2021

webknossos/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.12",
3030
]
3131

32-
requires-python = ">=3.9,<3.13"
32+
requires-python = ">=3.9,<=3.13"
3333

3434
dependencies = [
3535
"aiohttp ~=3.10.5",
@@ -48,7 +48,7 @@ dependencies = [
4848
"python-dateutil ~=2.8.0",
4949
"python-dotenv ~=1.0.1",
5050
"rich ~=13.8.0",
51-
"scipy ~=1.13",
51+
"scipy >=1.13",
5252
"tensorstore~=0.1.69",
5353
"typer ~=0.12.5",
5454
"typing-extensions ~=4.0",
@@ -68,7 +68,7 @@ Changelog = "https://github.com/scalableminds/webknossos-libs/blob/master/webkno
6868
tifffile = ["tifffile >=2024.8.24"]
6969
imagecodecs = ["imagecodecs >=2021.11.20"]
7070
bioformats = ["JPype1 ~=1.5.0"]
71-
czi = ["pylibCZIrw ==4.1.1"]
71+
czi = ["pylibCZIrw ==4.1.3"]
7272
examples = [
7373
"fastremap ~=1.15.0",
7474
"pandas ~=2.2.0",

0 commit comments

Comments
 (0)