Patchwork D12369: run-tests: require Python 3.6

login
register
mail settings
Submitter phabricator
Date March 10, 2022, 1:08 a.m.
Message ID <differential-rev-PHID-DREV-ltbiulppgye7tipzdjwu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50709/
State New
Headers show

Comments

phabricator - March 10, 2022, 1:08 a.m.
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  We recently dropped support for Python 3.5 in `setup.py`. Let's update
  `run-tests.py` to reflect the new reality.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12369

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -72,9 +72,9 @@ 
 import uuid
 import xml.dom.minidom as minidom
 
-if sys.version_info < (3, 5, 0):
+if sys.version_info < (3, 6, 0):
     print(
-        '%s is only supported on Python 3.5+, not %s'
+        '%s is only supported on Python 3.6+, not %s'
         % (sys.argv[0], '.'.join(str(v) for v in sys.version_info[:3]))
     )
     sys.exit(70)  # EX_SOFTWARE from `man 3 sysexit`