With cython 3.2.4, I don't see this warning on macOS. See https://github.com/sagemath/sage/pull/41409
On Wed, Jan 28, 2026 at 1:48 PM John H Palmieri <[email protected]> wrote: > > > > On Wednesday, January 28, 2026 at 10:38:22 AM UTC-8 Dima Pasechnik wrote: > > On Wed, Jan 28, 2026 at 12:16 PM John H Palmieri <[email protected]> wrote: > > > > As with earlier versions, with OS X 26.2 I'm seeing: > > > > File "src/sage/misc/sagedoc.py", line 709, in sage.misc.sagedoc.format > > Failed example: > > cython('\n'.join(cython_code)) # needs sage.misc.cython > > Expected nothing > > Got: > > ld: warning: building for macOS-15.0, but linking with dylib > > '/Users/palmieri/Sage/TESTING/sage-10.9.beta1/local/lib/libec.14.dylib' > > which was built for newer version 26.0 > > ld: warning: building for macOS-15.0, but linking with dylib > > '/Users/palmieri/Sage/TESTING/sage-10.9.beta1/local/lib/libgsl.27.dylib' > > which was built for newer version 26.0 > > > > We should be able to filter out warning messages like these in > > src/doctest/parsing.py, but maybe we can set flags to specify which version > > of Mac OS we're building for. Is MACOSX_DEPLOYMENT_TARGET being incorrectly > > set somewhere? > > Sage does not set it. (have a look at the output of "git grep > MACOSX_DEPLOYMENT_TARGET"). > Upstream dependencies might set it, though. (however, eclib does not > do it, as far as I know) > > Perhaps you have it set, or your toolchain? > > > I don't have it set myself. When I upgraded the OS version, I also upgraded > the command-line tools to the corresponding version, so I hope that is not > causing this. > > > What's the Cython version, i.e. the output of > > import cython > cython.__version__ > > > Sage builds its own Cython, so this prints '3.1.3'. > > > > Dima > > > > > > > > On Sunday, January 25, 2026 at 11:36:40 AM 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 > >> > >> > >> 28a7d0422ba (tag: 10.9.beta4, github/develop) Updated SageMath version to > >> 10.9.beta4 > >> fb670de31ee gh-41490: Attempt to fix flaky integration test > >> 4ea9bb15d36 gh-41488: Fix all_cycles_iterator for immutable graphs > >> 4ed69bcccc3 gh-41487: Fix feedback_vertex_set for immutable graphs > >> e1167b2b4f4 gh-41482: Absolute and resorted imports in `sage.algebras` > >> 1bd9587e81c gh-41481: Absolute and resorted imports in `sage.interfaces` > >> 1741b8e3255 gh-41480: some cleanup in term_order.py > >> 3e4889a2683 gh-41479: cleanup in cryptominisat.py > >> 8c844819101 gh-41476: Rename folders that were not valid python package > >> names > >> c644e2edd99 gh-41473: using cached_method inside one file in abvar/ > >> 120e204734a gh-41469: Prevent leaking file descriptors when using database > >> files > >> a6e482159fd gh-41468: Consolidate most 32- and 64-bit special cases in the > >> doctests > >> 9be6090e973 gh-41466: add parameter immutable to `cosetGraph` > >> 06219be806e gh-41465: details in sandpile.py > >> 5612120312e gh-41464: Fix capitalization of PREP tutorial links > >> 0e26f1c2091 gh-41462: Update Meson build dependencies for polynomial > >> modules to be more specific > >> 12b4374d736 gh-41461: Update uv lock file and improve uv installation > >> procedure > >> 3d138b2681e gh-41460: remove some deprecated stuff in rings/polynomials > >> e7b803b893d gh-41459: Fix docstring formatting to raw string literals > >> 165d8d78a1b gh-41457: remove deprecated operation between reals > >> 35f08a7d5f3 gh-41449: Remove references to sagemath-standard from > >> documentation > >> 399ea8f9991 gh-41448: remove deprecated stuff in combinat/sf > >> 1fb9ec51f24 gh-41447: remove deprecated stuff in modular/arithgroup > >> c228e546242 gh-41442: pass TERM="dumb" to expect > >> 7b12c4dceeb gh-41440: Minor correct a typo in error msg of > >> `Integer.multifactorial` > >> 7c8d81c08b4 gh-41423: Ignore meson-generated build folders > >> 44c8dec7bfb gh-41421: add meson_python to PYTHON_TOOLCHAIN > >> 4c041b3333e gh-41387: Fix quotient ring sqrt > >> 043eea0829a gh-41331: Use SPDX license expression instead of deprecated > >> license classifiers > >> 1ca0dde85e3 gh-41272: Fedora pari/gp package names added/documented > >> 3fd55841408 gh-41259: Simplify ruff configuration > >> ab9bc81937b gh-41232: Add type annotations for rings and parents > >> 50a868f0b01 gh-41174: Update sage -b to use ninja and deprecate sage -br > >> cf13e3e0b63 gh-40800: CI: Merge ci-macos into ci-distro > >> 36a5469a9d6 gh-40446: Reenable pytest again as part of `sage -t` > >> adaa1e2427b (tag: 10.9.beta3) Updated SageMath version to 10.9.beta3 > > > > -- > > 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/5973febb-d78e-4367-beb9-5d52d0906976n%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/e7704c04-f1fc-4a77-9523-0e8f3e84bcb3n%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/CAAWYfq0O1Cf%3DeOTsG3sg0jL%3DF%3DvUrGRJNaXZWqn%3Ds-6MKs-ajQ%40mail.gmail.com.
