mrkeyoor.comAsk

micropython/micropythontested 09 Oct 2026commit a129b2f

micropython review

Evaluate MicroPython when Python fits the application and the chosen port documents the required modules and peripherals.

  • Install 12 s
  • Build failed
0/44passed, run exited non-zero
  • 35 packages
Dev Toolsevaluationupdated 11 Nov 2026
+5stars / 7d

MicroPython is an implementation of Python for microcontrollers, embedded systems and other constrained platforms. It provides hardware interfaces while implementing a subset of Python functionality for its data types and modules. Check the required imports and peripheral operations against your chosen firmware before moving desktop code.

Verdict

Evaluate MicroPython when Python fits the application and the chosen port documents the required modules and peripherals. Our build exited 1 after 7 seconds, and pytest recorded 44 collection/setup errors. The harness recorded install exit 0, but the existing review's packaging-error account remains unresolved without the raw install log. Choose the board and exact firmware first, then verify the required operation on hardware.

We ran it

Lab card: what happened when we ran micropython
Lab card from our sandbox run
Screenshot of micropython (micropython.org)
micropython.org
Install✓ · 12s35 packages · 37 MB
Build✗ · 7s
Tests✗ · 16s0 passed · 0 failed · 44 errors of 44 (pytest)
Known vulns0(pip-audit)
Repo53970 files~19,132,750 lines of source · 1810.4 MB · 28 CI workflows · tests dir

Answers from our run

Does micropython build from source?

Dependencies installed in 12 seconds (35 packages), and the build failed. We cloned commit a129b2f into a clean Debian container with 3 CPUs and no project-specific setup.

Do micropython's tests pass?

No. The project's own test command finished in 16 seconds and reported 0 passed, 0 failed, 44 collection errors (pytest).

Does micropython have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use micropython?

Applications requiring complete CPython module and datatype behavior.

What are the alternatives to micropython?

CircuitPython, Arduino Core for mbed enabled devices. Evaluate MicroPython when Python fits the application and the chosen port documents the required modules and peripherals.

Setup2/5Our source checkout installed but the build failed.Editor’s note: The record does not establish a supported port's setup outcome, and the installation account cannot be reconciled without the raw install log.
Docs4/5Under the visible coverage rubric, the README documents components, prerequisites, submodules, support tiers and target references. This assesses documented guidance, not successful execution or board compatibility.
Community4/5Last push on 2026-11-11, 22,199 stars and 1,587 open issues and pull requests is a heavy backlog for its size.Editor’s note: Repository activity and discussion channels do not establish response times, support quality or maintainer capacity.
Maturity4/5Latest release v1.29.0 on 2026-08-24, repository created 2013-12-20 and its test suite did not pass in our sandbox (0 of 44 passed).Editor’s note: The run provides no board workload or supported-port validation, leaving firmware reliability and peripheral compatibility unverified.

How we score

Discussed on

  1. hnMicroPython338 points
  2. hnMicroPython – Python for Microcontrollers251 points
  3. hnMicroPython on the BBC micro:bit154 points
  4. hnShow HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)142 points
  5. hnMicroPython and the European Space Agency140 points

Who it’s for

Embedded developers whose chosen port documents the peripherals their application needs.
Python programmers prepared to check module behavior before transferring scripts to a device.
Firmware contributors who need the compiler, runtime and platform code in one repository.

Who it’s NOT for

Applications requiring complete CPython module and datatype behavior.
Projects assuming threading, networking or asyncio is available on every board.
Teams requiring equally tested support across all ports: the README says maintainers do not regularly test Tier 3 ports.

Setup reality

Our run at a129b2f on 2026-10-09 recorded install exit 0 after 12 seconds, with 35 dependencies and 37 MB on disk. That is the harness status, not confirmation of a usable installation. The existing published review describes setuptools editable and wheel build errors in the same run's install output. The supplied excerpts contain no raw install log, so they cannot independently verify or reconcile that account.

The build exited 1 after 7 seconds. Tests exited 3 after 16 seconds, with pytest recording 0 passed, 0 failed and 44 collection/setup errors. The build tail contains inline-assembly SyntaxWarnings but does not identify the fatal error. The test tail shows SystemExit during collection.

The README describes a port-specific source workflow using make, a compiler and submodules; most ports also require mpy-cross. The supplied record does not establish that a supported port's prerequisites were prepared or that a working interpreter or firmware image resulted.

The configured sandbox had 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm. That label does not establish actual runtime or operating-system versions. Pip-audit recorded 0 known vulnerabilities and packages=0, establishing no meaningful package coverage. Board operation and supported-port setup ease remain unverified.

Check your board's modules before moving desktop code

MicroPython implements a subset of Python functionality for its data types and modules. Before moving a working laptop script onto a microcontroller, check the functions it calls against the intended firmware. A familiar import name such as os does not establish that the device provides every function your application needs.

The repository README describes hardware interfaces including GPIO, timers and I2C. Some ports support threading, networking and asyncio. Evaluate the target port and firmware rather than assuming those features are available on every board.

