The ld_classic option was added when Apple rewrote their linker, which was 
buggy at first.  The option invokes the older version of the linker.  The 
older version has been removed from the current versions of XCode.  I 
believe that numpy was adding that option.  Probably updating to a newer 
version of numpy would end the deprecation warnings.

The other ld warning could be eliminated by building with 
-mmacosx-version-min=11.0 which would be the sensible thing to do for any 
release of Sage for Apple silicon.  If you build without any target version 
you get code which will not run on any system older than the build system.

The LibreSSL message suggests that you are importing urllib3 from the 
version of python3 that Apple ships with their operating system.  (Apple 
likes the LibreSSL license better than the OpenSSL license, evidently. ). 
Perhaps some scripts have a #!/usr/bin/python3 shebang, or have a PATH that 
causes the script to find the system python (which is 3.9.6) instead of the 
python you are trying to use with Sage.

- Marc


On Tuesday, November 5, 2024 at 11:07:51 AM UTC-6 John H Palmieri wrote:

> OS X on Apple Silicon with newest Xcode and lots of homebrew packages 
> installed. I'm getting a bunch of doctest failures, with messages like this:
>
>     urllib3.exceptions.NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 
> 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: 
> https://github.com/urllib3/urllib3/issues/3020
>
> I'm getting other failures with these messages
>
>     ld: warning: -ld_classic is deprecated and will be removed in a future 
> release
>     ld: warning: dylib (/opt/homebrew/lib/libmpfr.dylib) was built for 
> newer macOS version (14.0) than being linked (11.0)
>
> I have ideas about how to get rid of the second type of messages, but what 
> about the OpenSSL warnings?
>
> On Sunday, November 3, 2024 at 3:43:51 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
>>
>> We should probably make a release soon, so if you have anything that you 
>> want merged in this cycle then now is the time to get it in :-)
>>
>>
>> 209ae4c3a43 (tag: 10.5.beta9, github/develop) Updated SageMath version to 
>> 10.5.beta9
>> 93661cbe00c gh-38901: add "# long time" to slow-ish composite isogeny 
>> doctest
>> 5c4f3a96da6 gh-38894: be explicit about messages
>> efe736f0a3f gh-38882: src/sage: revert "touch libgap consumers"
>> 58e477d7de5 gh-38881: using Parent in ring extensions
>> c5d6786dfd2 gh-38877: Update Pypi.io domain (301 permanent redirect)
>> 01c7555a156 gh-38876: minor details in piecewise functions
>> 34f93aed705 gh-38873: src/sage/parallel/map_reduce.py: fixup 
>> start_workers() test case
>> 7c62275ae47 gh-38867: Fix duplicate install of config.py in meson build
>> cfe8b08b83a gh-38866: Fix build of coxeter3 extension with meson
>> b08503c3cce gh-38863: Fix testing of installed rst files
>> 002c38eadc8 gh-38862: some spaces around % in pyx files
>> 2e287aca5e0 gh-38861: remove some unused variables
>> 3774c429380 gh-38860: Fix test if SAGE_ROOT is not defined
>> aaf08d9d66c gh-38859: `build/pkgs/matroid_database`: mark as math
>> 4fa65ed2011 gh-38858: autopep8 fixes for E302 in 
>> matrix,rings,groups,dynamics
>> 59a5a5f5f43 gh-38857: various small details in combinat
>> ac72d643d61 gh-38854: Add LaTeX representation for function fields
>> 2d67964a4c3 gh-38853: Add conversion dictionaries to trig.py
>> 47b74f775f1 gh-38847: Graph tikz method fixup
>> f2780d819ea gh-38842: fix issue #38832 about `canonical_label` in 
>> bipartite graphs
>> 2eb694c36aa gh-38835: Remove redundant modulo operation in 
>> vector_modn_dense
>> 44d924b959a gh-38821: let the category setup handle the ideals
>> 6959ae2e8c5 gh-38817: a few simplified isinstance (ruff SIM101)
>> 1f3ede8375a gh-38809: move orientation methods from `graph.py` to 
>> `orientations.py`
>> 83363efafa4 gh-38722: Roots of polynomials mod n
>> f4a1171903d gh-38711: `matroids`: Add `certificate` argument to `is_valid`
>> 31d7925a550 gh-38675: Update gperftools integration for python3/musl
>> d95987204d4 gh-38629: `build/pkgs/pari`: Update to 2.15.5
>> a6ada92c799 gh-35949: Compute composite degree (separable) isogenies of 
>> EllipticCurves
>> 1b3f398d2a8 (tag: 10.5.beta8) Updated SageMath version to 10.5.beta8
>>
>

-- 
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/f6e4a680-a8f4-4e15-93dc-36d3f60200aen%40googlegroups.com.

Reply via email to