Sage 10.1.beta4 released

113 views
Skip to first unread message

Volker Braun

unread,
Jun 21, 2023, 6:38:54 PM6/21/23
to sage-release
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


3230f00aeb4 (tag: 10.1.beta4, github/develop) Updated SageMath version to 10.1.beta4
4fa9c1c33b6 gh-35787: adjust random tests for generators of elliptic curves
cf43e35862e gh-35780: Reduce dependency to rainbow in sage.graphs.graph_coloring
af6ec5a545c gh-35776: cylint: no more xrange in matroids
8f46a634443 gh-35773: Document that GLPK/exact can be inexact
527295907a9 gh-35772: getting rid of many uses of xrange in pyx files
361ba993142 gh-35770: cylint: remove some unused variables in rings/
02ab7005dc2 gh-35768: fix most E301 warnings
ccf11a907f5 gh-35766: fixing most E222 warnings in py files
48559c692c6 gh-35765: more fixes for superfluous cython imports
3d25722f1f2 gh-35764: fix all remaining E251 warnings
c32c4f0c9e2 gh-35760: gap: adapt get_global to use official libgap API
643bb2c582a gh-35759: gap: fix a comment
277d965b08b gh-35758: `sage.matrix.misc`: Split by library dependency
c55e7168d15 gh-35757: Implementing the type B Ish arrangement.
17033c2cf3d gh-35754: remove deprecated in #32894 python module interfaces/primecount
bcd9128a17b gh-35752: Clarification on the MAX_MODULUS of float matrices modulo `n`
7272357ae17 gh-35751: Add a note on a doctest that randomly behaves
6252db6a222 gh-35741: `sage.combinat`: Split some Cython modules (modularization fixes)
81075d662d6 gh-35739: .github/workflows/docker.yml: Remove defunct steps that refer to Trac
344128b2af7 gh-35735: gap: use CALL_WITH_STREAM to redirect output to string
3e54effae56 gh-35734: Reference manual: Show modularized sagelib packages separately
e0e8473b232 gh-35730: little refreshment of code in Weyl groups
dd8845d2d53 gh-35729: sage.coding: Modularization fixes, doctest cosmetics, add `# optional`
882cd19fc6a gh-35728: New feature annotations `# optional - sage.schemes sage.modular sage.libs.flint` etc.
c4a70ab7271 gh-35724: fix some pep8 warnings in modform_hecketriangle
bb0ea9851b0 gh-35719: `sage.matroids`: Modularization fixes
ad35d8c77ba gh-35652: CI Build & Test: First build incrementally and test changed files only
b0af318c2fd gh-35629: Implement the exceptional Jordan algebra
1c782f25fdc gh-35620: doctester: Check for consistency of `# optional` annotations
3aa3644a9e5 gh-35564: `sage.misc.misc`, `sage.combinat`: Modularization fixes
443b7549ad3 (tag: 10.1.beta3) Updated SageMath version to 10.1.beta3

Emmanuel Charpentier

unread,
Jun 22, 2023, 2:15:54 AM6/22/23
to sage-release
On Debian testing running on core i7 + 16 GB RAM, `bootstrap` + `configure` + `make -j8` *fails*. The relevant error seems to be as follows :

```
[sagelib-10.1.beta4]     INFO: g++ -std=gnu++11 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-rpath-link,/usr/local/sage-10/local/lib -L/usr/local/sage-10/local/lib -Wl,-rpath,/usr/local/sage-10/local/lib -g -O2 build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/archive.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/assume.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/basic.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/cmatcher.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/constant.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/context.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/ex.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expair.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expairseq.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/exprseq.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/fderivative.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function_info.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infinity.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infoflagbase.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_comb.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperb.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperg.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_nstdsums.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_orthopoly.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trans.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trig.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_zeta.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/lst.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/matrix.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-giac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-ginac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-singular.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mul.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/normal.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/numeric.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/operators.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/order.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/power.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/print.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/pseries.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/py_funcs.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/registrar.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/relational.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/remember.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/sum.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/symbol.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/templates.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/upoly-ginac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/useries.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/utils.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o -L/usr/lib/x86_64-linux-gnu/openblas-pthread/ -L/usr/lib/x86_64-linux-gnu -lflint -lgmp -lSingular -lpolys -lfactory -lflint -lmpfr -lntl -lgmp -lomalloc -lsingular_resources -lgsl -lm -lopenblas -o build/lib.linux-x86_64-cpython-311/sage/symbolic/expression.cpython-311-x86_64-linux-gnu.so -lpari
[sagelib-10.1.beta4]     error: Command "gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-rpath-link,/usr/local/sage-10/local/lib -L/usr/local/sage-10/local/lib -Wl,-rpath,/usr/local/sage-10/local/lib -g -O2 build/temp.linux-x86_64-cpython-311/sage/libs/arb/arith.o -L/usr/lib/x86_64-linux-gnu -lgmp -lflint -larb -o build/lib.linux-x86_64-cpython-311/sage/libs/arb/arith.cpython-311-x86_64-linux-gnu.so" failed with exit status 1
[sagelib-10.1.beta4]     error: subprocess-exited-with-error
[sagelib-10.1.beta4]    
[sagelib-10.1.beta4]     × python setup.py develop did not run successfully.
[sagelib-10.1.beta4]     │ exit code: 1
[sagelib-10.1.beta4]     ╰─> See above for output.
```

