You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since LegacyVersion is dropped, the dist filename parsing functions can now raise InvalidVersion. This is however not mentioned in the docs. I can see two solutions:
Mention this in the docs.
Catch InvalidVersion and raise InvalidWheelFilename or InvalidSdistFilename instead. Having an invalid version in the filename arguably qualifies as having an invalid filename? (Considering the functions don’t raise e.g. InvalidProjectName when the project part is not a valid name.)