summaryrefslogtreecommitdiff
path: root/py/makeqstrdefs.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-08-08 10:09:13 -0500
committerDamien George <damien@micropython.org>2025-09-15 14:53:32 +1000
commitf0c6f16b9eeedc11f3b042704109fddb9aa3532f (patch)
tree49c6d1923e0f5f488ce589c300e6df19e0176226 /py/makeqstrdefs.py
parentd441788975a6dfb277ad9a3d54d651ae48817d16 (diff)
all: Remove Python 2.7 support.
Python 2.7 has been EOL since January 2020. Ubuntu oldoldlts (Focal Fossa, 20.04) has Python 3.8. Debian oldoldstable (Buster, from 2019) has Python 3.7. RHEL 8 (from 2019) has Python 3.6. It's easier than ever to install a modern Python using uv. Given this, it seems like a fine idea to drop Python 2.7 support. Even though the build is not tested on Python as old as 3.3, I left comments stating that "3.3+" is the baseline Python version. However, it might make sense to bump this to e.g., 3.10, the oldest Python 3 version used during CI. Or, using uv or another method actually test on the oldest Python interpreter that is desirable to support (uv goes back to Python 3.7 easily; in October 2025, the oldest supported Python interpreter version will be 3.10) Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'py/makeqstrdefs.py')
-rw-r--r--py/makeqstrdefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/makeqstrdefs.py b/py/makeqstrdefs.py
index 8e930ef50..3f53e1ff3 100644
--- a/py/makeqstrdefs.py
+++ b/py/makeqstrdefs.py
@@ -2,7 +2,7 @@
This script processes the output from the C preprocessor and extracts all
qstr. Each qstr is transformed into a qstr definition of the form 'Q(...)'.
-This script works with Python 2.6, 2.7, 3.3 and 3.4.
+This script works with Python 3.3+.
"""
from __future__ import print_function