Skip to content

Commit b451edb

Browse files
Update requires python to <3.14 (#1252)
* Update requires python to <3.14 * Update uv lock file. * Update uv version. * Update pytest-split. * Enable uv cache. * Update chache dependency glob. --------- Co-authored-by: Tom Herold <[email protected]>
1 parent 0814982 commit b451edb

File tree

7 files changed

+903
-707
lines changed

7 files changed

+903
-707
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
- name: Install uv
4848
uses: astral-sh/setup-uv@v3
4949
with:
50-
version: "0.4.22"
50+
version: "0.5.26"
51+
enable-cache: true
52+
cache-dependency-glob: "cluster_tools/uv.lock"
5153

5254
- name: Set up Python ${{ matrix.python-version }}
5355
run: uv python install ${{ matrix.python-version }}
@@ -169,7 +171,9 @@ jobs:
169171
uses: astral-sh/setup-uv@v3
170172
with:
171173
# Install a specific version of uv.
172-
version: "0.5.22"
174+
version: "0.5.26"
175+
enable-cache: true
176+
cache-dependency-glob: "webknossos/uv.lock"
173177

174178
- name: Install proxay
175179
run: npm install -g proxay
@@ -214,7 +218,7 @@ jobs:
214218
uses: astral-sh/setup-uv@v3
215219
with:
216220
# Install a specific version of uv.
217-
version: "0.4.22"
221+
version: "0.5.26"
218222
- name: Write version file
219223
run: |
220224
pushd webknossos
@@ -291,7 +295,7 @@ jobs:
291295
uses: astral-sh/setup-uv@v3
292296
with:
293297
# Install a specific version of uv.
294-
version: "0.4.22"
298+
version: "0.5.26"
295299
- name: Build Docs
296300
run: |
297301
cd docs
@@ -343,7 +347,7 @@ jobs:
343347
uses: astral-sh/setup-uv@v3
344348
with:
345349
# Install a specific version of uv.
346-
version: "0.4.22"
350+
version: "0.5.26"
347351
- name: Publish python packages
348352
env:
349353
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_PASSWORD }}

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v3
2626
with:
27-
version: "0.5.22"
27+
version: "0.5.26"
2828

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

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: astral-sh/setup-uv@v3
2020
with:
2121
# Install a specific version of uv.
22-
version: "0.4.19"
22+
version: "0.5.26"
2323

2424
- name: Build Docs
2525
run: |

cluster_tools/tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG PYTHON_VERSION="3.11"
22

33
FROM python:${PYTHON_VERSION}
44

5-
COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
5+
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /bin/uv
66

77
RUN mkdir /cluster_tools
88
COPY . /cluster_tools

webknossos/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.12
22

3-
COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
3+
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /bin/uv
44

55
RUN mkdir /webknossos
66
COPY webknossos/webknossos /webknossos/webknossos

webknossos/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classifiers = [
3030
"Programming Language :: Python :: 3.13",
3131
]
3232

33-
requires-python = ">=3.9,<=3.13"
33+
requires-python = ">=3.9,<3.14"
3434

3535
dependencies = [
3636
"aiohttp ~=3.10.5",
@@ -97,7 +97,7 @@ dev-dependencies = [
9797
"mypy ~=1.10.0",
9898
"pytest ~=8.3.2",
9999
"pytest-custom-exit-code ~=0.3.0",
100-
"pytest-split ~=0.9.0",
100+
"pytest-split ~=0.10.0",
101101
"pytest-sugar ~=1.0.0",
102102
"pytest-timeout ~=2.3.0",
103103
"pytest-timestamper ~=0.0.10",

webknossos/uv.lock

Lines changed: 888 additions & 696 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)