diff contrib/python3-ratchet.py @ 51877:905bc9d0a149

python-compat: drop support for Python3.6 and 3.7 As discussed on the mailing list?, these are old version that seems safe to drop. Python 3.8 comes with various improvement especially regarding typing capabilities. [1] https://lists.mercurial-scm.org/pipermail/mercurial-devel/2024-July/297998.html
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Sep 2024 22:26:23 +0200
parents 6000f5b25c9b
children
line wrap: on
line diff
--- a/contrib/python3-ratchet.py	Tue Sep 10 21:19:36 2024 +0200
+++ b/contrib/python3-ratchet.py	Tue Sep 10 22:26:23 2024 +0200
@@ -93,23 +93,6 @@
                 '--working-tests must be from that repo'
             )
             sys.exit(1)
-    try:
-        subprocess.check_call(
-            [
-                opts.python3,
-                '-c',
-                'import sys ; '
-                'assert ((3, 5) <= sys.version_info < (3, 6) '
-                'or sys.version_info >= (3, 6, 2))',
-            ]
-        )
-    except subprocess.CalledProcessError:
-        print(
-            'warning: Python 3.6.0 and 3.6.1 have '
-            'a bug which breaks Mercurial'
-        )
-        print('(see https://bugs.python.org/issue29714 for details)')
-        sys.exit(1)
 
     rt = subprocess.Popen(
         [