Skip to content

Commit 46b13bc

Browse files
authored
expect pypi-compliant versions
1 parent 2ba79be commit 46b13bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minimum_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def parse_environment(text):
114114

115115

116116
def is_preview(version):
117-
candidates = ["rc", "beta", "alpha"]
117+
candidates = {"rc", "b", "a"}
118118

119119
*_, last_segment = version.segments()
120120
return any(candidate in last_segment for candidate in candidates)

0 commit comments

Comments
 (0)