Skip to content

Commit 27811a0

Browse files
committed
Fixing CI
1 parent b7583cb commit 27811a0

File tree

5 files changed

+16
-18
lines changed

5 files changed

+16
-18
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install jupyterlab_widgets
4444
run: |
4545
cd python/jupyterlab_widgets
46-
pip install -vv -e . --no-deps
46+
pip install -vv . --no-deps
4747
4848
- name: Install widgetsnbextension
4949
run: |

.github/workflows/packaging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
fail-fast: false
8484
matrix:
8585
os: [ubuntu, windows]
86-
python: ['3.8', '3.13']
86+
python: ['3.9', '3.13']
8787
dist: ['ipywidgets*.tar.gz']
8888
include:
8989
- python: '3.13'

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
max-parallel: 4
7979
matrix:
80-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
80+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
8181

8282
steps:
8383
- uses: actions/checkout@v4
@@ -144,7 +144,7 @@ jobs:
144144
- name: Install dependencies
145145
run: |
146146
python -m pip install --upgrade pip
147-
python -m pip install -U jupyterlab==4.0.0 jupyter-packaging~=0.10
147+
python -m pip install -U jupyterlab jupyter-packaging~=0.10
148148
149149
- name: Build and Install ipywidgets
150150
run: |
@@ -160,7 +160,7 @@ jobs:
160160
jlpm build
161161
cd python/jupyterlab_widgets
162162
pwd
163-
pip install -e .
163+
pip install .
164164
jupyter labextension develop . --overwrite
165165
jupyter labextension list
166166

dev-install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ pip install -v -e "./python/ipywidgets[test]"
4747
if test "$skip_jupyter_lab" != yes; then
4848
echo -n "jupyterlab_ipywidgets"
4949
pip install jupyter_packaging
50-
pip install -ve ./python/jupyterlab_widgets
51-
jupyter labextension develop ./python/jupyterlab_widgets --overwrite
50+
51+
pushd ./python/jupyterlab_widgets
52+
pip install .
53+
jupyter labextension develop . --overwrite
54+
popd
5255
fi

python/jupyterlab_widgets/jupyterlab_widgets/__init__.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@
55

66

77
def _jupyter_labextension_paths():
8-
import sys
9-
from pathlib import Path
10-
11-
labext_name = '@jupyter-widgets/jupyterlab-manager'
12-
here = Path(__file__).parent.resolve()
13-
src_prefix = here.parent / 'labextension'
14-
15-
if not src_prefix.exists():
16-
src_prefix = Path(sys.prefix) / f'share/jupyter/labextensions/{labext_name}'
17-
18-
return [{'src': str(src_prefix), 'dest': labext_name}]
8+
return [
9+
{
10+
'src': 'labextension',
11+
'dest': '@jupyter-widgets/jupyterlab-manager'
12+
}
13+
]
1914

2015
__all__ = ['_jupyter_labextension_paths', '__version__']

0 commit comments

Comments
 (0)