generated from aboutcode-org/skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
2-nextbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
>>> from univers.version_range import MavenVersionRange
>>> MavenVersionRange.from_native("[3.0.0,3.1.1),(,2.3.4)")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "../univers/version_range.py", line 784, in from_native
restrictions = maven.VersionRange(string).restrictions
File "../univers/maven.py", line 226, in __init__
raise VersionRangeParseError("Ranges overlap: %s" % spec)
univers.maven.VersionRangeParseError: Ranges overlap: [3.0.0,3.1.1),(,2.3.4)
>>> from univers.version_range import MavenVersionRange
>>> MavenVersionRange.from_native("[5.0,5.0]")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "../univers/version_range.py", line 784, in from_native
restrictions = maven.VersionRange(string).restrictions
File "../univers/maven.py", line 219, in __init__
restriction = Restriction(_spec[0 : close + 1])
File "../univers/maven.py", line 81, in __init__
raise RestrictionParseError("Range cannot have identical boundaries: %s" % spec)
univers.maven.RestrictionParseError: Range cannot have identical boundaries: [5.0,5.0]
Metadata
Metadata
Assignees
Labels
2-nextbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers