Details
Description
Create a pypi proxy of https://bloomberg.bintray.com/pip in Nexus Repo 3.13.0, and try to download the "blpapi" package from it using pip.
This will fail. The nexus.log shows:
2018-10-11 14:02:55,123-0300 WARN [qtp370829994-301] *UNKNOWN org.sonatype.nexus.repository.pypi.internal.PyPiIndexUtils - Found unexpected PyPI link format, skipping: blpapi-3.9.2-cp27-cp27m-win32.whl
2018-10-11 14:02:55,124-0300 WARN [qtp370829994-301] *UNKNOWN org.sonatype.nexus.repository.pypi.internal.PyPiIndexUtils - Found unexpected PyPI link format, skipping: blpapi-3.9.2-cp27-cp27m-win_amd64.whl
2018-10-11 14:02:55,124-0300 WARN [qtp370829994-301] *UNKNOWN org.sonatype.nexus.repository.pypi.internal.PyPiIndexUtils - Found unexpected PyPI link format, skipping: blpapi-3.9.2-cp35-cp35m-win32.whl
The issue can be seen in the HTML source of https://bloomberg.bintray.com/pip/simple/blpapi:
<html> <head> </head> <body> <pre><a href="blpapi-3.9.2-cp27-cp27m-win32.whl">blpapi-3.9.2-cp27-cp27m-win32.whl</a></pre> <pre><a href="blpapi-3.9.2-cp27-cp27m-win_amd64.whl">blpapi-3.9.2-cp27-cp27m-win_amd64.whl</a></pre> <pre><a href="blpapi-3.9.2-cp35-cp35m-win32.whl">blpapi-3.9.2-cp35-cp35m-win32.whl</a></pre> <pre><a href="blpapi-3.9.2-cp35-cp35m-win_amd64.whl">blpapi-3.9.2-cp35-cp35m-win_amd64.whl</a></pre> <pre><a href="blpapi-3.9.2-cp36-cp36m-win32.whl">blpapi-3.9.2-cp36-cp36m-win32.whl</a></pre> <pre><a href="blpapi-3.9.2-cp36-cp36m-win_amd64.whl">blpapi-3.9.2-cp36-cp36m-win_amd64.whl</a></pre> <pre><a href="blpapi-3.9.2.tar.gz">blpapi-3.9.2.tar.gz</a></pre> </body> </html>
Note that the packages are not under a "/packages" directory. Our code is explicitly looking for that, and will not download anything that is not in a "/packages" location:
Expected: A Nexus Repo 3 pypi proxy should be able to proxy anything pip can download.