There was an error while loading. Please reload this page.
1 parent ca2cf4d commit 6d47bdfCopy full SHA for 6d47bdf
1 file changed
src/univers/version_range.py
@@ -40,7 +40,7 @@ class VersionRange:
40
41
# A list of lists of VersionConstraint that are signposts on the versions
42
# timeline
43
- constraints = attr.ib(type=list, default=attr.Factory(list))
+ constraints = attr.ib(type=tuple, converter=tuple, default=attr.Factory(tuple))
44
45
def __attrs_post_init__(self, *args, **kwargs):
46
self.constraints.sort()
0 commit comments