Sage 10.1.rc0 released

54 views
Skip to first unread message

Volker Braun

unread,
Aug 13, 2023, 1:31:15 PM8/13/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

aa220c4a1e3 (tag: 10.1.rc0, github/develop) Updated SageMath version to 10.1.rc0
50208b76199 gh-36077: `sage.graphs`: fix doctest warnings due to modularization
2b22924ded5 gh-36076: Remove deprecated parameter circular from method `is_planar`
a00ac4f5a5c gh-36075: Remove rename warning in spanning_tree.pyx
35ac035e0eb gh-36074: Remove deprecation warnings renaming parameter verbosity to verbose in graphs
32d375d23ce gh-36073: Stop sorting Graph vertices and edges by default
1e6cd50d88d gh-36072: small cleanup of triangulation/base.pyx
ddcfc9afe34 gh-36068: Speed-up matrix construction by ensuring MatrixArgs type MA_ENTRIES_ZERO
caf98de404c gh-36066: Fix link to tutorial in PDF docs. This fixes #35736.
517cdce8d9b gh-36062: Fix typo in docstring
d6c6f621891 gh-36056: `sage.rings.finite_rings`: Modularization fixes, `# needs`
03dec7d1d7a gh-36052: `sage.rings.{padics,valuation}`: Modularization fixes, `# needs`
afb74af1e6f gh-36051: `sage.{topology,homology}`: Update # needs, modularization fixes
ba7d11896cf gh-36045: `sage.rings.polynomial`: Modularization fixes, `# needs`
a38d1298dd2 gh-36044: `sage.rings.number_field`: Modularization fixes, doctest cosmetics, `# needs`
11751dccdb9 gh-36040: Fix failing doctest in sage/graphs/bliss.pyx
a023470b2a5 gh-36039: cylint: some details in arith, algebras and crypto folders
47b6151f4b7 gh-36038: `sage.plot`: Add/update `# needs`
d150b9ac3d1 gh-36037: `sage.typeset`: Update `# needs`
b26827269bc gh-36036: Fix E721 warnings for .pyx files
5b5adf1a711 gh-36035: cython-lint : further fixes in quadratic forms
53406923081 gh-36034: Fix block-scoped doctest tags with `\` line continuations
e8453e1cc87 gh-36033: `sage.geometry`: Update `# needs`, use block-scoped tags
1039d66f0a1 gh-36032: Fix pycodestyle warning E721
ad549b60811 gh-36025: Use `# optional - gap_package_grape` etc. instead of `# optional - gap_packages`
8402923dbc6 gh-35982: some care in sage/graphs/domination.py
e86a48fefed gh-35981: some improvements in sage/graphs/orientations.py
df198d044f2 gh-35969: Improve method reverse for digraphs
de15e88544a gh-35935: add multiple= option to EllipticCurvePoint_field.set_order()
c0b16839bfb gh-35903: Add parameter key to methods multiple_edges and edge_boundary
d5a3fd14e0c gh-35884: `sage.{modular,schemes}`: Modularization fixes for imports; update `sage -fiximports`, add relint pattern
0fd596703c8 (tag: 10.1.beta9) Updated SageMath version to 10.1.beta9

Emmanuel Charpentier

unread,
Aug 14, 2023, 4:57:44 AM8/14/23
to sage-release

./configure is inconsistent when handling arb detection. I do have system’s libraries :

charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*arb*" 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 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

However, ./configure gives inconsistent resulys. From config.log :