Suggestions ?

Dima Pasechnik

unread,
Jun 22, 2023, 3:00:31 AM6/22/23
to sage-r...@googlegroups.com
On Thu, Jun 22, 2023 at 7:15 AM Emmanuel Charpentier
<emanuel.c...@gmail.com> wrote:
>
> On Debian testing running on core i7 + 16 GB RAM, `bootstrap` + `configure` + `make -j8` *fails*. The relevant error seems to be as follows :
>
> ```
> [sagelib-10.1.beta4] INFO: g++ -std=gnu++11 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-rpath-link,/usr/local/sage-10/local/lib -L/usr/local/sage-10/local/lib -Wl,-rpath,/usr/local/sage-10/local/lib -g -O2 build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/archive.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/assume.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/basic.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/cmatcher.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/constant.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/context.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/ex.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expair.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expairseq.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/exprseq.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/fderivative.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function_info.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infinity.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infoflagbase.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_comb.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperb.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperg.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_nstdsums.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_orthopoly.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trans.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trig.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_zeta.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/lst.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/matrix.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-giac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-ginac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-singular.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mul.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/normal.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/numeric.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/operators.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/order.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/power.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/print.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/pseries.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/py_funcs.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/registrar.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/relational.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/remember.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/sum.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/symbol.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/templates.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/upoly-ginac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/useries.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/utils.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o -L/usr/lib/x86_64-linux-gnu/openblas-pthread/ -L/usr/lib/x86_64-linux-gnu -lflint -lgmp -lSingular -lpolys -lfactory -lflint -lmpfr -lntl -lgmp -lomalloc -lsingular_resources -lgsl -lm -lopenblas -o build/lib.linux-x86_64-cpython-311/sage/symbolic/expression.cpython-311-x86_64-linux-gnu.so -lpari
> [sagelib-10.1.beta4] error: Command "gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-rpath-link,/usr/local/sage-10/local/lib -L/usr/local/sage-10/local/lib -Wl,-rpath,/usr/local/sage-10/local/lib -g -O2 build/temp.linux-x86_64-cpython-311/sage/libs/arb/arith.o -L/usr/lib/x86_64-linux-gnu -lgmp -lflint -larb -o build/lib.linux-x86_64-cpython-311/sage/libs/arb/arith.cpython-311-x86_64-linux-gnu.so" failed with exit status 1
> [sagelib-10.1.beta4] error: subprocess-exited-with-error
> [sagelib-10.1.beta4]
> [sagelib-10.1.beta4] × python setup.py develop did not run successfully.
> [sagelib-10.1.beta4] │ exit code: 1
> [sagelib-10.1.beta4] ╰─> See above for output.
> ```
>
> Suggestions ?

the real errors must be somewhere above in the log.
> --
> 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 on the web visit https://groups.google.com/d/msgid/sage-release/9f04c417-38d5-4951-94ff-6efac90b05d9n%40googlegroups.com.

Emmanuel Charpentier

unread,
Jun 22, 2023, 6:26:07 AM6/22/23
to sage-r...@googlegroups.com
Log enclosed
install.log.gz

Matthias Köppe

unread,
Jun 22, 2023, 12:01:28 PM6/22/23
to sage-release
Earlier error:
[sagelib-10.1.beta4]     /usr/bin/ld : ne peut pas trouver -larb : Aucun fichier ou dossier de ce type

Try if "make sage_conf-no-deps build" fixes the problem

Emmanuel Charpentier

unread,
Jun 22, 2023, 1:38:30 PM6/22/23
to sage-release

Le jeudi 22 juin 2023 à 18:01:28 UTC+2, matthia…@gmail.com a écrit :

Earlier error:
[sagelib-10.1.beta4]     /usr/bin/ld : ne peut pas trouver -larb : Aucun fichier ou dossier de ce type

Hah !

From my system :

charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*flint*" Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-======================-=============-============-=========================> ii flintqs 1:1.0-4 amd64 Program using quadratic s> un libflint-1.06 <aucune> <aucune> (aucune description n'est> un libflint-2.4.4 <aucune> <aucune> (aucune description n'est> un libflint-2.4.5 <aucune> <aucune> (aucune description n'est> un libflint-2.5.2 <aucune> <aucune> (aucune description n'est> un libflint-2.6.0 <aucune> <aucune> (aucune description n'est> un libflint-2.6.1 <aucune> <aucune> (aucune description n'est> un libflint-2.6.2 <aucune> <aucune> (aucune description n'est> ii libflint-2.6.3:amd64 2.6.3-3 amd64 C library for number theo> ii libflint-arb-dev:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p> un libflint-arb-doc <aucune> <aucune> (aucune description n'est> ii libflint-arb2:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p> ii libflint-dev 2.9.0-5 amd64 C library for number theo> ii libflint17:amd64 2.9.0-5 amd64 C library for number theo>


