Skip to content

link to source in pyproject.toml #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions notebook_shim/tests/test_extension.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@

import io
import logging
import pytest

from traitlets import default
from .mockextension import MockExtensionApp
from notebook_shim import shim


Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -44,8 +48,6 @@ test = [





[tool.hatch.version]
path = "notebook_shim/_version.py"

Expand Down Expand Up @@ -80,6 +82,7 @@ default = ""
ignore = ["tbump.toml", ".*", "conftest.py"]

[tool.pytest.ini_options]
minversion = "7"
norecursedirs = ["confs"]
testpaths = [
"notebook_shim/tests"
Expand Down