diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 5cdc8b1..67e1094 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -21,7 +21,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - name: Upload Distributions - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jupyter-resource-usage-releaser-dist-${{ github.run_number }} path: .jupyter_releaser_checkout/dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddce144..b258284 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python-version: ["3.7", "3.10"] + python-version: ["3.9", "3.13"] steps: - name: Checkout diff --git a/notebook_shim/tests/test_extension.py b/notebook_shim/tests/test_extension.py index 4776d57..b804bac 100644 --- a/notebook_shim/tests/test_extension.py +++ b/notebook_shim/tests/test_extension.py @@ -1,10 +1,6 @@ -import io -import logging import pytest -from traitlets import default -from .mockextension import MockExtensionApp from notebook_shim import shim diff --git a/pyproject.toml b/pyproject.toml index 79adee7..3f1a6e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,10 @@ dependencies = [ "jupyter_server>=1.8,<3" ] +[project.urls] +Homepage = "https://jupyter.org" +Source = "https://github.com/jupyter/notebook_shim" + [tool.hatch.build.targets.wheel.shared-data] "jupyter_server_config.d/notebook_shim.json" = "etc/jupyter/jupyter_server_config.d/notebook_shim.json" @@ -44,8 +48,6 @@ test = [ - - [tool.hatch.version] path = "notebook_shim/_version.py" @@ -80,6 +82,7 @@ default = "" ignore = ["tbump.toml", ".*", "conftest.py"] [tool.pytest.ini_options] +minversion = "7" norecursedirs = ["confs"] testpaths = [ "notebook_shim/tests"