Try if "make sage_conf-no-deps build" fixes the problem

Nope. Same problem…

Should I try ./configure --with-system-arb=no ? Or even with-system-flint=no ?

Emmanuel Charpentier

unread,
Jun 23, 2023, 7:42:30 AM6/23/23
to sage-release

./configure --with-system-arb=no was enough to be able to build successfully.

I note that the build process downloaded and installed arb-2.22.1, younger tna the system’s libflint-arb2:amd64 which is at 1:2.23.0-1+b1… A tweak to configure may be in order… How to report this correctly ?

Running ptestlong now.

HTH,

Emmanuel Charpentier

unread,
Jun 23, 2023, 7:50:05 AM6/23/23
to sage-release

sed -e s/younge/older/, of course. Silly me…

Emmanuel Charpentier

unread,
Jun 23, 2023, 10:17:50 AM6/23/23
to sage-release
Passes without any failure. Thanks !

HTH,

G. M.-S.

unread,
Jun 25, 2023, 1:38:06 PM6/25/23
to sage-r...@googlegroups.com

This is on Apple Silicon Macs ("M" series) with Homebrew up to date, on macOS 11.7.8 (Xcode 13.2.1), macOS 12.6.7 (Xcode 14.2) and macOS 13.4.1 (Xcode 14.3.1).

With Homebrew's Singular version 4.3.2p2, ./configure does a strange thing:  the URL
is opened in one or more browsers.
See also Singular failed doctests below.
(Note:  With ./configure --without-system-singular ("standard, SPKG version 4.3.1p3 will be installed") no Singular issues appear.)

After make and make pytest (which succeed) make ptestlong gives the following.

On macOS 11.7.8, macOS 12.6.7, macOS 13.4.1:

sage -t --long --warn-long … --random-seed=… src/sage/rings/asymptotic/asymptotics_multivariate_generating_functions.py  # 2 doctests failed
(see https://groups.google.com/g/sage-release/c/oIbXK5ttuBc/m/tRa2_DvsBAAJ)

sage -t --long --warn-long … --random-seed=… src/sage/interfaces/singular.py  # 5 doctests failed
sage -t --long --warn-long … --random-seed=… src/sage/libs/singular/function.pyx  # 1 doctest failed
sage -t --long --warn-long … --random-seed=… src/sage/libs/singular/singular.pyx  # 1 doctest failed

sage -t --long --warn-long … --random-seed=… src/sage/modular/modform_hecketriangle/abstract_space.py  # 3 doctests failed
sage -t --long --warn-long … --random-seed=… src/sage/modular/modform_hecketriangle/readme.py  # 1 doctest failed
sage -t --long --warn-long … --random-seed=… src/sage/modular/modform_hecketriangle/space.py  # 2 doctests failed

sage -t --long --warn-long 26.5 --random-seed=164104516405977008420373837524113607070 src/sage/quadratic_forms/binary_qf.py  # 1 doctest failed

Additionally, on macOS 11.7.8:
sage -t --long --warn-long … --random-seed=… src/sage/matrix/matrix_gf2e_dense.pyx  # 1 doctest failed

Additionally, on macOS 13.4.1:
sage -t --long --warn-long 29.4 --random-seed=… src/sage/structure/coerce_actions.pyx  # 3 doctests failed
(see attached file)
sage -t --long --warn-long 30.6 --random-seed=… src/sage/libs/giac/__init__.py  # Killed due to kill signal

Guillermo
coerce_actions.txt

Marc Culler

unread,
Jun 25, 2023, 3:21:05 PM6/25/23
to sage-release
I am not able to build the documentation for 10.1beta4 on macOS.

First, there are inconsistent paths for the  file references/objects.inv.  At different times it is expected to be in two different places:

local/share/doc/sage/inventory/en/reference/references/objects.inv
local/share/doc/sage/inventory/en/reference/objects.inv

Presumably the second one is an error.

If the objects.inv file is duplicated so that it appears both places then the doc build gets past [reference] and fails for [manifolds].  The error is:
OSError: XXX/sage/src/doc/en/reference/manifolds/index.rst:4: WARNING: undefined label: 'tensors-on-free-modules'

- Marc

Marc Culler

unread,
Jun 25, 2023, 6:07:17 PM6/25/23
to sage-release
I can get the documentation to build if I modify sphinxbuild.py to make it ignore the following warnings (instead of raising an OSErr):

WARNING: citation not found
WARNING: undefined label
WARNING: failed to reach any of the inventories

The missing citations and labels appear to all be in [manifolds].

When the inventory warning is ignored the object.inv files do in fact get built later, and they get installed in the correct place.

- Marc

Marc Culler

unread,
Jun 27, 2023, 1:02:38 PM6/27/23
to sage-release
I have resolved my problem with building the documentation, and I now understand why no one could help me with it.  Thanks.

- Marc
Reply all
Reply to author
Forward
0 new messages