Hi John, our OpenMP settings need to be properly fixed. No setting of flags should be done, it's all handled properly by Meson, but it needs to be set up correctly. See https://github.com/sagemath/sage/issues/40898#issuecomment-3879264134 and https://github.com/sagemath/sage/issues/40898#issuecomment-3879308326
Dima On Tue, Feb 10, 2026 at 11:04 AM John H Palmieri <[email protected]> wrote: > > Have these doctest errors on OS X been reported? env.py and > limit_valuation.py: > > src/bin/sage -t --long --warn-long 30.0 > --random-seed=98448027346439960956059533789739743147 src/sage/env.py > ********************************************************************** > File "src/sage/env.py", line 365, in sage.env.cython_aliases > Failed example: > cython( # optional - > sage.misc.cython > ''' > #distutils: extra_compile_args = OPENMP_CFLAGS > #distutils: extra_link_args = OPENMP_CFLAGS > from cython.parallel import prange > > cdef int i > cdef int n = 30 > cdef int sum = 0 > > for i in prange(n, num_threads=4, nogil=True): > sum += i > > print(sum) > ''') > Exception raised: > Traceback (most recent call last): > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/local/var/lib/sage/venv-python3.14/lib/python3.14/site-packages/setuptools/_distutils/spawn.py", > line 87, in spawn > subprocess.check_call(cmd, env=_inject_macos_ver(env)) > ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/opt/homebrew/Cellar/[email protected]/3.14.2_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", > line 419, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '['/usr/bin/gcc', > '-fno-strict-overflow', '-Wsign-compare', '-Wunreachable-code', > '-fno-common', '-dynamic', '-DNDEBUG', '-g', '-O3', '-Wall', > '-I/Users/palmieri/Sage/TESTING/sage-10.9.beta5', > '-I/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src', > '-I/Users/palmieri/Sage/TESTING/sage-10.9.beta5/build/sage-distro/src', > '-I/Users/palmieri/Sage/TESTING/sage-10.9.beta5/local/var/lib/sage/venv-python3.14/include', > > '-I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.14/include/python3.14', > '-c', > '/var/folders/z6/yjw_7s357yx3_mhh81__lplc0000gn/T/sage_zm6m0_lc/spyx_3zdiwgte/_var_folders_z6_yjw_7s357yx3_mhh81__lplc0000gn_T_sage_zm6m0_lc_tmp_hcvmfeqs_pyx/_var_folders_z6_yjw_7s357yx3_mhh81__lplc0000gn_T_sage_zm6m0_lc_tmp_hcvmfeqs_pyx_0.c', > '-o', > '/var/folders/z6/yjw_7s357yx3_mhh81__lplc0000gn/T/sage_zm6m0_lc/spyx_3zdiwgte/_var_folders_z6_yjw_7s357yx3_mhh81__lplc0000gn_T_sage_zm6m0_lc_tmp_hcvmfeqs_pyx/build/temp.macosx-26.0-arm64-cpython-314/var/folders/z6/yjw_7s357yx3_mhh81__lplc0000gn/T/sage_zm6m0_lc/spyx_3zdiwgte/_var_folders_z6_yjw_7s357yx3_mhh81__lplc0000gn_T_sage_zm6m0_lc_tmp_hcvmfeqs_pyx/_var_folders_z6_yjw_7s357yx3_mhh81__lplc0000gn_T_sage_zm6m0_lc_tmp_hcvmfeqs_pyx_0.o', > '-fopenmp', '-w']' returned non-zero exit status 1. > > > [snip] > > > File "sage/misc/lazy_import.pyx", line 413, in > sage.misc.lazy_import.LazyImport.__call__ > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/misc/cython.py", line > 730, in cython_compile > return cython_import_all(tmpfile, get_globals(), **kwds) > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/misc/cython.py", line > 616, in cython_import_all > m = cython_import(filename, **kwds) > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/misc/cython.py", line > 584, in cython_import > name, build_dir = cython(filename, **kwds) > ~~~~~~^^^^^^^^^^^^^^^^^^ > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/misc/cython.py", line > 463, in cython > raise RuntimeError(msg.strip()) > RuntimeError: command '/usr/bin/gcc' failed with exit code 1 > clang: error: unsupported option '-fopenmp' > ********************************************************************** > > > > > > > src/bin/sage -t --long --warn-long 30.0 > --random-seed=98448027346439960956059533789739743147 > src/sage/rings/valuation/limit_valuation.py > ********************************************************************** > File "src/sage/rings/valuation/limit_valuation.py", line 680, in > sage.rings.valuation.limit_valuation.MacLaneLimitValuation._ge_ > Failed example: > valuations.LimitValuation(V[0], F) >= valuations.LimitValuation(V[1], F) > Exception raised: > Traceback (most recent call last): > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/doctest/forker.py", > line 734, in _run > self.compile_and_execute(example, compiler, test.globs) > ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/doctest/forker.py", > line 1158, in compile_and_execute > exec(compiled, globs) > ~~~~^^^^^^^^^^^^^^^^^ > File "<doctest > sage.rings.valuation.limit_valuation.MacLaneLimitValuation._ge_[4]>", line 1, > in <module> > valuations.LimitValuation(V[Integer(0)], F) >= > valuations.LimitValuation(V[Integer(1)], F) > File "sage/structure/element.pyx", line 1101, in > sage.structure.element.Element.__richcmp__ > File "sage/categories/morphism.pyx", line 351, in > sage.categories.morphism.Morphism._richcmp_ > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/rings/valuation/valuation.py", > line 187, in _richcmp_ > return self._ge_(other) > ~~~~~~~~~^^^^^^^ > File > "/Users/palmieri/Sage/TESTING/sage-10.9.beta5/src/sage/rings/valuation/limit_valuation.py", > line 701, in _ge_ > assert self._G.gcd(other._G).is_one() > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ > AssertionError > ********************************************************************** > > > On Sunday, February 1, 2026 at 3:49:58 PM UTC-8 Volker Braun wrote: >> >> As always, you can get the latest beta version from the "develop" git >> branch. Alternatively, the self-contained source tarball is at >> http://www.sagemath.org/download-latest.html >> >> >> 5473e598ac6 (tag: 10.9.beta5, github/develop) Updated SageMath version to >> 10.9.beta5 >> fba50d38ff8 gh-41553: fix the error message in #41502 >> 980f51eedc7 gh-41561: fix doctest warning in >> `src/sage/rings/finite_rings/element_base.pyx` >> 169d9cefac6 gh-41551: Permutation return types >> 914f81e83a2 gh-41546: fix issue in `to_bytes()` for finite fields >> affbd958d62 gh-41542: Deprec after 38184 >> fb101341865 gh-41541: typing in finite_state_machine generators >> 12210297d3a gh-41536: fix issue #41533 >> 4990f435df0 gh-41534: fix relabelling of constellations >> 31e2c71c0bd gh-41529: fix .inverse_image() returning the zero element on the >> wrong curve >> 5eaad8d9c25 gh-41526: build/pkgs/m4ri: update to 20260122 >> bf241e6b5db gh-41524: Fix typo in developer docs for ruff, clearer wording >> 1e65633b662 gh-41522: Add missing files to documentation >> 192ba67c052 gh-41519: some cleanup in isogeny_small_degree.py >> 7716f6f7b90 gh-41517: remove deprecated stuff in modular >> fcd93cf6070 gh-41516: add parameter immutable to graph generators in >> `smallgraphs.py` (part 11) >> 51435787b5b gh-41515: add parameter immutable to graph generators in >> `smallgraphs.py` (part 10) >> 3853a4c7afc gh-41512: add parameter immutable to graph generators in >> `smallgraphs.py` (part 8) >> 767b6882c15 gh-41511: add parameter immutable to graph generators in >> `smallgraphs.py` (part 7) >> 33f7586138c gh-41510: add parameter immutable to graph generators in >> `smallgraphs.py` (part 6) >> cb76b69bdac gh-41509: add parameter immutable to graph generators in >> `smallgraphs.py` (part 5) >> ecca4a31ea0 gh-41508: add parameter immutable to graph generators in >> `smallgraphs.py` (part 4) >> 4ecd80808a8 gh-41507: add parameter immutable to graph generators in >> `smallgraphs.py` (part 3) >> cfc82d7b089 gh-41506: add parameter immutable to graph generators in >> `smallgraphs.py` (part 2) >> 329c2454f1f gh-41505: some typing annotations in rings/ >> ef174cdc989 gh-41502: Fix as_sum_of_permutations over inexact rings >> 0843c3e7709 gh-41501: add parameter immutable to graph generators in >> `smallgraphs.py` (part 1) >> f81ddc2abc4 gh-41493: add parameter immutable to >> `(bi_|strongly_)connected_components_subgraphs` >> 5064c70e1b2 gh-41471: add parameter immutable to graph generators in >> families.py (part 3) >> 10c194b67a0 gh-41470: add parameter immutable to graph generators in >> families.py (part 2) >> 889e5ba0b50 gh-41467: add parameter immutable to graph generators in >> families.py (part 1) >> 2f1ddd563cc gh-41458: improvement of method vertex_separation_BAB >> 40487c8d433 gh-41456: adding two useful methods to lattice polytopes >> e795c97ab71 gh-41422: Fix some formatting details >> 55cead329b8 gh-41404: Remove outdated `needs sage.rings.real_interval_field >> ` annotations >> 19cfe8e8ebd gh-41289: Distinguish between base and A_field for Drinfeld >> modules >> d4948b933bf gh-41197: Prevent order mismatch in words function >> 4f966ca336e gh-40965: Add parameter `forbidden vertices` to methods related >> to biconnected components >> 8670503adb2 gh-39947: add parameter immutable to methods in >> `src/sage/graphs/graph_decompositions/randwidth.pyx|vertex_separation.pyx` >> 28a7d0422ba (tag: 10.9.beta4) Updated SageMath version to 10.9.beta4 >> >> > -- > You received this message because you are subscribed to the Google Groups > "sage-release" 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-release/dff3ab91-d52e-4f55-ba5d-fd0605dfa96cn%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-release" 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-release/CAAWYfq3EuCb9Kx%3DG9f1LyxNgpEO0-B6E2JppTCPqxduSBHRotg%40mail.gmail.com.
