diff contrib/automation/hgautomation/cli.py @ 51832: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 ca7bde5dbafb
children
line wrap: on
line diff
--- a/contrib/automation/hgautomation/cli.py	Tue Sep 10 21:19:36 2024 +0200
+++ b/contrib/automation/hgautomation/cli.py	Tue Sep 10 22:26:23 2024 +0200
@@ -446,9 +446,6 @@
         help='Python version to use',
         choices={
             'system3',
-            '3.5',
-            '3.6',
-            '3.7',
             '3.8',
             'pypy',
             'pypy3.5',
@@ -475,7 +472,7 @@
     sp.add_argument(
         '--python-version',
         help='Python version to use',
-        choices={'3.5', '3.6', '3.7', '3.8', '3.9', '3.10'},
+        choices={'3.8', '3.9', '3.10'},
         default='3.9',
     )
     sp.add_argument(