diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e01523a..2b3458d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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: @@ -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" diff --git a/js/package.json b/js/package.json index c0aee5f..fbcd588 100644 --- a/js/package.json +++ b/js/package.json @@ -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": { diff --git a/jupyros/_version.py b/jupyros/_version.py deleted file mode 100644 index 8cf9e05..0000000 --- a/jupyros/_version.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file is auto-generated by Hatchling. As such, do not: -# - modify -# - track in version control e.g. be sure to add to .gitignore -__version__ = VERSION = '0.7.0a0'