Mercurial > hg
changeset 49783:3bbf1ad850f0 stable
hghave: we might need py310 and py311 at some point
Some tests are already showing slightly different results on Python 3.11. The
better idea would be to make them more portable, but if that's not possible,
now we can use hghave detection for certain lines.
I wonder if there will ever be Python 31.0 and 31.1 though.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 11 Dec 2022 16:46:29 +0400 |
parents | cafe34655335 |
children | e45590649888 |
files | tests/hghave.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Sun Dec 11 16:44:50 2022 +0400 +++ b/tests/hghave.py Sun Dec 11 16:46:29 2022 +0400 @@ -877,7 +877,7 @@ # Add "py27", "py35", ... as possible feature checks. Note that there's no # punctuation here. -@checkvers("py", "Python >= %s", (2.7, 3.5, 3.6, 3.7, 3.8, 3.9)) +@checkvers("py", "Python >= %s", (2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11)) def has_python_range(v): major, minor = v.split('.')[0:2] py_major, py_minor = sys.version_info.major, sys.version_info.minor