Skip to content

Commit f91e010

Browse files
authored
Bump the mpy-cross version for fixes to the language
In Micropython 18 (and CP 7.3.0) there are some language fixes to previous syntax errors in f-strings, and maybe others. A string like this would not compile prior to 7.3.0: ```py string = "123456789" print(f"{string[2:6]}") ``` Note that an MPY file with that code generated with mpy-cross 7.3.0 runs properly on 7.0.0 according to my tests.
1 parent de44a70 commit f91e010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuitpython_build_tools/target_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
# The tag specifies which version of CircuitPython to use for mpy-cross.
2626
# The name is used when constructing the zip file names.
2727
VERSIONS = [
28-
{"tag": "7.0.0", "name": "7.x"},
28+
{"tag": "7.3.0", "name": "7.x"},
2929
]

0 commit comments

Comments
 (0)