Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.38.1, 3.41.1
-
3
-
3
Description
ISSUE:
When proxying bloomberg pypi repo, pip clients are unable to parse the whl files path name with below error.
ERROR:
$ pip -vvv download --trusted-host centos79 --index-url=http://centos79:8081/repository/bloomberg-pypi/simple/ blpapi Skipping link http://centos79:8081/repository/bloomberg-pypi/packages/blpapi/3.18.3/blpapi-3.18.3-cp39-cp39-manylinux_2_12_i686.man..%3e (from http://centos79:8081/repository/bloomberg-pypi/simple/blpapi/); unsupported archive format: .> Skipping link http://centos79:8081/repository/bloomberg-pypi/packages/blpapi/3.18.3/blpapi-3.18.3-cp39-cp39-manylinux_2_12_x86_64.m..%3e (from http://centos79:8081/repository/bloomberg-pypi/simple/blpapi/); unsupported archive format: .>
STEPS TO REPRODUCE:
1. Create a pypi proxy repo with remote server URL https://bcms.bloomberg.com/pip/
2. Try installing or downloading blpapi component.
pip -vvv download --trusted-host localhost --index-url=http://localhost:8081/repository/bloomberg-pypi/simple/ blpapi
CAUSE:
Nexus seems to be truncating the pathname for this asset, ending with ">" character, causing pip command to skip.
# cat ./content/vol-35/chap-07/631659a1-7f2f-45f1-b054-e49ac548de59.properties #2022-08-30 11:38:33,531+1000 #Tue Aug 30 11:38:33 AEST 2022 @BlobStore.created-by=anonymous size=6812761 @Bucket.repo-name=bloomberg-pypi creationTime=1661823513530 @BlobStore.created-by-ip=192.168.0.46 @BlobStore.content-type=application/zip @BlobStore.blob-name=/packages/blpapi/3.18.3/blpapi-3.18.3-cp37-cp37m-manylinux_2_12_x86_64...> sha1=1e0b6eb955d4815ba553ceb789e57fae5ca9a96a
EXPECTED BEHAVIOR:
Nexus able to handle long pypi pathnames