diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c80e04d0..49b78e8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,23 +12,18 @@ 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>=4.0.0,<5" - - - name: Lint the extension - run: | - set -eux - jlpm - jlpm run lint:check + run: python -m pip install -U "jupyterlab>=4.2.0,<5" - name: Build the extension run: | set -eux + jlpm python -m pip install .[test] jupyter labextension list @@ -44,7 +39,7 @@ jobs: pip uninstall -y "ipylab" jupyterlab - name: Upload extension packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: extension-artifacts path: dist/ipylab* @@ -56,11 +51,11 @@ jobs: steps: - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' architecture: 'x64' - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: extension-artifacts - name: Install and Test @@ -83,6 +78,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1 diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 032d1425..d79b1ff5 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest 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 @@ -23,7 +23,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Upload Distributions - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ipylab-releaser-dist-${{ github.run_number }} path: .jupyter_releaser_checkout/dist diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2ea191e1..7af1e2ad 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest 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 JupyterLab - run: python -m pip install 'jupyterlab >=3.1,<4' + run: python -m pip install 'jupyterlab >=4.2.0,<5' - name: Lint TypeScript run: | jlpm @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest 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 black diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index aa7edf2c..ff77c788 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest 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 @@ -36,7 +36,7 @@ jobs: cd dist sha256sum * | tee SHA256SUMS - name: Upload distributions - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist ${{ github.run_number }} path: ./dist @@ -48,11 +48,11 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python: ['3.8', '3.11'] + python: ['3.8', '3.12'] include: - python: '3.8' dist: 'ipylab*.tar.gz' - - python: '3.11' + - python: '3.12' dist: 'ipylab*.whl' - os: windows py_cmd: python @@ -66,11 +66,10 @@ jobs: steps: - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - architecture: 'x64' - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: dist ${{ github.run_number }} path: ./dist diff --git a/docs/environment.yml b/docs/environment.yml index 0fdf9c6c..764ee453 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -2,8 +2,9 @@ name: ipylab-lite channels: - conda-forge dependencies: -- build +- python-build - python=3.11 +- pip - mamba - pydata-sphinx-theme - myst-parser diff --git a/pyproject.toml b/pyproject.toml index 612e13f9..7d24793f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dependencies = [ "ipywidgets>=7.6.0,<9" diff --git a/yarn.lock b/yarn.lock index 387ef553..33a3f627 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5751,11 +5751,11 @@ __metadata: "typescript@patch:typescript@~5.0.2#~builtin": version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=b5f058" + resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d26b6ba97b6d163c55dbdffd9bbb4c211667ebebc743accfeb2c8c0154aace7afd097b51165a72a5bad2cf65a4612259344ff60f8e642362aa1695c760d303ac + checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 languageName: node linkType: hard