adafruit / circuitpython-build-tools

Build scripts for CircuitPython libraries and the bundle
MIT License
28 stars 17 forks source link

Bump the mpy-cross version to 7.3.0 #86

Closed Neradoc closed 2 years ago

Neradoc commented 2 years ago

In CP 7.3.0 there are some language fixes to previous syntax errors in f-strings (from MP18). A string like this would not compile prior to 7.3.0:

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.