## ---------------------------------------------------- ## ## Checking whether SageMath should install SPKG arb... ## ## ---------------------------------------------------- ## configure:15898: checking installing flint? configure:15905: checking for arb.h configure:15905: g++ -std=gnu++11 -c conftest.cpp >&5 configure:15905: $? = 0 configure:15905: result: yes configure:15909: checking for acb_mat_eig_simple in -larb configure:15931: g++ -std=gnu++11 -o conftest conftest.cpp -larb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 /usr/bin/ld: cannot find -larb: No such file or directory collect2: error: ld returned 1 exit status configure:15931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "10.1.rc0" | #define PACKAGE_STRING "Sage 10.1.rc0" | #define PACKAGE_BUGREPORT "sage-...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "10.1.rc0" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_LIBM 1 | #define HAVE_CXX11 1 | #define HAVE_GMP_H 1 | #define ABSOLUTE_GMP_H "///usr/include/x86_64-linux-gnu/gmp.h" | #define HAVE_NTL_ZZ_H 1 | #define ABSOLUTE_NTL_ZZ_H "///usr/include/NTL/ZZ.h" | /* end confdefs.h. */ | | namespace conftest { | extern "C" int acb_mat_eig_simple (); | } | int | main (void) | { | return conftest::acb_mat_eig_simple (); | ; | return 0; | } configure:15941: result: no configure:15950: checking for acb_mat_eig_simple in -lflint-arb configure:15972: g++ -std=gnu++11 -o conftest conftest.cpp -lflint-arb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 configure:15972: $? = 0 configure:15982: result: yes configure:16004: will use system package and not install SPKG arb

As a result, sagelib isn’t built.

Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?

Dima Pasechnik

unread,
Aug 14, 2023, 8:03:31 AM8/14/23
to sage-release


On Mon, 14 Aug 2023, 09:57 Emmanuel Charpentier, <emanuel.c...@gmail.com> wrote:

./configure is inconsistent when handling arb detection. I do have system’s libraries :

charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*arb*" 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 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

However, ./configure gives inconsistent resulys. From config.log :

## ---------------------------------------------------- ## ## Checking whether SageMath should install SPKG arb... ## ## ---------------------------------------------------- ## configure:15898: checking installing flint? configure:15905: checking for arb.h configure:15905: g++ -std=gnu++11 -c conftest.cpp >&5 configure:15905: $? = 0 configure:15905: result: yes configure:15909: checking for acb_mat_eig_simple in -larb configure:15931: g++ -std=gnu++11 -o conftest conftest.cpp -larb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 /usr/bin/ld: cannot find -larb: No such file or directory collect2: error: ld returned 1 exit status configure:15931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "10.1.rc0" | #define PACKAGE_STRING "Sage 10.1.rc0" | #define PACKAGE_BUGREPORT "sage-...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "10.1.rc0" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_LIBM 1 | #define HAVE_CXX11 1 | #define HAVE_GMP_H 1 | #define ABSOLUTE_GMP_H "///usr/include/x86_64-linux-gnu/gmp.h" | #define HAVE_NTL_ZZ_H 1 | #define ABSOLUTE_NTL_ZZ_H "///usr/include/NTL/ZZ.h" | /* end confdefs.h. */ | | namespace conftest { | extern "C" int acb_mat_eig_simple (); | } | int | main (void) | { | return conftest::acb_mat_eig_simple (); | ; | return 0; | } configure:15941: result: no configure:15950: checking for acb_mat_eig_simple in -lflint-arb configure:15972: g++ -std=gnu++11 -o conftest conftest.cpp -lflint-arb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 configure:15972: $? = 0 configure:15982: result: yes configure:16004: will use system package and not install SPKG arb

As a result, sagelib isn’t built.

Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?


