FIX: PyPi Packages incredibly long version numbers may duplicate or cause duplicate errors
Created:
3/13/2024 7:03:02 AM by Alana Tripp
Status:
Awaiting Release on
Last pulled:
3/15/2024 9:50:00 PM
Description:
For our internal reference, reference, here is how I reproduced the issue:
* downloaded `SQLAlchemy-1.4.51-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64` and `SQLAlchemy-1.4.51-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64`
* upload both packages to a new PyPi Feed
* Receive error browsing
Another way to reproduce it is looking at `psutil` and seeing how "psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux201" for a file name that is meant to be "psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl". The incorrect name is resulting in an incorrect download link.[1.FeedPackageVersions_CreateOrUpdatePackageVersion.sql](1.FeedPackageVersions_CreateOrUpdatePackageVersion.sql)