Skip to content

Ship the full test suite in the sdist for distro packaging - #4

Merged
lukeburden merged 1 commit into
masterfrom
ship-tests-in-sdist
Jul 17, 2026
Merged

Ship the full test suite in the sdist for distro packaging#4
lukeburden merged 1 commit into
masterfrom
ship-tests-in-sdist

Conversation

@lukeburden

Copy link
Copy Markdown
Owner

Summary

Fixes #2.

Setuptools' legacy default sweeps tests/test*.py into the sdist but omits the harness those files need to run (tests/__init__.py, settings.py, urls.py, utils.py, manage.py), so the published sdist contained a broken partial copy of the tests. This adds a two-line MANIFEST.in so the sdist ships the complete, runnable test suite plus tox.ini.

Together with the 2.0.0 GitHub release (which provides the versioned tag tarball), this fully addresses the distro-packaging request in #2.

Verification

Built locally with python -m build:

  • sdist contains the whole tests/ package and tox.ini
  • wheel is unaffected — zero test files (packages.find already limits it to authlink*)

🤖 Generated with Claude Code

Setuptools' legacy default swept tests/test*.py into the sdist without
the settings/urls/utils harness they need to run. Include the whole
tests package and tox.ini so the sdist tests are runnable (issue #2).
The wheel is unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@lukeburden lukeburden left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Human mushy review completed.

@lukeburden
lukeburden merged commit 5170f3d into master Jul 17, 2026
9 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.

Versioned tests

1 participant