On Mon, Apr 7, 2025 at 5:22 AM [email protected]
<[email protected]> wrote:
>
> Thanks for the release!
>
> I've spent some time figuring out a bunch of build failures on MacOS 15.4 (@ 
> Apple M4) with clang 17, and managed to have both 10.7.beta0 and 10.6 compile 
> with the following changes:
>
> Additional patches to gfan, givaro, linbox, singular (all more or less 
> sourced from their upstream repos), all collected in 
> https://github.com/behackl/sage/commit/a7de55e0815821d77052eb453427ee0afff2f161,

these need to be slotted into GH issues/PRs.

> a manual upgrade of lcalc to 2.1.0 (via 
> https://gitlab.com/sagemath/lcalc/-/releases/2.1.0)

I've opened https://github.com/sagemath/sage/issues/39897 to deal with
this update (should be easy)

> and https://github.com/sagemath/sage/pull/39850 (but I suppose the cleaner 
> approach from https://github.com/sagemath/sage/pull/39526 could just be 
> substituted for this).

Yes, I also think that #39526 is the way to go.

Dima
>
> When running ptestlong (MAKE="make -j8" make ptestlong) from a clean 
> environment (in particular, no "source .homebrew-build-env"), it seemed like 
> the documentation build part took a very long time (might be because of 
> https://groups.google.com/g/sage-devel/c/lr03GlRBr9g/m/Yx8yo7p4AQAJ, 
> sage.parallel.ncpus.ncpus() also returns 1 on my machine). Otherwise, I get:
>
> ----------------------------------------------------------------------
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/doctest/forker.py  # 5 doctests failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/tests/cmdline.py  # 1 doctest failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/matrix/matrix2.pyx  # 1 doctest failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/rings/tate_algebra_ideal.pyx  # 1 doctest failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/misc/session.pyx  # 2 doctests failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/doctest/control.py  # 7 doctests failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 src/sage/repl/load.py  # 
> 1 doctest failed
> sage -t --long --warn-long 30.0 
> --random-seed=74068020013893956633724212161580658271 
> src/sage/rings/polynomial/plural.pyx  # 6 doctests failed
> ----------------------------------------------------------------------
> Total time for all tests: 1638.8 seconds
>     cpu time: 10255.8 seconds
>     cumulative wall time: 10530.7 seconds
>
> Of these, only the tests in the following files persisted after running them 
> individually:
>
> src/sage/matrix/matrix2.pyx
> src/sage/rings/tate_algebra_ideal.pyx
> src/sage/misc/session.pyx
> src/sage/repl/load.py
>
> After running "source .homebrew-build-env", only the test in 
> src/sage/matrix/matrix2.pyx keeps still failing, I'll paste the stack trace 
> below.
>
> Benjamin
>
> **********************************************************************
> File "src/sage/matrix/matrix2.pyx", line 1731, in 
> sage.matrix.matrix2.Matrix.pseudoinverse
> Failed example:
>     Mx = M.pseudoinverse(algorithm='numpy')                               # 
> needs numpy
> Expected nothing
> Got:
>     doctest:warning
>       File "<doctest sage.matrix.matrix2.Matrix.pseudoinverse[12]>", line 1, 
> in <module>
>         Mx = M.pseudoinverse(algorithm='numpy')                               
> # needs numpy
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 2239, in pinv
>         res = matmul(transpose(vt), multiply(s[..., newaxis], transpose(u)))
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 3383, in matmu
> l
>         return _core_matmul(x1, x2)
>       File 
> "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/warnings.py",
>  line 110, in _showwarnmsg
>         sw(msg.message, msg.category, msg.filename, msg.lineno,
>     :
>     RuntimeWarning: divide by zero encountered in matmul
>     doctest:warning
>       File "<doctest sage.matrix.matrix2.Matrix.pseudoinverse[12]>", line 1, 
> in <module>
>         Mx = M.pseudoinverse(algorithm='numpy')                               
> # needs numpy
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 2239, in pinv
>         res = matmul(transpose(vt), multiply(s[..., newaxis], transpose(u)))
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 3383, in matmu
> l
>         return _core_matmul(x1, x2)
>       File 
> "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/warnings.py",
>  line 110, in _showwarnmsg
>         sw(msg.message, msg.category, msg.filename, msg.lineno,
>     :
>     RuntimeWarning: overflow encountered in matmul
>     doctest:warning
>       File "<doctest sage.matrix.matrix2.Matrix.pseudoinverse[12]>", line 1, 
> in <module>
>         Mx = M.pseudoinverse(algorithm='numpy')                               
> # needs numpy
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 2239, in pinv
>         res = matmul(transpose(vt), multiply(s[..., newaxis], transpose(u)))
>       File 
> "/Users/behackl/code/sage-devel/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/linalg/_linalg.py",
>  line 3383, in matmu
> l
>         return _core_matmul(x1, x2)
>       File 
> "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/warnings.py",
>  line 110, in _showwarnmsg
>         sw(msg.message, msg.category, msg.filename, msg.lineno,
>     :
>     RuntimeWarning: invalid value encountered in matmul
> **********************************************************************
> 1 item had failures:
>    1 of  27 in sage.matrix.matrix2.Matrix.pseudoinverse
>     [2952 tests, 1 failure, 4.42s wall]
>
>
> Volker Braun schrieb am Donnerstag, 3. April 2025 um 00:32:23 UTC+2:
>>
>> 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
>>
>>
>> 871ba9daed1 (tag: 10.7.beta0, github/develop) Updated SageMath version to 
>> 10.7.beta0
>> a2b47d65bcb gh-39823: minor pep8 details in various cython files
>> e360d0fa94e gh-39799: typing annotation in Chow ring ideal
>> 58eabb44712 gh-39797: Small changes in matroids
>> c9cf9641577 gh-39789: bump matplotlib (with its deps) to 3.10.1
>> f6f6e7d68fa gh-39787:  Changed single colon to double colon after WARNING in 
>> relevant files
>> 9d37b4458e3 gh-39785: Kostka-Foulkes polynomials now also for skew shapes
>> 106432d46db gh-39781: magma interface: fix typo in a comment
>> 6fe89e2984c gh-39779: Fix reference in chrompoly.pyx and add to master 
>> reference file
>> 0e9b689d0a9 gh-39776: Safeguard _sage_getargspec_cython
>> 329be070c06 gh-39766: Fix Derangements(0) to return 1 and yield the empty 
>> permutation
>> 0630d66ffa0 gh-39758: Improve crosslink between matrix methods and small 
>> optimization
>> 76717332135 gh-39757: Ensure _charpoly_df is interruptible
>> 517a967964f gh-39728: CI: Remove broken wheel building for 
>> sagemath-categories
>> ad1fa9e8788 gh-39694: Ruff: move config to `pyproject.toml`
>> b40d3f9811e gh-39647: Redirect warning output from stderr to stdout in 
>> doctests
>> fa4c0cfe2bc gh-39641: CI: Migrate test-new to meson
>> 4d8cca0fc86 gh-39511: Macaulay matrix for Sequence Multivariate Polynomials
>> 6d7fd893382 gh-39419: trying to get rid of coerce_c_impl
>> 40dd00e368e gh-39015: Meson: add sage cli
>> cd306865ad4 gh-39007: Fix cpu time on Windows
>> ea236c88e07 gh-38762: Added a Tutte Embedding Layout for Graphs
>> 6ca04f7a40f gh-36029: k-regular sequences: boundedness
>> b8f98e7c7c3 (tag: 10.6, github/master) Updated SageMath version to 10.6
>
> --
> 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/963e12f9-6ed0-44d1-b9ad-c7e08247df00n%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/CAAWYfq2V5RDiy%3D680q1UZo09qq3%3DTw%2BK_jkS5UP6PwoWqJXvbQ%40mail.gmail.com.

Reply via email to