We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd62da commit e4b3e0fCopy full SHA for e4b3e0f
src/ansys/tools/common/versioning.py
@@ -112,10 +112,6 @@ def version_string_as_tuple(version_string):
112
# Check version string numbers are numeric by converting to integers
113
version_tuple = tuple(map(VersionNumber, version_string.split(".")))
114
115
- # Check version numbers are positive integers
116
- if not all(num >= VersionNumber(0) for num in version_tuple):
117
- raise ValueError
118
-
119
except ValueError:
120
raise VersionSyntaxError(
121
"Version string can only contain positive integers following <MAJOR>.<MINOR>.<PATCH> versioning."
0 commit comments