Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat LegacyVersion as InvalidVersion
This resolves a behavior difference with the packaging 21.3 version on Leap 15.2 where parsing('1.7.40~svn') does not raise an InvalidVersion exception but returns "<LegacyVersion('1.7.40~svn')>" instead.
- Loading branch information