Skip to content

Commit

Permalink
Uses hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcarlos committed Feb 19, 2023
1 parent b6db2b3 commit 1a385ac
Show file tree
Hide file tree
Showing 15 changed files with 1,629 additions and 2,223 deletions.
58 changes: 13 additions & 45 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,31 @@
name: Check Release
on:
push:
branches:
- master
branches: ["main"]
pull_request:
branches:
- master

permissions:
contents: write
branches: ["*"]

jobs:
check_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: 'x64'
- name: Install node
uses: actions/setup-node@v2
with:
node-version: '14.x'


- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache pip
uses: actions/cache@v1
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache checked links
uses: actions/cache@v2
with:
path: ~/.cache/pytest-link-check
key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links
restore-keys: |
${{ runner.os }}-linkcheck-
- name: Upgrade packaging dependencies
run: |
pip install --upgrade pip setuptools wheel jupyter-packaging~=0.10 --user
uses: actions/checkout@v3

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

- name: Install Dependencies
run: |
pip install .
pip install -e .
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Distributions
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: jupyros-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
path: .jupyter_releaser_checkout/dist
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
__pycache__
*.egg-info/

jupyros/_version.py

# JS deps
node_modules/

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ graft jupyros/ros1
graft jupyros/ros2
include jupyros/_version.py
include jupyros/__init__.py
include js/package.json

# Extensions
graf js
Expand Down
8 changes: 4 additions & 4 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
"devDependencies": {
"@jupyterlab/builder": "^3.0.1",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.1",
"webpack": "^5",
"webpack-cli": "^4"
"rimraf": "^4.1.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@jupyter-widgets/base": "^2.0.1 || ^3 || ^4",
"lodash": "^4.17.4",
"lodash": "^4.17.21",
"ros3d": "^1.0.0"
},
"jupyterlab": {
Expand Down
Loading

0 comments on commit 1a385ac

Please sign in to comment.