comparison 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
comparison
equal deleted inserted replaced
51831:6cc18075f82a 51832:905bc9d0a149
444 sp.add_argument( 444 sp.add_argument(
445 '--python-version', 445 '--python-version',
446 help='Python version to use', 446 help='Python version to use',
447 choices={ 447 choices={
448 'system3', 448 'system3',
449 '3.5',
450 '3.6',
451 '3.7',
452 '3.8', 449 '3.8',
453 'pypy', 450 'pypy',
454 'pypy3.5', 451 'pypy3.5',
455 'pypy3.6', 452 'pypy3.6',
456 }, 453 },
473 default='m6i.large', 470 default='m6i.large',
474 ) 471 )
475 sp.add_argument( 472 sp.add_argument(
476 '--python-version', 473 '--python-version',
477 help='Python version to use', 474 help='Python version to use',
478 choices={'3.5', '3.6', '3.7', '3.8', '3.9', '3.10'}, 475 choices={'3.8', '3.9', '3.10'},
479 default='3.9', 476 default='3.9',
480 ) 477 )
481 sp.add_argument( 478 sp.add_argument(
482 '--arch', 479 '--arch',
483 help='Architecture to test', 480 help='Architecture to test',