void-packages/srcpkgs/mercurial/patches/00-fix-test-remotefilelog-g...

12 lines
513 B
Diff

--- ./tests/hghave.py 2023-10-11 02:51:10.038038013 +0200
+++ ./tests/hghave.py 2023-10-11 02:50:44.353035951 +0200
@@ -868,7 +868,7 @@
# 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))
def has_python_range(v):
major, minor = v.split('.')[0:2]
py_major, py_minor = sys.version_info.major, sys.version_info.minor