Skip to content

Commit 2967880

Browse files
committed
chore: update python deps
1 parent 6b1d174 commit 2967880

File tree

11 files changed

+1685
-2038
lines changed

11 files changed

+1685
-2038
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
fetch-depth: 0
3232
- uses: actions/setup-node@v4
3333
with:
34-
node-version: 22.x
34+
node-version: 24.x
3535
cache: "npm"
3636
cache-dependency-path: |
3737
package-lock.json
3838
# uv required for javascript tests
39-
- uses: astral-sh/setup-uv@v5
39+
- uses: astral-sh/setup-uv@v7
4040
with:
4141
enable-cache: false
4242
# go needed for fake_gcs_server used by the javascript tests
@@ -90,13 +90,13 @@ jobs:
9090
version: 10
9191
- uses: actions/setup-node@v4
9292
with:
93-
node-version: 22.x
93+
node-version: 24.x
9494
cache: "pnpm"
9595
cache-dependency-path: |
9696
examples/**/pnpm-lock.yaml
9797
- uses: actions/setup-node@v4
9898
with:
99-
node-version: 22.x
99+
node-version: 24.x
100100
cache: "npm"
101101
cache-dependency-path: |
102102
package-lock.json
@@ -120,8 +120,8 @@ jobs:
120120
strategy:
121121
matrix:
122122
python-version:
123-
- "3.9"
124-
- "3.12"
123+
- "3.11"
124+
- "3.13"
125125
os:
126126
- "ubuntu-latest"
127127
- "windows-latest"
@@ -134,13 +134,10 @@ jobs:
134134
fetch-depth: 0
135135
- uses: actions/setup-node@v4
136136
with:
137-
node-version: 22.x
138-
- uses: astral-sh/setup-uv@v5
137+
node-version: 24.x
138+
- uses: astral-sh/setup-uv@v7
139139
with:
140140
enable-cache: false
141-
- name: Set up Python ${{ matrix.python-version }}
142-
uses: actions/setup-python@v5
143-
with:
144141
python-version: ${{ matrix.python-version }}
145142
- uses: ./.github/actions/setup-firefox
146143
- name: Setup tmate session
@@ -183,15 +180,11 @@ jobs:
183180
fetch-depth: 0
184181
- uses: actions/setup-node@v4
185182
with:
186-
node-version: 22.x
183+
node-version: 24.x
187184
cache: "npm"
188-
- uses: astral-sh/setup-uv@v5
185+
- uses: astral-sh/setup-uv@v7
189186
with:
190187
enable-cache: false
191-
- name: Set up Python
192-
uses: actions/setup-python@v5
193-
with:
194-
python-version: 3.x
195188
- name: Get uv cache dir
196189
id: uv-cache
197190
run: |
@@ -225,13 +218,9 @@ jobs:
225218
runs-on: ubuntu-latest
226219
steps:
227220
- uses: actions/checkout@v4
228-
- uses: astral-sh/setup-uv@v5
221+
- uses: astral-sh/setup-uv@v7
229222
with:
230223
enable-cache: false
231-
- name: Set up Python
232-
uses: actions/setup-python@v5
233-
with:
234-
python-version: 3.12
235224
- name: Setup Graphviz
236225
uses: ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2
237226
with:
@@ -258,7 +247,7 @@ jobs:
258247
- name: Use Node.js
259248
uses: actions/setup-node@v4
260249
with:
261-
node-version: 22.x
250+
node-version: 24.x
262251
registry-url: "https://registry.npmjs.org"
263252
- uses: actions/download-artifact@v4
264253
with:

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13.9

build_tools/vitest/python_tools.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,12 @@
1515
*/
1616

1717
import { spawnSync } from "node:child_process";
18-
import path from "node:path";
19-
20-
export const PYTHON_TEST_TOOLS_PATH = path.join(
21-
import.meta.dirname,
22-
"python_tools",
23-
);
2418

2519
export async function syncPythonTools() {
2620
// Note: For unknown reasons, using `await promisify(spawn)` in place of
2721
// `spawnSync` causes the vitest process to exit as soon as the child
2822
// process completes.
29-
spawnSync("uv", ["sync", "--project", PYTHON_TEST_TOOLS_PATH], {
23+
spawnSync("uv", ["sync", "--only-group", "vitest"], {
3024
stdio: ["ignore", "inherit", "inherit"],
3125
});
3226
}

build_tools/vitest/python_tools/pyproject.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

build_tools/vitest/python_tools/uv.lock

Lines changed: 0 additions & 1091 deletions
This file was deleted.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def cibuildwheel(session: nox.Session):
155155
env={
156156
"CIBW_BUILD_FRONTEND": "build[uv]",
157157
"CIBW_ARCHS_MACOS": "x86_64 arm64",
158-
"CIBW_SKIP": "pp* *_i686 *-win32 *-musllinux* cp314*",
158+
"CIBW_SKIP": "pp* *_i686 *-win32 *-musllinux* cp314* cp315*",
159159
"CIBW_TEST_GROUPS": "test",
160160
"CIBW_TEST_COMMAND": "python -m pytest {project}/python/tests -vv -s --skip-browser-tests",
161161
"CIBW_MANYLINUX_X86_64_IMAGE": "manylinux_2_28",

0 commit comments

Comments
 (0)