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
{{ message }}
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
PyUpdater 4.0 fails due to dsdev-utils.helpers.Version._parse_version_str() with an AttributeError: 'LegacyVersion' object has no attribute 'major' if version string is not PEP440 compliant.
I think it would be nice to handle e.g. output of git describe gracefully, if it starts with a valid PEP440 version, such as '1.18.0-64-g987cb3c'. Could treat this as a dev release with local identifier, for example doing something along the lines of:
On the other hand, perhaps it makes more sense just to require PEP440 compliance and let the user handle this...
Anyway, even if PEP440 compliance is required, I think the non-compliant (LegacyVersion) case should still be handled gracefully by _parse_version_str().