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

2023-07-02 Thread Emmanuel Charpentier


On Debian testing running on core I7 + 16 GB RAM, upgrading 10.1.beta4 to 
10.1.beta5 and running ptestlong gives one *transient* failure :
-- sage 
-t --long --warn-long 221.1 
--random-seed=130377515764620631234099015408919010647 
src/sage/libs/giac/__init__.py # Timed out 
-- 

whch passes when ran standalone :
charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 221.1 
--random-seed=130377515764620631234099015408919010647 
src/sage/libs/giac/__init__.py # Timed out Running doctests with ID 
2023-07-02-11-51-35-32047324. Git branch: develop Git ref: 
10.1.beta0-863-g853d07099c 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,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.flint,sage.libs.gap,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.plot,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.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,sympy,tdlib
 
Doctesting 1 file. sage -t --long --warn-long 221.1 
--random-seed=130377515764620631234099015408919010647 
src/sage/libs/giac/__init__.py 
** File 
"src/sage/libs/giac/__init__.py", line 208, in sage.libs.giac.? Warning, 
slow doctest: B1.is_groebner() # long time (20s) Test ran for 904.08 s, 
check ran for 0.00 s [62 tests, 932.11 s] 
-- All 
tests passed! 
-- 
Total time for all tests: 937.2 seconds cpu time: 934.1 seconds cumulative 
wall time: 932.1 seconds 

One notes that this test needed more than 4 times the --warn-long time…

