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 635f315 commit 4d57594Copy full SHA for 4d57594
validate.py
@@ -63,8 +63,9 @@ def _pythons_to_check(
63
continue
64
elif tag.interpreter.startswith("py3"):
65
for py in PYTHONS:
66
- if tag in packaging.tags.compatible_tags(py):
67
- tag_compatible_pythons.add(_py_exe(*py))
+ if tag not in packaging.tags.compatible_tags(py):
+ raise AssertionError(f"{tag} is not compatible with python {py}")
68
+ tag_compatible_pythons.add(_py_exe(*py))
69
else:
70
raise AssertionError(f"unexpected tag: {tag}")
71
0 commit comments