Python crash when phone-side JavaScript runs

I develop Pebble applications locally on macOS Tahoe 26.5. Recently when running pebble build && pebble install --emulator [aplite-emery], QEMU and my C app launches just fine, but Python crashes and my phone side JavaScript application doesn’t run.

I gave Claude the output from the crash and it pointed me towards an issue with STPyV8.

I am suspecting some issue with my Python 3.14 installation, it seems like some issue with Python that pebble-tool uses, and Python that has been installed by Brew for other stuff on my system. Maybe a symlink problem?

I’m in a bit over my head on this one. Has anyone else seen this happen?

1 Like

python 3.14 explicitly not supported right now as mentioned on Installing the Pebble SDK // Pebble Developers

1 Like

Whoops, I accidentally read that as 3.14 or lower. That probably means that this is an easy fix. Sorry for the trouble!

1 Like

I was mistaken, this doesn’t seem to be a Python issue (I’ve got 3.13.13 available), but something in STPYv8.

It looks like it crashes when I try to use date.toLocaleString() in my JS. Claude thinks it’s something to do with ICU, specific icu4c (not icu4j, weirdly? I don’t know how STPYv8 works).