Skip to content

Include tox.ini in source distributions#63

Closed
Mirochill wants to merge 1 commit into
psf:mainfrom
Mirochill:fix-43-include-tox-sdist
Closed

Include tox.ini in source distributions#63
Mirochill wants to merge 1 commit into
psf:mainfrom
Mirochill:fix-43-include-tox-sdist

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • Include tox.ini in MANIFEST.in so source distributions carry the tox configuration requested in sdist is missing tox.ini #43.
  • Leave the existing tox configuration unchanged.

Fixes #43.

Validation

  • git diff --check
  • git diff --cached --check
  • Not run locally: package build/tests

@kevin1024

Copy link
Copy Markdown

Thanks @Mirochill — carried this forward in #67, which adds tox.ini to the sdist as you proposed, and also fixes two stale references in the same area: the MANIFEST.in line still pointed at a root test_httpbin.py (tests moved to tests/), and tox.ini's envlist still listed py37/pypy3 and lacked 3.13/3.14. Verified by building the sdist. You're credited as co-author.

Closing in favor of #67.

@kevin1024 kevin1024 closed this Jun 16, 2026
pull Bot pushed a commit to sysfce2/httpbin that referenced this pull request Jun 16, 2026
The source distribution was missing tox.ini, making downstream testing
harder (psf#43). Add it to MANIFEST.in.

While here, fix two stale references that worked against the same goal:
- MANIFEST.in pointed at a root-level test_httpbin.py that no longer exists
  (tests moved to tests/); replace it with `recursive-include tests *.py`
  so the suite is explicitly shipped instead of relying on auto-discovery.
- tox.ini's envlist still listed py37 and pypy3 (both dropped) and omitted
  3.13/3.14; align it with the supported CPython versions so `tox` from the
  sdist doesn't fail on unsupported interpreters.

Verified by building the sdist: tox.ini and tests/ are present, and
`tox -l` against the shipped config lists py38..py314.

Closes psf#43. Supersedes psf#63.

Co-Authored-By: Mirochill <200482516+Mirochill@users.noreply.github.com>
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.

sdist is missing tox.ini

2 participants