It just happened to me to use `VersionInfo(3, 2, 1, 1)` which later failed due to the prerelease not being a string which the comparison assumed. I propose to **either** 1. Convert arguments in ctor of `VersionInfo` to their correct types (int/string) 2. Assert the correct type
Activity
Fix python-semver#135, convert prerelease and build to string
tomschr commentedon Sep 29, 2019
@Flamefire Maybe you wanna try my patch? 😉
Enhance test_should_compare_prerelease_and_build_with_numbers
Fix #135, convert prerelease and build to string (#140)