HTH,
​
Le dimanche 2 juillet 2023 à 00:53:44 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
>
> 853d07099ce (tag: 10.1.beta5, github/develop) Updated SageMath version to 
> 10.1.beta5
> 9161c6c27bf gh-35855: Extend `MAX_MODULUS` of 
> `matrix_modn_dense_double.pyx`
> 42945352f77 gh-35854: correct deprecation messages
> f846602923a gh-35850: Remove mention of defunct magic command "%bg" from 
> the tutorial
> f41eb7db674 gh-35843: Add a WSL prerequisites section
> 90ece168c3c gh-35842: Fix tests with scipy 1.11
> 0796e698004 gh-35831: Support setuptools 68.0.0
> 63eb1d700af gh-35827: some pep8 fixes in symbolic (E305 and others)
> ecfe06b8f1f gh-35826: Fixes to support numpy 1.25.0
> ebc71309fe5 gh-35822: most cython-lint suggestions fixed in algebras/
> f9cb12c362e gh-35820: `sage.features`: Declare features as "standard" 
> explicitly
> 9efdddb0b2b gh-35819: advance the linter (add more checks)
> 9d390f60d4c gh-35818: fully get rid of xrange() in pyx files
> 834144943dc gh-35816: `sage.misc.timing`: Split out from `sage.misc.misc`
> 65ceff81bbb gh-35809: Ensure GCD in `normalize_coordinates` for projective 
> morphisms
> 404d9e5e7f4 gh-35808: .github/workflows/doc-build.yml: Fix generation of 
> CHANGES.html
> c80cc11d4c9 gh-35805: gap: use libgap API for int conversion
> 6b6475d64eb gh-35798: Replace imports from `sage.geometry...all`, update 
> relint pattern
> a7a70f0e5e2 gh-35795: Fix copyright headers in function fields
> 53139f79ded gh-35794: tox.ini, .github/workflows/docker.yml: Add almalinux
> 41d81136451 gh-35792: cleaning some things remaining from python 2
> fb0ae6658cc gh-35789: more arguments for simplify
> f3d389ddf2a gh-35785: build/pkgs/onetbb: Add distros/opensuse.txt
> ffac6e0e197 gh-35782: Allow partial result in minimal_model, and translate 
> OS-algebra to cdga
> dc94b93e435 gh-35774: Modularization fixes for `fast_callable` interpreters
> 615fbb8659f gh-35761: gap: switch more code to offical libgap APIs
> 630d1ff712f gh-35755: Fix optional SnapPy doctests after #35665
> ec284872321 gh-35742: `sage.combinat`: More `# opti

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

2023-07-02 Thread Dima Pasechnik
On Sun, Jul 2, 2023 at 10:21 AM David Coudert  wrote:
>
> Thanks for this release.
>
> After incremental update on fedora 35, I had the following doctest errors.
>
> sage -t --long --random-seed=152397713735156567863222915477684656337 
> src/sage/graphs/generic_graph.py  # 15 doctests failed
> sage -t --long --random-seed=152397713735156567863222915477684656337 
> src/sage/graphs/generators/families.py  # 2 doctests failed
> sage -t --long --random-seed=152397713735156567863222915477684656337 
> src/sage/graphs/bliss.pyx  # 42 doctests failed
>
> Apparently bliss has not been (correctly) updated during incremental update. 
> After running ./sage -i bliss, I don't have these errors anymore.


Fedora 35 (updates) has the right version of bliss, install it
instead, and never rebuild bliss with Sage-
but this needs https://github.com/sagemath/sage/pull/35830 reviewed and merged.



>
> However, I have a few warnings:
>
> sage -t --long --random-seed=290123504548484623481640699812773564886 
> src/sage/graphs/generic_graph.py
> **
> File "src/sage/graphs/generic_graph.py", line 2006, in 
> sage.graphs.generic_graph.GenericGraph.adjacency_matrix
> Warning: Variable 'M' referenced here was set only in doctest marked '# 
> optional - sage.modules'
> M[2, 2] = 1
> **
> File "src/sage/graphs/generic_graph.py", line 5084, in 
> sage.graphs.generic_graph.GenericGraph.cycle_basis
> Warning: Variable 'basis' referenced here was set only in doctest marked '# 
> optional - networkx'
> edge_space.span(basis_as_vectors).rank() == len(basis)# 
> optional - sage.modules sage.rings.finite_rings
> **
> File "src/sage/graphs/generic_graph.py", line 17305, in 
> sage.graphs.generic_graph.GenericGraph.?
> Warning: Variable 'd2' referenced here was set only in doctest marked '# 
> optional - networkx'
> d1 == d2 == d3 == d4
> [3890 tests, 35.49 s]
>
>
> Surprizingly, on macOS I don't see the same warnings:
>
> sage -t --long --random-seed=245923686717559167414566898310223623085 
> src/sage/graphs/generic_graph.py
> **
> File "src/sage/graphs/generic_graph.py", line 2006, in 
> sage.graphs.generic_graph.GenericGraph.adjacency_matrix
> Warning: Variable 'M' referenced here was set only in doctest marked '# 
> optional - sage.modules'
> M[2, 2] = 1
> **
> File "src/sage/graphs/generic_graph.py", line 5083, in 
> sage.graphs.generic_graph.GenericGraph.cycle_basis
> Warning: Variable 'basis' referenced here was set only in doctest marked '# 
> optional - networkx'
> basis_as_vectors = [cycle_to_vector(_) for _ in basis]# 
> optional - sage.modules sage.rings.finite_rings
> [3890 tests, 27.53 s]
>
>
> Best,
> David.
>
>
>
> Le 2 juil. 2023 à 00:53, 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
>
> 853d07099ce (tag: 10.1.beta5, github/develop) Updated SageMath version to 
> 10.1.beta5
> 9161c6c27bf gh-35855: Extend `MAX_MODULUS` of `matrix_modn_dense_double.pyx`
> 42945352f77 gh-35854: correct deprecation messages
> f846602923a gh-35850: Remove mention of defunct magic command "%bg" from the 
> tutorial
> f41eb7db674 gh-35843: Add a WSL prerequisites section
> 90ece168c3c gh-35842: Fix tests with scipy 1.11
> 0796e698004 gh-35831: Support setuptools 68.0.0
> 63eb1d700af gh-35827: some pep8 fixes in symbolic (E305 and others)
> ecfe06b8f1f gh-35826: Fixes to support numpy 1.25.0
> ebc71309fe5 gh-35822: most cython-lint suggestions fixed in algebras/
> f9cb12c362e gh-35820: `sage.features`: Declare features as "standard" 
> explicitly
> 9efdddb0b2b gh-35819: advance the linter (add more checks)
> 9d390f60d4c gh-35818: fully get rid of xrange() in pyx files
> 834144943dc gh-35816: `sage.misc.timing`: Split out from `sage.misc.misc`
> 65ceff81bbb gh-35809: Ensure GCD in `normalize_coordinates` for projective 
> morphisms
> 404d9e5e7f4 gh-35808: .github/workflows/doc-build.yml: Fix generation of 
> CHANGES.html
> c80cc11d4c9 gh-35805: gap: use libgap API for int conversion
> 6b6475d64eb gh-35798: Replace imports from `sage.geometry...all`, update 
> relint pattern
> a7a70f0e5e2 gh-35795: Fix copyright headers in function fields
> 53139f79ded gh-35794: tox.ini, .github/workflows/docker.yml: Add almalinux
> 41d81136451 gh-35792: cleaning some things remaining from python 2
> fb0ae6658cc gh-35789: more arguments for simplify
> f3d389ddf2a gh-35785: build/pkgs/onetbb: Add distros/opensuse.txt
> ffac6e0e197 gh-35782: Allow partial result in minimal_model, and translate 
> OS-algebra to cdga
> d

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

2023-07-02 Thread David Coudert
Thanks for this release.

After incremental update on fedora 35, I had the following doctest errors.

sage -t --long --random-seed=152397713735156567863222915477684656337 
src/sage/graphs/generic_graph.py  # 15 doctests failed
sage -t --long --random-seed=152397713735156567863222915477684656337 
src/sage/graphs/generators/families.py  # 2 doctests failed
sage -t --long --random-seed=152397713735156567863222915477684656337 
src/sage/graphs/bliss.pyx  # 42 doctests failed

Apparently bliss has not been (correctly) updated during incremental update. 
After running ./sage -i bliss, I don't have these errors anymore.

However, I have a few warnings:

sage -t --long --random-seed=290123504548484623481640699812773564886 
src/sage/graphs/generic_graph.py
**
File "src/sage/graphs/generic_graph.py", line 2006, in 
sage.graphs.generic_graph.GenericGraph.adjacency_matrix
Warning: Variable 'M' referenced here was set only in doctest marked '# 
optional - sage.modules'
M[2, 2] = 1
**
File "src/sage/graphs/generic_graph.py", line 5084, in 
sage.graphs.generic_graph.GenericGraph.cycle_basis
Warning: Variable 'basis' referenced here was set only in doctest marked '# 
optional - networkx'
edge_space.span(basis_as_vectors).rank() == len(basis)# 
optional - sage.modules sage.rings.finite_rings
**
File "src/sage/graphs/generic_graph.py", line 17305, in 
sage.graphs.generic_graph.GenericGraph.?
Warning: Variable 'd2' referenced here was set only in doctest marked '# 
optional - networkx'
d1 == d2 == d3 == d4
[3890 tests, 35.49 s]


Surprizingly, on macOS I don't see the same warnings:

sage -t --long --random-seed=245923686717559167414566898310223623085 
src/sage/graphs/generic_graph.py
**
File "src/sage/graphs/generic_graph.py", line 2006, in 
sage.graphs.generic_graph.GenericGraph.adjacency_matrix
Warning: Variable 'M' referenced here was set only in doctest marked '# 
optional - sage.modules'
M[2, 2] = 1
**
File "src/sage/graphs/generic_graph.py", line 5083, in 
sage.graphs.generic_graph.GenericGraph.cycle_basis
Warning: Variable 'basis' referenced here was set only in doctest marked '# 
optional - networkx'
basis_as_vectors = [cycle_to_vector(_) for _ in basis]# 
optional - sage.modules sage.rings.finite_rings
[3890 tests, 27.53 s]


Best,
David.



> Le 2 juil. 2023 à 00:53, 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
> 
> 853d07099ce (tag: 10.1.beta5, github/develop) Updated SageMath version to 
> 10.1.beta5
> 9161c6c27bf gh-35855: Extend `MAX_MODULUS` of `matrix_modn_dense_double.pyx`
> 42945352f77 gh-35854: correct deprecation messages
> f846602923a gh-35850: Remove mention of defunct magic command "%bg" from the 
> tutorial
> f41eb7db674 gh-35843: Add a WSL prerequisites section
> 90ece168c3c gh-35842: Fix tests with scipy 1.11
> 0796e698004 gh-35831: Support setuptools 68.0.0
> 63eb1d700af gh-35827: some pep8 fixes in symbolic (E305 and others)
> ecfe06b8f1f gh-35826: Fixes to support numpy 1.25.0
> ebc71309fe5 gh-35822: most cython-lint suggestions fixed in algebras/
> f9cb12c362e gh-35820: `sage.features`: Declare features as "standard" 
> explicitly
> 9efdddb0b2b gh-35819: advance the linter (add more checks)
> 9d390f60d4c gh-35818: fully get rid of xrange() in pyx files
> 834144943dc gh-35816: `sage.misc.timing`: Split out from `sage.misc.misc`
> 65ceff81bbb gh-35809: Ensure GCD in `normalize_coordinates` for projective 
> morphisms
> 404d9e5e7f4 gh-35808: .github/workflows/doc-build.yml: Fix generation of 
> CHANGES.html
> c80cc11d4c9 gh-35805: gap: use libgap API for int conversion
> 6b6475d64eb gh-35798: Replace imports from `sage.geometry...all`, update 
> relint pattern
> a7a70f0e5e2 gh-35795: Fix copyright headers in function fields
> 53139f79ded gh-35794: tox.ini, .github/workflows/docker.yml: Add almalinux
> 41d81136451 gh-35792: cleaning some things remaining from python 2
> fb0ae6658cc gh-35789: more arguments for simplify
> f3d389ddf2a gh-35785: build/pkgs/onetbb: Add distros/opensuse.txt
> ffac6e0e197 gh-35782: Allow partial result in minimal_model, and translate 
> OS-algebra to cdga
> dc94b93e435 gh-35774: Modularization fixes for `fast_callable` interpreters
> 615fbb8659f gh-35761: gap: switch more code to offical libgap APIs
> 630d1ff712f gh-35755: Fix optional SnapPy doctests after #35665
> ec284872321 gh-35742: `sage.combinat`: More `# optional` annotations
> 29daacb7579 gh-35707: Make Sage work with maxima 5.47
> a6ab2f6a95c gh-35668: Hi