Skip to content

Commit

Permalink
Fix inclusion of launcher file and check in CI (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jul 8, 2022
1 parent 6b1054e commit d9a8578
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ jobs:
run: |
codecov
- name: Check Launcher
run: |
cd $HOME
python -m ipykernel_launcher --help
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling>=0.25", "jupyter_client>=6"]
requires = ["hatchling>=1.4", "jupyter_client>=6"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -54,8 +54,8 @@ test = [
[tool.hatch.build.targets.wheel.shared-data]
"data_kernelspec" = "share/jupyter/kernels/python3"

[tool.hatch.build]
artifacts = ["ipykernel_launcher.py"]
[tool.hatch.build.force-include]
"./ipykernel_launcher.py" = "ipykernel_launcher.py"

[tool.jupyter-releaser]
skip = ["check-links"]
Expand Down

0 comments on commit d9a8578

Please sign in to comment.