You have to (pip)install `meson`. Not sure what's the sage-the-distro way of doing this (or why meson is not automatically installed in the venv).
Or, preferably, after https://github.com/sagemath/sage/pull/39262 you can just run `uv run tools/update-meson.py`. On Friday, May 16, 2025 at 5:05:26 PM UTC+8 axio...@yahoo.de wrote: > > Traceback (most recent call last): > File "/home/martin/sage/tools/update-meson.py", line 15, in <module> > from mesonbuild.mformat import ( > ModuleNotFoundError: No module named 'mesonbuild.mformat' > > On Friday, 16 May 2025 at 02:20:01 UTC+2 tobia...@gmx.de wrote: > >> Yes the meson files need to be changed whenever you add or remove python >> or cython files. Either run 'tools/update-meson.py' locally or apply the >> changes suggested in the above output manually. >> >> On Thursday, May 15, 2025 at 11:51:16 PM UTC+8 axio...@yahoo.de wrote: >> >>> The patchbot reports the following: >>> >>> Run python3 tools/update-meson.py >>> Analyzing meson file: ./meson.build >>> -- Project: SageMath >>> -- Version: undefined >>> Rewriting ./src/sage/rings/meson.build >>> Error: the git repo has uncommitted changes: >>> M src/sage/rings/meson.build >>> HEAD detached from pull/38544/merge >>> Changes not staged for commit: >>> (use "git add <file>..." to update what will be committed) >>> (use "git restore <file>..." to discard changes in working directory) >>> modified: src/sage/rings/meson.build >>> no changes added to commit (use "git add" and/or "git commit -a") >>> diff --git a/src/sage/rings/meson.build b/src/sage/rings/meson.build >>> index 5f4dafd..30a059f 100644 >>> --- a/src/sage/rings/meson.build >>> +++ b/src/sage/rings/meson.build >>> @@ -38,6 +38,7 @@ py.install_sources( >>> 'laurent_series_ring_element.pxd', >>> 'lazy_series.py', >>> 'lazy_series_ring.py', >>> + 'lazy_species.py', >>> 'localization.py', >>> 'monomials.py', >>> 'morphism.pxd', >>> Error: Process completed with exit code 1. >> >> -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/e07bbee7-3681-455b-b135-f7f86a1cc34an%40googlegroups.com.