micropython/docs/develop
Jeff Epler f0c6f16b9e 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>
2025-09-15 14:53:32 +10:00
..
img docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
cmodules.rst py/py.mk: Add SRC_USERMOD_LIB_ASM to include assembly files. 2024-08-01 12:01:18 +10:00
compiler.rst all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
extendingmicropython.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
gettingstarted.rst all: Remove Python 2.7 support. 2025-09-15 14:53:32 +10:00
index.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
library.rst all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
maps.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
memorymgt.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
natmod.rst docs/develop/natmod: Add notes on Picolibc and natmods. 2025-07-20 23:03:40 +10:00
optimizations.rst docs/develop/optimizations: Fix typo identified in issue 14391. 2024-04-29 09:20:28 +10:00
porting.rst all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
publiccapi.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
qstr.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
writingtests.rst tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00