From 7043941bc0f087bfcc49b4f1957db817bbd11d56 Mon Sep 17 00:00:00 2001 From: arinkha Date: Fri, 7 Aug 2026 15:14:29 +0200 Subject: [PATCH] Include conftest.py in the sdist The root conftest.py provides the sample_test_file fixture used by the test suite, but it is excluded from the sdist because it is outside the hatchling sdist include list. This makes the PyPI tarball untestable as-is and forces downstream packagers to patch the file back in. Fixes #107 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 97b9a37..5e5670c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,7 @@ include = [ "/src", "/docs", "/tests", + "/conftest.py", ] [tool.hatch.build.targets.wheel]