Skip to content

Commit

Permalink
Bump version and clean up (#156)
Browse files Browse the repository at this point in the history
* Bump version

* Update build workflow

* Update actions

* Switch to hatch build
  • Loading branch information
IsabelParedes authored Dec 13, 2023
1 parent d3edd91 commit 2ab80a5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,32 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

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

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

- name: Build the extension
run: |
set -eux
python -m pip install .
#jupyter server extension list
#jupyter server extension list 2>&1 | grep -ie "jupyros.*OK"
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "@robostack/jupyter-ros.*OK"
npx playwright install
python -m jupyterlab.browser_check
- name: Package the extension
run: |
set -eux
pip install build
python -m build
pip uninstall -y "jupyros" jupyterlab
pip install hatch
python -m hatch build
pip uninstall -y jupyros jupyterlab
- name: Upload extension packages
uses: actions/upload-artifact@v3
with:
Expand All @@ -52,11 +51,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
- uses: actions/download-artifact@v3
with:
Expand All @@ -67,10 +66,7 @@ jobs:
# Remove NodeJS, twice to take care of system and locally installed node versions.
sudo rm -rf $(which node)
sudo rm -rf $(which node)
pip install "jupyterlab>=3.0,<3.6" jupyros*.whl
#jupyter server extension list
#jupyter server extension list 2>&1 | grep -ie "jupyros.*OK"
pip install "jupyterlab>=3.0,<4.0" jupyros*.whl
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "@robostack/jupyter-ros.*OK"
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@robostack/jupyter-ros",
"version": "0.7.0-a0",
"version": "0.7.0",
"description": "Jupyter widgets for the ROS ecosystem.",
"homepage": "https://github.com/wolfv/jupyter-ros.git",
"author": {
Expand Down
4 changes: 0 additions & 4 deletions jupyros/_version.py

This file was deleted.

0 comments on commit 2ab80a5

Please sign in to comment.