Skip to content

Commit

Permalink
Unpin <=3.6.4 and use <4 instead
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <[email protected]>
  • Loading branch information
xiaohk committed Dec 24, 2023
1 parent 14a8036 commit 3f6de1c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ jobs:
sudo rm -rf $(which node)
sudo rm -rf $(which node)
pip install myextension.tar.gz
pip install "jupyterlab<=3.6.4"
pip install "jupyterlab<4"
python -m jupyterlab.browser_check --no-chrome-test
jupyter labextension list 2>&1 | grep -ie "jupyterlab-stickyland.*OK"
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab<=3.6.4"]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab<4"]
build-backend = "jupyter_packaging.build_api"

[tool.jupyter-packaging.options]
skip-if-exists = ["jupyterlab_stickyland/labextension/static/style.js"]
ensured-targets = ["jupyterlab_stickyland/labextension/static/style.js", "jupyterlab_stickyland/labextension/package.json"]
ensured-targets = [
"jupyterlab_stickyland/labextension/static/style.js",
"jupyterlab_stickyland/labextension/package.json",
]

[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
Expand All @@ -14,4 +17,9 @@ build_cmd = "build:prod"
npm = ["jlpm"]

[tool.check-manifest]
ignore = ["jupyterlab_stickyland/labextension/**", "yarn.lock", ".*", "package-lock.json"]
ignore = [
"jupyterlab_stickyland/labextension/**",
"yarn.lock",
".*",
"package-lock.json",
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=["jupyterlab<=3.6.4"],
install_requires=["jupyterlab<4"],
zip_safe=False,
include_package_data=True,
python_requires=">=3.6",
Expand Down

0 comments on commit 3f6de1c

Please sign in to comment.