From 8f26d79c8e9e819f6b0826fc32753a39e4431b2e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 8 Jul 2022 05:25:14 -0500 Subject: [PATCH] fix inclusion of jupyter file and check in CI --- .github/workflows/test.yml | 4 ++++ pyproject.toml | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e2f485..8a9411b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,10 @@ jobs: - name: Test with pytest run: | python -m pytest -vv --timeout 60 --cov jupyter_core --cov-report term-missing:skip-covered + - name: Check CLI + run: | + cd $HOME + jupyter troubleshoot test_miniumum_versions: name: Test Minimum Versions diff --git a/pyproject.toml b/pyproject.toml index 31dbc91..2c3a2a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.0"] +requires = ["hatchling>=1.4"] build-backend = "hatchling.build" [project] @@ -54,6 +54,9 @@ jupyter-troubleshoot = "jupyter_core.troubleshoot:main" [tool.hatch.version] path = "jupyter_core/version.py" +[tool.hatch.build.force-include] +"./jupyter.py" = "jupyter.py" + [tool.mypy] check_untyped_defs = true disallow_any_generics = false