Skip to content

Include conftest.py in the sdist - #121

Open
arinkha wants to merge 1 commit into
python-tap:mainfrom
arinkha:include-conftest-in-sdist
Open

Include conftest.py in the sdist#121
arinkha wants to merge 1 commit into
python-tap:mainfrom
arinkha:include-conftest-in-sdist

Conversation

@arinkha

@arinkha arinkha commented Aug 7, 2026

Copy link
Copy Markdown

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

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 python-tap#107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please include conftest.py in .tar.gz on pypi.org

1 participant