Skip to content

Commit 2ddb71a

Browse files
committed
Add support for MicroPython v1.23 (MPY v6.3)
1 parent 4b26643 commit 2ddb71a

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

mpy_cross_multi/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ def _mp_version_to_mpy_abi_version(mp_ver: Version) -> str:
1717
TypeError: If the input is not a valid version string
1818
NotImplementedError: If the MicroPython version is not supported
1919
"""
20+
if mp_ver.match(">=1.24.0"):
21+
raise NotImplementedError("MicroPython version must be <1.24.0")
22+
2023
if mp_ver.match(">=1.23.0"):
21-
raise NotImplementedError("MicroPython version must be <1.23.0")
24+
return "6.3"
2225

2326
if mp_ver.match(">=1.22.0"):
2427
return "6.2"

poetry.lock

+19-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mpy-cross-multi"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
description = "MicroPython cross-compiler targeting multiple runtime versions."
55
authors = ["David Lechner <[email protected]>"]
66
license = "MIT"
@@ -15,6 +15,7 @@ mpy-cross-v5 = "^1.0.2"
1515
mpy-cross-v6 = "^1.0.2"
1616
"mpy-cross-v6.1" = "^1.0.1"
1717
"mpy-cross-v6.2" = "^1.0.0"
18+
"mpy-cross-v6.3" = "^1.0.0"
1819
semver = "^3.0.2"
1920

2021
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)