Migrate build system to hatchling and upgrade to JupyterLab 4#91
Open
smahn9123 wants to merge 2 commits into
Open
Migrate build system to hatchling and upgrade to JupyterLab 4#91smahn9123 wants to merge 2 commits into
smahn9123 wants to merge 2 commits into
Conversation
Replace jupyter_packaging + setuptools with hatchling + hatch-jupyter-builder for a modern build pipeline. Update CI to use current toolchain versions. - Replace setup.py/setup.cfg/MANIFEST.in/pytest.ini with pyproject.toml - Use hatch-nodejs-version to derive version from js/package.json - Use importlib.metadata in _version.py - Bump @jupyterlab/builder from ^3 to ^4 - Regenerate yarn.lock - Update CI: actions/checkout@v4, setup-miniconda@v3, Python 3.10, Node.js 18, JupyterLab 4 - Add pytest step to CI workflow
Covers: large trees, icon styles, dynamic operations, selection events, deep nesting, property toggles, positional insert, single selection, and scale testing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
jupyter_packaging+setuptoolswithhatchling+hatch-jupyter-builderfor a modern build pipeline@jupyterlab/builder^3 → ^4)actions/checkout@v4,setup-miniconda@v3, Python 3.10, Node.js 18setup.py,setup.cfg,MANIFEST.in,pytest.ini(merged intopyproject.toml)hatch-nodejs-versionto derive version fromjs/package.jsonimportlib.metadatain_version.pyMotivation
The current CI is broken because
yarn installfails under the outdated toolchain (Node.js 14, Python 3.8,jupyter_packaging ~0.7.0). Rather than patching the old setup, this PR modernizes the entire build system to align with the current Jupyter ecosystem.