question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What metadata/installability checks should Warehouse check uploads for?

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 10 years ago
  • Reactions:4
  • Comments:30 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
dicommented, Apr 8, 2020
1reaction
msabramocommented, Apr 22, 2014

Example of how CPAN runs tests on packages:

http://ppm4.activestate.com/i686-linux/5.16/1600/M/MS/MSABRAMO/App-TarColor-0.011.d/log-20120801T133902.txt

We can’t let Perl show us up! 😄

ActiveState is active in Python as well as Perl – maybe they are interesting in hosting a service like this like they do for the Perl community?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What metadata/installability checks should Warehouse check ...
What metadata /installability checks should Warehouse check uploads for? ... It would be awesome if PyPI could so checking of packages that ...
Read more >
PackagingWG/2019-06-20-Warehouse - PSF Wiki
Re: autodetection of malicious uploads: we're being funded to build infrastructure that will also help with spam, metadata, installability, and ...
Read more >
Metadata in Data Warehouse (ETL) Explained With Examples
This Tutorial Explains The Role of Metadata in ETL, Examples & Types of Metadata, Metadata Repository & Challenges in Metadata Management.
Read more >
2 Set up clinical data models - Oracle Help Center
A clinical data model is a set of logically related tables. You need one input model for each data source. You create target...
Read more >
7 Warehouse Inspections You Need to Carry Out | ShipBob
There is also pressure to ensure that everything has been checked and accounted for to avoid accidents, OSHA fines, or even lawsuits. 7 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found