On 2026-02-05 17:09:04, Travis Scrimshaw wrote: > Also, I just got bit by the hidden magic cython recompiling everything (and > I don't know what I did to cause it either). Thankfully my computer is > powerful and fast, it only took 10 minutes to do whatever it needed to do > (which I don't know because I didn't enable the meson verbose on this > computer). > > Python files are okay since they are basically instantaneous, but Cython > files are a different beast. IMO the proper thing to do would be to revert > this feature (to what is effectively the status quo) and **first** have a > proper discussion about whether we want it or not.
Reverting only this aspect is not possible because it's (currently) the intended behavior of meson-python with editable installs. There is an open issue for it, https://github.com/mesonbuild/meson-python/issues/820 and I fall on the side of "verbose by default" myself, so maybe it's worthwhile making our voices heard there. For an immediate solution I would recommend a non-editable install, but there are some annoying issues with those as well. I took the time to track down one of them, and opened an issue this morning: https://github.com/mesonbuild/meson/issues/15531 In the process I found that by appending "-Dpython.bytecompile=-1" to my "meson setup" command, I can get the best of both worlds: nothing happens unless I ask it to rebuild, and when I do ask it to rebuild, it is verbose and as fast as I'd expect. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/aYYdwpRXMRHCwdF2%40mertle.
