Skip to content

Commit 2ab80a5

Browse files
Bump version and clean up (#156)
* Bump version * Update build workflow * Update actions * Switch to hatch build
1 parent d3edd91 commit 2ab80a5

File tree

3 files changed

+13
-21
lines changed

3 files changed

+13
-21
lines changed

.github/workflows/build.yml

+12-16
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,32 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Base Setup
1818
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
1919

2020
- name: Install dependencies
21-
run: python -m pip install -U "jupyterlab>=3.0,<3.6"
21+
run: python -m pip install -U "jupyterlab>=3.0,<4.0"
2222

2323
- name: Build the extension
2424
run: |
2525
set -eux
2626
python -m pip install .
2727
28-
#jupyter server extension list
29-
#jupyter server extension list 2>&1 | grep -ie "jupyros.*OK"
30-
3128
jupyter labextension list
3229
jupyter labextension list 2>&1 | grep -ie "@robostack/jupyter-ros.*OK"
30+
31+
npx playwright install
3332
python -m jupyterlab.browser_check
3433
3534
- name: Package the extension
3635
run: |
3736
set -eux
38-
pip install build
39-
python -m build
40-
pip uninstall -y "jupyros" jupyterlab
41-
37+
pip install hatch
38+
python -m hatch build
39+
pip uninstall -y jupyros jupyterlab
40+
4241
- name: Upload extension packages
4342
uses: actions/upload-artifact@v3
4443
with:
@@ -52,11 +51,11 @@ jobs:
5251

5352
steps:
5453
- name: Checkout
55-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5655
- name: Install Python
57-
uses: actions/setup-python@v4
56+
uses: actions/setup-python@v5
5857
with:
59-
python-version: '3.9'
58+
python-version: '3.10'
6059
architecture: 'x64'
6160
- uses: actions/download-artifact@v3
6261
with:
@@ -67,10 +66,7 @@ jobs:
6766
# Remove NodeJS, twice to take care of system and locally installed node versions.
6867
sudo rm -rf $(which node)
6968
sudo rm -rf $(which node)
70-
pip install "jupyterlab>=3.0,<3.6" jupyros*.whl
71-
72-
#jupyter server extension list
73-
#jupyter server extension list 2>&1 | grep -ie "jupyros.*OK"
69+
pip install "jupyterlab>=3.0,<4.0" jupyros*.whl
7470
7571
jupyter labextension list
7672
jupyter labextension list 2>&1 | grep -ie "@robostack/jupyter-ros.*OK"

js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@robostack/jupyter-ros",
3-
"version": "0.7.0-a0",
3+
"version": "0.7.0",
44
"description": "Jupyter widgets for the ROS ecosystem.",
55
"homepage": "https://github.com/wolfv/jupyter-ros.git",
66
"author": {

jupyros/_version.py

-4
This file was deleted.

0 commit comments

Comments
 (0)