Why are we explicitly building with MicroPython v1.24.0?
See this line in init.sh: https://github.com/v923z/micropython-builder/blob/master/scripts/init.sh#L25
Not that MP release that many new versions but is there a reason not to take latest (or the latest version tag)?
You're right, there is no reason for tying the firmware to that particular version. Do you want to fix this?
I think https://github.com/v923z/micropython-builder/pull/36 breaks some of the builds. There should be 19 artifacts, there are only 15 now. We might have to roll this back to 1.24.
I'm not 100% sure but I tried to look at logs and there's another script that pulls micropython (for other boards). It seems that they are using the same folder and it tried to "pull v1.24.0" and caused a detached head for all other runs..
Well, looks like the ESPs have some problem with a dependency on idf (>=5.2.0).
CMake Error at /home/runner/work/micropython-builder/micropython-builder/esp-idf/tools/cmake/build.cmake:519 (message):
ERROR: Because project depends on idf (>=5.2.0) which doesn't match any
versions, version solving failed.
Probably fixable but perhaps deeper than we thought.. I agree - let's roll back at least for now
https://github.com/v923z/micropython-builder/commit/175e086e91d84afbc321113e221b7f05568e40e2 sets back the original state.
Given that b36f2fc7c663b1198d7b0ec80a4780f896fedb54 passes with the ESP boards, but 175e086e91d84afbc321113e221b7f05568e40e2 doesn't, I suspect that the problem is not with the version itself, but with how the constant in
git -C micropython checkout ${MICROPYTHON_TAG}
is evaluated.
You're right. I found one problem with the variable itself (I do the "git tag" not inside the micropython folder). Fixed that, but I still have the error on the ESPs:
ERROR: Because project depends on idf (>=5.2.0) which doesn't match any
I tried to install esp-idf to the latest tag as well in the install_esp_idf script but I'm getting other errors when building micropython. See here if you have any idea: https://github.com/zachmoshe/micropython-builder/actions/runs/18807038294/job/53662695141