Include tox.ini in the sdist#67
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The source distribution was missing
tox.ini, which makes downstream testing harder. Closes #43.tox.initoMANIFEST.in.test_httpbin.pyreference (the suite moved totests/) withrecursive-include tests *.py, so the tests are explicitly shipped rather than relying on setuptools auto-discovery.tox.ini'senvlist: droppy37andpypy3(both dropped from support — pypy can't build gevent) and addpy313/py314, so runningtoxfrom the sdist doesn't fail on unsupported interpreters.Verified by building the sdist:
tox.iniandtests/are now present, andtox -lagainst the shipped config listspy38 … py314.Based on #63 (@Mirochill), extended to also fix the stale MANIFEST/tox references. Supersedes #63.