On Wed, Jan 28, 2026 at 12:16 PM John H Palmieri <
jhpalm...@gmail.com> 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?
What's the Cython version, i.e. the output of
import cython
cython.__version__
Dima
> --
> 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
sage-release...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sage-release/5973febb-d78e-4367-beb9-5d52d0906976n%40googlegroups.com.