The supplied README describes the repository when collected; it is not a commit-specific extract for our measured checkout. Its capabilities should not be treated as proof of what was available at a129b2f. Match the documentation you use to the exact firmware version you intend to deploy.

What happened when we ran it

Our October 9, 2026 sandbox run used commit a129b2f. The harness recorded install exit 0 after 12 seconds, with 35 dependencies and 37 MB on disk. That status does not establish a usable MicroPython installation.

The existing MicroPython review describes setuptools errors during both editable and wheel builds in this same run, despite install exit 0. The supplied excerpts contain no raw install log, so they cannot independently verify or reconcile that account. The installation outcome remains unresolved beyond the recorded harness status.

The build exited 1 after 7 seconds. Its supplied tail contains SyntaxWarnings in RISC-V inline-assembly files under tests/inlineasm/rv32, including warnings beside expressions such as lw(a3, 4(sp)). The tail does not identify the fatal build error. It cannot establish that those warnings caused the failure.

Pytest exited 3 after 16 seconds, recording 0 passed, 0 failed and 44 collection/setup errors. The tail shows an import of tests/multi_espnow/40_recv_test.py encountering SystemExit at line 11. This is evidence of interrupted collection, not board applications failing assertions. Repeated summary footers describe the same error total and must not be added together.

The configured environment had 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm. The label alone does not establish actual runtime or operating-system versions. The scan recorded 28 CI workflow files, a tests directory and no Dockerfile.

Pip-audit recorded 0 known vulnerabilities, but the harness also records packages=0. The advisory total therefore establishes no meaningful package coverage and cannot establish firmware security.

These repository steps did not verify firmware flashing, peripheral operation or physical-device workloads. This correction reports no new execution.

Follow the selected port's build instructions

The README separates the compiler and runtime in py/ from platform-specific code in ports/. Most ports require the mpy-cross cross-compiler to be built first. The documented prerequisites include make, bash, gcc and Python, with CMake additionally used by rp2 and esp32.

The README says the core VM and runtime have no external dependencies, while individual ports may depend on drivers or vendor hardware abstraction layers. Its submodule instructions address those port dependencies. The supplied sandbox tails do not establish whether a particular port's toolchain and dependencies were prepared, so they cannot diagnose the result of following that port's instructions.

MicroPython can execute textual scripts or precompiled .mpy bytecode, either from a device filesystem or frozen into its executable. Those are documented delivery options; our run did not verify them on hardware.

Support tiers help narrow the target

The README describes Tier 1 ports as mature, with the most active development, support and testing. Tier 3 ports are built in CI but are not regularly tested by the maintainers. These are project support descriptions, not measurements of every peripheral on a particular board.

Start with an operation your application needs, such as reading its intended sensor over I2C. Check the required module and operation against the chosen board's firmware reference, then exercise it on the device. This is a proposed next step, not an experiment performed in our sandbox.

The supplied latest-release metadata identifies v1.29.0, published August 24, 2026. That release tag is separate from our measured checkout, a129b2f; the record does not establish that this release was installed on a device.

Compare workflows before switching runtimes

CircuitPython reruns code after filesystem writes by a workflow. Its README describes editing code.py on the CIRCUITPY drive for supported USB boards. It also states that autoreload is disabled while the REPL is active and can be disabled explicitly. Check board support and hardware APIs before switching: the README states that CircuitPython has no machine API.

ArduinoCore-mbed provides Arduino APIs and IDE integration for mbed-enabled boards. Its README also documents calling mbed APIs from sketches. Consider it when your board is covered and you want the Arduino programming model. We have no comparative setup or execution measurements for either alternative.

What the documentation rating covers

Documentation receives 4/5 for the guidance visible in the supplied README. This editorial rubric assigns 1 when essential prerequisites are absent, 2 when major parts of the documented route are missing, 3 when a usable route has material gaps, 4 when components, prerequisites and target references are clearly documented, and 5 when coverage is also independently corroborated across the assessed routes.

The repository map, prerequisites, submodule instructions, support tiers and target references support 4 for documented coverage. This does not rate how easy those instructions are to follow or establish that every linked instruction works. Setup ease, community support and hardware maturity remain unassessed.

Before adopting MicroPython, compare your required imports and peripheral operations with the exact target firmware's reference. If they match, build or obtain that firmware and verify a required operation on the board. The recorded repository failures leave that hardware decision open.

Alternatives

ProjectWhat it isPick it when
CircuitPythonA MicroPython-based Python runtime with a documented file-editing and automatic-reload workflow.Choose it when editing code.py on a supported board suits your project. Check board support and hardware APIs, including the absence of MicroPython's machine API; autoreload can be disabled and is disabled while the REPL is active.
Arduino Core for mbed enabled devicesArduino APIs and IDE integration for mbed-enabled boards.Choose it when your target is covered by this core and you want Arduino APIs or access to mbed APIs from sketches. The supplied evidence contains no comparative execution measurements.

Sources

  1. MicroPython repository and README
  2. Existing MicroPython review
  3. Latest release metadata
  4. CircuitPython README
  5. ArduinoCore-mbed README

More dev tools reviews