pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

Warn when pypi queries fail

Open andrew-vant opened this issue 6 years ago • 2 comments

Currently, pipreqs silently ignores pypi errors unless --debug is supplied. In particular, when a name needs to be in the mapping file but isn't, pipreqs will look for it on pypi, fail to find it, and skip it without comment. requirements.txt still gets built, but is likely to be wrong.

This PR makes it treat pypi errors as warning-worthy, and adds some debugging lines around mapping lookups.

andrew-vant avatar Nov 21 '18 01:11 andrew-vant

Coverage Status

Coverage increased (+0.5%) to 72.266% when pulling 2971861bacb3f2212ed5e85eba4b526051eefb03 on andrew-vant:missingmappings into 15208540da03fdacf48fcb0a8b88b26da76b64f3 on bndr:master.

coveralls avatar Nov 21 '18 01:11 coveralls

I was cleaning up some of my stale PRs and noticed this was still open with no commits to the repo for a year. Is pipreqs not maintained anymore? Has development moved elsewhere?

andrew-vant avatar Feb 24 '19 23:02 andrew-vant