Skip to content

Include tox.ini in the sdist#67

Merged
kevin1024 merged 1 commit into
mainfrom
sdist-tox-ini
Jun 16, 2026
Merged

Include tox.ini in the sdist#67
kevin1024 merged 1 commit into
mainfrom
sdist-tox-ini

Conversation

@kevin1024

Copy link
Copy Markdown

The source distribution was missing tox.ini, which makes downstream testing harder. Closes #43.

  • Add tox.ini to MANIFEST.in.
  • Replace the stale test_httpbin.py reference (the suite moved to tests/) with recursive-include tests *.py, so the tests are explicitly shipped rather than relying on setuptools auto-discovery.
  • Update tox.ini's envlist: drop py37 and pypy3 (both dropped from support — pypy can't build gevent) and add py313/py314, so running tox from the sdist doesn't fail on unsupported interpreters.

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

Based on #63 (@Mirochill), extended to also fix the stale MANIFEST/tox references. Supersedes #63.

The source distribution was missing tox.ini, making downstream testing
harder (#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 #43. Supersedes #63.

Co-Authored-By: Mirochill <200482516+Mirochill@users.noreply.github.com>
@kevin1024 kevin1024 merged commit 605dccf into main Jun 16, 2026
41 of 45 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.

sdist is missing tox.ini

1 participant