scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Unable to get name, version, extension from get_sdist_name_ver_ext in utils_thirdparty.py

Open TG1999 opened this issue 3 years ago • 1 comments

Description

Unable to get name, version, extension from get_sdist_name_ver_ext in utils_thirdparty.py

How To Reproduce

>>> from utils_thirdparty import *
>>> get_sdist_name_ver_ext("functools32-3.2.3-2.zip")

https://pypi.org/simple/functools32/

System configuration

Linux Python 3.8

TG1999 avatar Aug 31 '22 21:08 TG1999

According to this https://peps.python.org/pep-0440/ , it is a non-valid version, since it has a hyphen in version.

TG1999 avatar Sep 01 '22 12:09 TG1999