Skip to content

Commit 519123b

Browse files
committed
Update packaging in test workflow
1 parent d594e04 commit 519123b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/packaging.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,23 @@ jobs:
4949
5050
- name: Install dependencies
5151
run: |
52-
python -m pip install --upgrade pip wheel
53-
python -m pip install setuptools jupyter_packaging "jupyterlab>=3,<4"
52+
python -m pip install --upgrade pip wheel build
5453
- name: Build PyPI distributions for ipywidgets
5554
run: |
56-
python setup.py sdist bdist_wheel
55+
python -m build
5756
- name: Build PyPI distributions for jupyterlab_widgets
5857
run: |
5958
jlpm
6059
jlpm run build
6160
cd jupyterlab_widgets
62-
python setup.py sdist bdist_wheel
61+
python -m build
6362
cp ./dist/* ../dist
6463
- name: Build PyPI distributions for widgetsnbextension
6564
run: |
6665
jlpm
6766
jlpm run build
6867
cd widgetsnbextension
69-
python setup.py sdist bdist_wheel
68+
python -m build
7069
cp ./dist/* ../dist
7170
- name: Build checksum file
7271
run: |

0 commit comments

Comments
 (0)