Skip to content

Migrate to jupyterlab 4.6 - #3676

Open
Dima Fedoriaka (fedimser) wants to merge 2 commits into
mainfrom
fedimser/jupyter-builder
Open

Migrate to jupyterlab 4.6#3676
Dima Fedoriaka (fedimser) wants to merge 2 commits into
mainfrom
fedimser/jupyter-builder

Conversation

@fedimser

@fedimser Dima Fedoriaka (fedimser) commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #3563

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated dev build script passes --development True, which is incompatible with jupyter-builder’s boolean flag semantics and will likely break npm run build:labextension:dev.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Q# JupyterLab extension packaging/build configuration to target JupyterLab 4.6 and migrate the frontend build pipeline to jupyter-builder/@jupyter/builder per the upstream migration guidance, primarily to address Dependabot/security-driven upgrade pressure.

Changes:

  • Bumps JupyterLab JS dependencies from ^4.5.10 to ^4.6.0.
  • Switches the labextension build scripts from @jupyterlab/builder to jupyter-builder and adds jupyter-builder to the Python build-system requirements.
  • Regenerates package-lock.json for the new dependency graph and updates build docs accordingly.
File summaries
File Description
source/jupyterlab/pyproject.toml Adds jupyter-builder to the PEP 517 build requirements used when building the Python package/wheel.
source/jupyterlab/package.json Updates build scripts to use jupyter-builder and upgrades JupyterLab deps to 4.6; replaces builder devDependency.
source/jupyterlab/package-lock.json Updates lockfile to reflect the new builder package and JupyterLab 4.6 dependency tree.
source/jupyterlab/jupyterlab-core/package.json Updates the pinned “core” package.json version used for the builder core reference.
source/jupyterlab/BUILDING.md Updates local build instructions to include installing jupyter-builder.
Review details

Files not reviewed (1)

  • source/jupyterlab/package-lock.json: Generated file
  • Files reviewed: 4/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"build:lib": "node ../../node_modules/typescript/bin/tsc -p ./tsconfig.json",
"build:labextension:dev": "node node_modules/@jupyterlab/builder/lib/build-labextension.js --core-path ./jupyterlab-core --development .",
"build:labextension:prod": "node node_modules/@jupyterlab/builder/lib/build-labextension.js --core-path ./jupyterlab-core ."
"build:labextension:dev": "jupyter-builder build --core-package-file ./jupyterlab-core/package.json --development True .",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to jupyter-builder

2 participants