mosquito / pypi-server

Tornado based server like pypi.python.org. With caching from pypi.
MIT License
120 stars 38 forks source link

Return 404 instead of 500 for missing packages #32

Open astrojuanlu opened 6 years ago

astrojuanlu commented 6 years ago

The release of pip 10 broke the workflow for alternative PyPI servers, as it's explained in this issue by @popravich and which also affects pypi-server:

https://github.com/pypa/pip/issues/5270

I haven't had time to properly debug the issue, but it seems that returning a nice 404 when the package is missing would fix the problem.

cc @AmitAronovitch @guydou

astrojuanlu commented 6 years ago

It seems that this project is not active anymore, so we're fixing this in our fork.

https://github.com/Juanlu001/pypi-server