diff --git a/.github/actions/build-dist/action.yml b/.github/actions/build-dist/action.yml index a946ed487..470292fe1 100644 --- a/.github/actions/build-dist/action.yml +++ b/.github/actions/build-dist/action.yml @@ -9,12 +9,12 @@ runs: - name: Install dependencies shell: bash run: | - python -m pip install --upgrade jupyter_packaging~=0.10 "jupyterlab>=4.0.0a30,<5" build + python -m pip install hatch - name: Build pypi distributions shell: bash run: | - python -m build + hatch build - name: Build npm distributions shell: bash diff --git a/pyproject.toml b/pyproject.toml index 34ed313fd..25b24b2b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ classifiers = [ ] dependencies = [ "jupyter_server>=1.16.0,<2", - "importlib-resources>=1.4;python_version<\"3.9\"", + "importlib-resources>=5.0;python_version<\"3.9\"", "jupyterlab>=4.0.0a30,<5", "jupyterlab_server>=2.13,<3", "notebook_shim>=0.1,<0.2",