From ac89bc7d5ebe97aef5e46a0945b05d23c5e443b8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 4 Oct 2023 06:57:20 -0500 Subject: [PATCH 1/2] include tests in sdist --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8eac35deb..771cc1e79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ path = "nbconvert/_version.py" [tool.hatch.build.hooks.custom] [tool.hatch.build.targets.sdist] -artifacts = ["share/templates"] +artifacts = ["share/templates", "tests"] [tool.hatch.build.targets.wheel.shared-data] "share/templates" = "share/jupyter/nbconvert/templates" From 3707a5539bb647573297e7b27b1fd47a82fa6178 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:58:16 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54da422cf..2501915ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1303,6 +1303,7 @@ raw template {%- endblock in_prompt -%} """ + exporter_attr = AttrExporter() output_attr, _ = exporter_attr.from_notebook_node(nb) assert "raw template" in output_attr