-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
feature requestneeds discussiona product management/policy issue maintainers and users should discussa product management/policy issue maintainers and users should discusstestingTest infrastructure and individual testsTest infrastructure and individual tests
Milestone
Description
Recently, a project that I worked on pushed a new version to PyPI and it turned out to be completely broken, because the setup.py
was referencing a README.rst
file that was not present in the sdist.
It would be awesome if PyPI could so checking of packages that are uploaded.
To start with, it could create a virtualenv and try pip installing the package and make sure that exits with status 0. Perhaps it could also try easy_install to make sure that works too.
There are more elaborate things that could be done like run tests if they are included (many packages don't bundle their tests though) or try to validate the RST, but I think just pip installing is a very good first start, as it detects packages that are completely broken.
m-aciek, zenogantner, zioalex and andriyor
Metadata
Metadata
Assignees
Labels
feature requestneeds discussiona product management/policy issue maintainers and users should discussa product management/policy issue maintainers and users should discusstestingTest infrastructure and individual testsTest infrastructure and individual tests