Skip to content

Include test support files in source distributions - #117

Open
blouirts123 wants to merge 1 commit into
python-jsonschema:masterfrom
blouirts123:fix-sdist-test-inputs
Open

blouirts123 wants to merge 1 commit into
python-jsonschema:masterfrom
blouirts123:fix-sdist-test-inputs

Conversation

@blouirts123

Copy link
Copy Markdown

The source distribution includes test modules but omits tests/gen_schemas.py and the corpus JSON files those modules import/read. The version tests also need the root changelog, which is absent.

Include the committed test Python/JSON files recursively and add CHANGELOG.md, retaining the existing manifest rules. This makes the shipped test suite runnable; including the existing corpora increases the compressed sdist to about 6.4 MB.

Validation: built a clean source distribution, extracted it, installed its deps/test.txt, and ran the complete suite on Windows/Python 3.14.3: 861 passed, 59 skipped, 112 xfailed, 2 xpassed. The final narrowed-manifest build has identical test/package payloads to that validated archive. Member checks found the required inputs and no local cache/environment artifacts.

Fixes #115

@blouirts123
blouirts123 marked this pull request as draft October 16, 2026 04:50
@blouirts123
blouirts123 marked this pull request as ready for review October 16, 2026 05:23
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.

Missing test files in Pypi release

1 participant