-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
sdist is missing tests #6294
Comments
@mtelka to be honest, I am not sure what is being requested here. |
Please try this (sdist at PyPI):
And now the same with the github tarball:
|
We intentionally prune out the tests from the pypi published wheels and packages, that would be a very large package size if we did not. |
I agree that tests should not be in wheels, but sdists are different. Most Python projects keep tests in their sdists. Also setuptools does so by default. |
First , this issue revealed to me that we are not distributing wheels. |
Sorry we are building wheels and uploading them to pypi. |
In addition to developers the sdist audience are also downstream distributions. Which is my case too. I use sdists to create OpenIndiana packages.
Yes, I can use github tarballs for that (I actually do so now for Thank you. |
@mtelka are you running the complete integration test as part of the build? The gentoo ebuild is only running the unittest because the gentoo build system does not allow network calles. |
I do not know. I just run
Unfortunately, I had no time yet to analyze what exactly is failing there. |
I recommend that you just do:
These tests do not detpend on git submodules and do not require a local pypiserver to run. |
Thanks for the hint. It looks far better now:
|
I guess I can close the ticket? |
The sdist is still missing tests :-). |
Well, as I explained, putting the tests there is pointless. |
No objection :-). |
The sdist package at PyPI is missing tests. Please add tests to sdist to make downstream testing easier. Thank you.
The text was updated successfully, but these errors were encountered: