-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include tests in PyPI tarball #68
Comments
@kwshi Thank you for raising this! I appreciate the position package vendors have in this regard. Reading more about this inclusion, I don't understand how the source distribution will know which test dependencies to install, as I do not see hat key in the generated setup.py file. These dependencies are necessary for the project to run tests, how does the package vendor get notified of them? |
@miketheman Great question--there's two parts to this answer:
On a related note: the |
@kwshi Excellent response, thanks! I'll be happy to incorporate this change soon and release a patch version package. |
Currently, the PyPI source archive does not contain the tests for
pytest-socket
:OS/distribution package vendors rely on package tests to validate sanity/functionality of packages; as such, it would be a good idea to ship these tests together with the rest of the source. It can be done by adding the following line to
pyproject.toml
(documentation here):The text was updated successfully, but these errors were encountered: