Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: upgrade pnpm and pre-commit (#4652)

Shahmir Varqha0e1be3e5cd02
diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml
index e4578cdd24..36d32e1f5e 100644
--- a/.github/workflows/dev-release.yml
+++ b/.github/workflows/dev-release.yml
@@ -28,9 +28,9 @@ jobs:
# get tag history for version number
fetch-depth: 0
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/marimo-bot.yml b/.github/workflows/marimo-bot.yml
index ce64d16431..db5cca7bf6 100644
--- a/.github/workflows/marimo-bot.yml
+++ b/.github/workflows/marimo-bot.yml
@@ -70,9 +70,9 @@ jobs:
console.log(`Comment created with ID: ${comment.data.id}`);
return comment.data.id;
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 1860a313b5..9fedbb456e 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -51,9 +51,9 @@ jobs:
echo "[experimental]" > .marimo.toml
echo "layouts=true" >> .marimo.toml
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7cedf6739b..189124d66c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,9 +31,9 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/test_cli.yaml b/.github/workflows/test_cli.yaml
index 9c38b378a6..b3d0861ade 100644
--- a/.github/workflows/test_cli.yaml
+++ b/.github/workflows/test_cli.yaml
@@ -45,9 +45,9 @@ jobs:
with:
fetch-depth: 0 # so we can run --since on the main branch and turbo can do faster cache hashing
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/test_fe.yaml b/.github/workflows/test_fe.yaml
index 7f265182f3..e62cb6b0ed 100644
--- a/.github/workflows/test_fe.yaml
+++ b/.github/workflows/test_fe.yaml
@@ -46,9 +46,9 @@ jobs:
with:
fetch-depth: 0 # so we can run --since on the main branch and turbo can do faster cache hashing
- - uses: pnpm/action-setup@v2
+ - uses: pnpm/action-setup@v4
with:
- version: 9
+ version: 10
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index eb962fa2fd..0d56cc7d35 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,12 +25,12 @@ repos:
exclude: ^marimo/_tutorials/.*\.md
- repo: https://github.com/crate-ci/typos
- rev: v1
+ rev: v1.31.1
hooks:
- id: typos
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.11.2
+ rev: v0.11.6
hooks:
# Run the linter
- id: ruff
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0bf7ec3d02..1d4acb238e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -31,8 +31,8 @@ make check-prereqs
- Install [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-nodejs-and-npm) >= 20
- We use Node.js version 23
-- Install [pnpm](https://github.com/pnpm/pnpm) == 9.x
- - `npm install -g pnpm@9`
+- Install [pnpm](https://github.com/pnpm/pnpm) == 10.x
+ - `npm install -g pnpm@10`
- Install [GNU Make](https://www.gnu.org/software/make/) (you may already have it installed)
- Install [Python](https://www.python.org/) >= 3.9. (You may already it installed. To see your version, use `python -V` at the command line.)
- Install [Hatch](https://hatch.pypa.io/latest/install/). Some installation options:
diff --git a/frontend/package.json b/frontend/package.json
index 99c8e1b2c7..683103d859 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -241,7 +241,7 @@
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.1"
},
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"pnpm": {
"patchedDependencies": {
"react-plotly.js": "patches/react-plotly.js.patch"
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 07efb6cdaf..eeccdf626d 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -4,11 +4,11 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
-pnpmfileChecksum: eqzj7c6t3bs5v7xcjer2wfwkp4
+pnpmfileChecksum: sha256-QrioRE0rVa7k37ba9jgFOwNQflzbUTpdxTezotowvIE=
patchedDependencies:
react-plotly.js:
- hash: bpeex744nmt6722etqry6essaq
+ hash: e65888c226f3ef8f42923cbb3b026d2f4811da3e96fa0d7dee3cb62df02c6189
path: patches/react-plotly.js.patch
importers:
@@ -362,7 +362,7 @@ importers:
version: 9.1.0(@types/[email protected])([email protected])
react-plotly.js:
specifier: ^2.6.0
- version: 2.6.0(patch_hash=bpeex744nmt6722etqry6essaq)([email protected]([email protected])([email protected]([email protected])))([email protected])
+ version: 2.6.0(patch_hash=e65888c226f3ef8f42923cbb3b026d2f4811da3e96fa0d7dee3cb62df02c6189)([email protected]([email protected])([email protected]([email protected])))([email protected])
react-resizable-panels:
specifier: 2.1.7
@@ -17795,7 +17795,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ [email protected](patch_hash=e65888c226f3ef8f42923cbb3b026d2f4811da3e96fa0d7dee3cb62df02c6189)([email protected]([email protected])([email protected]([email protected])))([email protected]):
dependencies:
prop-types: 15.8.1
diff --git a/lsp/package.json b/lsp/package.json
index 5d1a0fe2eb..7eaef79340 100644
--- a/lsp/package.json
+++ b/lsp/package.json
@@ -20,5 +20,5 @@
"typescript": "^5.8.3",
"ws": "^8.18.1"
},
- "packageManager": "[email protected]"
+ "packageManager": "[email protected]"
}
diff --git a/openapi/package.json b/openapi/package.json
index 159c93eccf..bd48a8381d 100644
--- a/openapi/package.json
+++ b/openapi/package.json
@@ -19,5 +19,5 @@
"dependencies": {
"openapi-fetch": "0.9.7"
},
- "packageManager": "[email protected]"
+ "packageManager": "[email protected]"
}