Skip to content

Commit

Permalink
relax constraints to facilitate jupyterlab 4.0 conda build (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 authored Mar 18, 2024
1 parent 9e94b21 commit 3704840
Show file tree
Hide file tree
Showing 3 changed files with 1,060 additions and 1,370 deletions.
21 changes: 16 additions & 5 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,27 @@ package:
version: {{ version }}

source:
url: ../dist/{{ name }}-{{ version }}-py3-none-any.whl
path: ..

build:
noarch: python
script: {{ PYTHON }} -m pip install -vv {{ name }}-{{ version }}-py3-none-any.whl
script: {{ PYTHON }} -m pip install --no-deps --ignore-installed .
script_env:
- JUPYTERLAB_TEST_VERSION

requirements:
build:
- jupyter-packaging
- jupyterlab
- jupyterlab 4.0.*
- notebook
- python
- setuptools
- pip
- setuptools >=40.8.0
- wheel
- nodejs >=18.0
- hatch
- hatchling >=1.5.0
- hatch-jupyter-builder>=0.8.2
- hatch-nodejs-version
run:
- python
- bokeh 3.*
Expand All @@ -33,8 +39,13 @@ requirements:
- jupyterlab 4.*

test:
requires:
- jupyterlab
imports:
- jupyter_bokeh
commands:
- jupyter labextension list 2>&1
- jupyter labextension list 2>&1 | grep -q 'jupyter.bokeh.*enabled.*OK'

about:
home: {{ pkgjson['homepage'] }}
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@
},
"dependencies": {
"@jupyter-widgets/base": "^2 || ^3 || ^4 || ^5 || ^6",
"@jupyterlab/application": "^4.0.3",
"@jupyterlab/apputils": "^4.1.3",
"@jupyterlab/docregistry": "^4.0.3",
"@jupyterlab/notebook": "^4.0.3",
"@jupyterlab/services": "^7.1.1",
"@jupyterlab/settingregistry": "^4.1.1",
"@jupyterlab/ui-components": "^4.0.3",
"@lumino/disposable": "^2.1.1",
"@jupyterlab/application": "^4",
"@jupyterlab/apputils": "^4",
"@jupyterlab/docregistry": "^4",
"@jupyterlab/notebook": "^4",
"@jupyterlab/services": "^7",
"@jupyterlab/settingregistry": "^4",
"@jupyterlab/ui-components": "^4",
"@lumino/disposable": "^2",
"css-loader": "^5.1.3",
"style-loader": "^2.0.0"
},
"resolutions": {
"@lumino/widgets": "^2.1.1",
"@lumino/widgets": "^2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"@jupyter-widgets/jupyterlab-manager": "^5.0.4"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.2",
"@jupyterlab/builder": "^4",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.36.0",
Expand Down
Loading

0 comments on commit 3704840

Please sign in to comment.