Skip to content

Include conftest.py in the sdist - #121

Merged
mblayman merged 1 commit into
python-tap:mainfrom
arinkha:include-conftest-in-sdist
Aug 8, 2026
Merged

Include conftest.py in the sdist#121
mblayman merged 1 commit into
python-tap:mainfrom
arinkha:include-conftest-in-sdist

Conversation

@arinkha

@arinkha arinkha commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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

@mblayman mblayman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for the contribution.

@mblayman
mblayman merged commit 27fb251 into python-tap:main Aug 8, 2026
17 checks passed
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

2 participants