Do you mean to say that an update to the system arb does not cause a rebuild of sagelib?
(otherwise, what's inconsistent?)


That's obviously not being checked, and there is no easy way to do this, either.

Yes, system updates are tricky. 

  make sagelib-clean sagelib-uninstall

will help.




--
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/8e96382d-c4d9-4b59-9c1a-0e1eb409451bn%40googlegroups.com.

Kenji Iohara

unread,
Aug 14, 2023, 9:41:34 AM8/14/23
to sage-r...@googlegroups.com
On Mac OS 13.5, with Intel Core i5, and homebrew, it compiled from the first built. As for make ptestlong, it gives

sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/rings/polynomial/multi_polynomial_ideal.py  # Killed due to segmentation fault

sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/libs/giac/__init__.py  # Timed out

sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/readme.py  # 1 doctest failed

sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/abstract_space.py  # 3 doctests failed

sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/space.py  # 2 doctests failed


Kenji


13/08/2023 19:31、Volker Braun <vbrau...@gmail.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 sage-release...@googlegroups.com.

Emmanuel Charpentier

unread,
Aug 14, 2023, 12:10:32 PM8/14/23
to sage-release


Le lundi 14 août 2023 à 14:03:31 UTC+2, Dima Pasechnik a écrit :

[ Snip... ]

Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?


Do you mean to say that an update to the system arb does not cause a rebuild of sagelib?
(otherwise, what's inconsistent?)

I can't certify that system's `arb` has been updated ; it's jut a possibility. 

That's obviously not being checked, and there is no easy way to do this, either.

Yes, system updates are tricky. 

  make sagelib-clean sagelib-uninstall

will help.


It *did* helo. Thank you !

`ptestlong` underway...


Dima Pasechnik

unread,
Aug 14, 2023, 2:19:23 PM8/14/23
to sage-release


On Mon, 14 Aug 2023, 17:10 Emmanuel Charpentier, <emanuel.c...@gmail.com> wrote:


Le lundi 14 août 2023 à 14:03:31 UTC+2, Dima Pasechnik a écrit :

[ Snip... ]

Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?


Do you mean to say that an update to the system arb does not cause a rebuild of sagelib?
(otherwise, what's inconsistent?)

I can't certify that system's `arb` has been updated ; it's jut a possibility. 

Why have you expected a rebuild of sagelib?
If no Cython has been touched, and no deps updated, there's no reason for it.



That's obviously not being checked, and there is no easy way to do this, either.

Yes, system updates are tricky. 

  make sagelib-clean sagelib-uninstall

will help.


It *did* helo. Thank you !

`ptestlong` underway...


--
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.

Emmanuel Charpentier

unread,
Aug 14, 2023, 2:20:49 PM8/14/23
to sage-release

Le lundi 14 août 2023 à 18:10:32 UTC+2, Emmanuel Charpentier a écrit :

[ Snip… ]

`ptestlong` underway...

---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/algebras/quantum_groups/quantum_group_gap.py # 1 doctest failed sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/rings/integer.pyx # 1 doctest failed sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/combinat/posets/posets.py # 1 doctest failed sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx # 1 doctest failed ----------------------------------------------------------------------

The first one is new and seems cosmetic :

********************************************************************** File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1581, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_ Failed example: latex(S) Expected: \begin{tikzpicture} ... \end{tikzpicture} Got: \begin{tikzpicture}[>=latex,line join=bevel,] %% \node (node_0) at (144.5bp,292.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes 1 v_0)} \rangle$}; \node (node_1) at (144.5bp,221.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes F[a1] v_0)} + q^{-1} {(F[a1] v_0 \otimes 1 v_0)} \rangle$}; \node (node_2) at (52.5bp,150.5bp) [draw,draw=none] {$\langle 1 {(F[a1] v_0 \otimes F[a1] v_0)} \rangle$}; \node (node_3) at (236.5bp,150.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes F[a1+a2] v_0)} + q^{-1} {(F[a1+a2] v_0 \otimes 1 v_0)} \rangle$}; \node (node_4) at (144.5bp,79.5bp) [draw,draw=none] {$\langle 1 {(F[a1] v_0 \otimes F[a1+a2] v_0)} + q^{-1} {(F[a1+a2] v_0 \otimes F[a1] v_0)} \rangle$}; \node (node_5) at (144.5bp,8.5bp) [draw,draw=none] {$\langle 1 {(F[a1+a2] v_0 \otimes F[a1+a2] v_0)} \rangle$}; \draw [blue,->] (node_0) ..controls (144.5bp,273.44bp) and (144.5bp,254.5bp) .. (node_1); \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (153.0bp,257.0bp) node {$1$}; \draw [blue,->] (node_1) ..controls (119.04bp,201.4bp) and (90.001bp,179.63bp) .. (node_2); \draw (118.0bp,186.0bp) node {$1$}; \draw [red,->] (node_1) ..controls (169.96bp,201.4bp) and (199.0bp,179.63bp) .. (node_3); \draw (209.0bp,186.0bp) node {$2$}; \draw [red,->] (node_2) ..controls (77.964bp,130.4bp) and (107.0bp,108.63bp) .. (node_4); \draw (118.0bp,115.0bp) node {$2$}; \draw [blue,->] (node_3) ..controls (211.04bp,130.4bp) and (182.0bp,108.63bp) .. (node_4); \draw (209.0bp,115.0bp) node {$1$}; \draw [red,->] (node_4) ..controls (144.5bp,60.442bp) and (144.5bp,41.496bp) .. (node_5); \draw (153.0bp,44.0bp) node {$2$}; % \end{tikzpicture} ********************************************************************** 1 item had failures: 1 of 6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_ [537 tests, 1 failure, 13.99 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/algebras/quantum_groups/quantum_group_gap.py # 1 doctest failed ----------------------------------------------------------------------

The second one is new and seems genuine (a wheelbarrowload of modularization-related Warnings elided) :

********************************************************************** File "src/sage/rings/integer.pyx", line 6654, in sage.rings.integer.Integer._shift_helper Failed example: try: print('Possible error output from gmp', flush=True) 1 << (2^60) except (MemoryError, OverflowError, RuntimeError): pass else: print("Failed to raise exception") Exception raised: Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 709, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.rings.integer.Integer._shift_helper[8]>", line 3, in <module> Integer(1) << (Integer(2)**Integer(60)) ~~~~~~~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~ File "sage/rings/integer.pyx", line 6735, in sage.rings.integer.Integer.__lshift__ return (<Integer>x)._shift_helper(y, 1) File "sage/rings/integer.pyx", line 6696, in sage.rings.integer.Integer._shift_helper sig_on() FloatingPointError: Floating point exception ********************************************************************** 1 item had failures: 1 of 10 in sage.rings.integer.Integer._shift_helper [1196 tests, 1 failure, 43.50 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/rings/integer.pyx # 1 doctest failed ----------------------------------------------------------------------

The third one hs already been reported and is possibly flaoting point error.

The fourth one may be cosmetic :

charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx # 1 doctest failed Running doctests with ID 2023-08-14-20-16-52-adc7bdbd. Git branch: develop Git ref: 10.1.beta0-2047-gaa220c4a1e Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.11' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pip,pysingular,saclib,sage,sage_spkg,singular_jupyter Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,fpylll,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jupymake,kenzo,latte_int,lrcalc_python,lrslib,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,sympy,tdlib Doctesting 1 file. sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx ********************************************************************** File "src/sage/ext/memory.pyx", line 9, in sage.ext.memory Failed example: 2^(2^63-3) Expected: Traceback (most recent call last): ... RuntimeError: Aborted Got: <BLANKLINE> Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 709, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.ext.memory[0]>", line 1, in <module> Integer(2)**(Integer(2)**Integer(63)-Integer(3)) ~~~~~~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File "sage/rings/integer.pyx", line 2184, in sage.rings.integer.Integer.__pow__ return (<Integer>left)._pow_(right) File "sage/rings/integer.pyx", line 2248, in sage.rings.integer.Integer._pow_ return self._pow_long(mpz_get_si(exp)) File "sage/rings/integer.pyx", line 2280, in sage.rings.integer.Integer._pow_long sig_on() FloatingPointError: Floating point exception ********************************************************************** 1 item had failures: 1 of 2 in sage.ext.memory [3 tests, 1 failure, 0.01 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx # 1 doctest failed ----------------------------------------------------------------------

HTH,

Reply all
Reply to author
Forward
0 new messages