Skip to content
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 sdist #8

Closed
jayvdb opened this issue Sep 30, 2020 · 1 comment · Fixed by #10
Closed

Include tests in PyPI sdist #8

jayvdb opened this issue Sep 30, 2020 · 1 comment · Fixed by #10
Labels
tests Something to do with the tests

Comments

@jayvdb
Copy link

jayvdb commented Sep 30, 2020

In order to submit this for inclusion in openSUSE package collection, I need to run the tests offline in the isolated rpmbuild workers. The first step for that is getting the tests into the tarball.

This can be done using a MANIFEST.in, but there are newer solutions depending on how the sdist is built and uploaded to PyPI.

e.g. dephell automatically adds tests to sdist if they are below a certain size.

@jayvdb
Copy link
Author

jayvdb commented Sep 30, 2020

The test suite is a bit limited atm, not surprising as it is still new.

When expanding them, it would be great if a "network" mark was used on all tests which require network, so that I can run pytest -k not network to exclude them.

@enpaul enpaul added the tests Something to do with the tests label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Something to do with the tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants