Skip to content
Snippets Groups Projects
Commit 54a75576287a authored by Manuel Jacob's avatar Manuel Jacob
Browse files

hghave: add py312 and py313

While not required in the core test suite in the moment, these could be useful
in the future or for extensions. For example, Python 3.12 removed distutils and
it might make sense to differentiate based on that.
parent 7d313b259169
No related branches found
No related tags found
1 merge request!761hghave changes
......@@ -868,7 +868,11 @@
# Add "py36", "py37", ... as possible feature checks. Note that there's no
# punctuation here.
@checkvers("py", "Python >= %s", ('3.6', '3.7', '3.8', '3.9', '3.10', '3.11'))
@checkvers(
"py",
"Python >= %s",
('3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'),
)
def has_python_range(v):
major, minor = v.split('.')[0:2]
py_major, py_minor = sys.version_info.major, sys.version_info.minor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment