Re: [sage-release] Re: Sage 10.1.rc0 released

2023-08-14 Thread Emmanuel Charpentier


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 "", line 3, in  
Integer(1) << (Integer(2)**Integer(60)) 
~~~^^~~ File "sage/rings/integer.pyx", line 
6735, in sage.rings.integer.Integer.__lshift__ return 
(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 

Re: [sage-release] Re: Sage 10.1.rc0 released

2023-08-14 Thread Dima Pasechnik
On Mon, 14 Aug 2023, 17:10 Emmanuel Charpentier, <
emanuel.charpent...@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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/a80e100d-8286-4bd0-83e6-4cd12edc077bn%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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq3PwzSfve%2Bt9UetANn8dV01dd8MT_aJURt7n4XvDALmHQ%40mail.gmail.com.


Re: [sage-release] Re: Sage 10.1.rc0 released

2023-08-14 Thread Emmanuel Charpentier


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


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/a80e100d-8286-4bd0-83e6-4cd12edc077bn%40googlegroups.com.


Re: [sage-release] Re: Sage 10.1.rc0 released

2023-08-14 Thread Dima Pasechnik
On Mon, 14 Aug 2023, 09:57 Emmanuel Charpentier, <
emanuel.charpent...@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 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-de...@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.




​
> Le dimanche 13 août 2023 à 19:31:15 UTC+2, Volker Braun a écrit :
>
>> 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
>> 

[sage-release] Re: Sage 10.1.rc0 released

2023-08-14 Thread Emmanuel Charpentier


./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 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-de...@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 ?
​
Le dimanche 13 août 2023 à 19:31:15 UTC+2, Volker Braun a écrit :

> 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