Sage 9.5.beta9 released

155 views
Skip to first unread message

Volker Braun

unread,
Dec 24, 2021, 6:48:16 AM12/24/21
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


c5af19568ca Updated SageMath version to 9.5.beta9
b879fe3b055 Trac #32969: some better join in interfaces
53d49b1007f Trac #32967: long test in tensorfield.py needs # long time
41976b30dc5 Trac #32964: very slow doctest in functions.orthogonal_polys
1ad688e4d68 Trac #32962: some details in Dyck words
0ed9608baf4 Trac #32960: clean one file in quadratic forms
da338b55a11 Trac #32956: create dummy script packages for ffmpeg and imagemagick
346459a657e Trac #32952: some details in cyclic sieving
20095b746df Trac #32951: remove some py2 or py3 tags in doctests
e55a9151ba9 Trac #32950: add pictures to ellipse.py docstring
8d0dd647014 Trac #32949: some fixes for maple conversions
eb62cb88c56 Trac #32948: pycodestyle: Do not check for E704
e65afb50ad8 Trac #32941: removal of u prefix in sage_setup
45ebe273625 Trac #32939: get rid of some L suffix for integers
adb93680b87 Trac #32935: partial cleanup of obsolete u prefix for unicode
e9133e7b93b Trac #32934: some details in parallelogram polyominos
bd8d812e98e Trac #32932: Fix 4ti2 distro info: cygwin
8bd9db67ce6 Trac #32931: Remove `build/pkgs/pdf2svg/distros/cygwin.txt`
a9a7a8bb029 Trac #32928: Remove "jobserver unavailable: using -j1.  Add '+' to parent make rule" warning when building the pdf documentation
1c8e98fabc6 Trac #32894: split out a separate Python package primecountpy
17a667d14de Trac #32889: Move graphs methods to Polyhedron_base4
4ec4eb19fb6 Trac #32884: Move combinatorial methods of Polyhedron_base to Polyhedron_base3
25ed1faa3a4 Trac #32735: Remove imports of CC and CIF from sage.rings.all
3f97b01a6ff Trac #32640: Fix f.series(x, n) to match f.taylor(x, 0, n) for f = (1-x)^-x
0320f4ffe19 Trac #31535: New make targets "sagelib-tox-...", "sage_docbuild-tox-...", ...
bd2f4b66323 Trac #31386: Move list of scripts and package_data from setup.py to setup.cfg
576bdc76f6b Trac #20066: asymptotic expansion generators: fix precision parameter
f9ea42a60fe Trac #33032: pipe leak in doctest/forker.py
5c47269aa98 Trac #33021: fixing the linter
f46e863374d Trac #33020: update ipykernel to 6.6.0, make debugpy optional
4120283d980 Trac #33013: Fix tests with Python 3.10
620f2cdc2c0 Trac #32947: tox.ini, GH Actions: Update Linux platforms
0b9ec74e6a2 Trac #32933: Put SAGE_ROOT/src/bin in PATH only when invoked by SAGE_ROOT/sage or sage-build-env
8e3732ec275 Trac #32930: IPython/Jupyter upgrade for python 3.10 support
ec681c7279d Trac #30453: Document "sage -tox"
78ff6233610 Trac #33041: Suppress numpy deprecation warnings triggered by pythran
af08ba0ebe9 Trac #33024: Fix sparse cholesky when cvxopt is disabled
ab87a79962c Trac #33023: src/sage/matrix/matrix_double_sparse.pyx test failures on aarch64
0cceec0377f Trac #32827: Segmentation fault in face iterator
254941eb23d Trac #32576: Cysignals not compatible with glibc >= 2.34 (fedora-35, ubuntu-impish)
6080161d206 Trac #32926: Features for latex packages
d5c49b99a05 Trac #32174: doctests: Detect "safe" external features even if "--optional=external" is not used
55ce05fc140 Trac #32925: Improve documentation of sage.features
12d5e2dd53b Trac #32924: improvements to WordMorphism
21e4fbda68d Trac #32923: more annotations in Tamari interval posets
c52da4bd510 Trac #32919: Link to flint directly in symbolic.expression
2716f972522 Trac #32917: Update README.md
6a1f8e408b2 Trac #32916: Modularization fixes in sage.graphs
30930bf8102 Trac #32915: use new GF input in various places
2d2f583a1da Trac #32914: use new input for GF in doctests of ell_point
8ca686e02d8 Trac #32911: Roskind-Tarjan edge-disjoint spanning trees
3d01beb0fb6 Trac #32906: use libgap in Abelian group morphisms
7da9a3bf612 Trac #32903: Improve getting rows and columns in dense integer matrices
bd4269c704b Trac #32902: Use cached _row_ambient_module and _column_ambient_module for matrices
44ce36babfe Trac #32899: Developer's guide: Add section on modularization
c137dea2de3 Trac #32886: 1 fricas optional doctest failing in interfaces/fricas.py
60bed7d78cc Trac #32880: Replace Singular example with GAP in _get_shared_lib_path()
8f1a34eb6d8 Trac #32879: src/tox.ini: Check that there are no .all imports from namespace packages
90aff986483 Trac #32870: sage.rings: Modularization changes
01d5d277010 Trac #32853: python3: Update to 3.9.9
bdad49a4312 Trac #32811: some changes in quaternion algebras
cc6ce3da232 Trac #32805: Clean the use of weights in spanning_tree.pyx
c70bce8bc3b Trac #32803: Clean the use of weights in digraph.py
353cfdfe13d Trac #32740: 2 glucose doctests failing in sage/sat/solvers/dimacs.py
2cb9b970c58 Trac #32714: WSL: Add how to handle strange permission error
6f0a6b3b613 Trac #32710: Bruhat cones for Weyl groups (see #32669)
50a1bf5e26f Trac #32694: 9 internet doctests failing in src/sage/databases/findstat.py
423bef058e8 Trac #32648: Fix ginac bug in polynomial normalization
33c1cc50e23 Trac #32594: Refine growing letters
5b3b2751471 Trac #32278: Add support for B-terms in Asymptotic Ring
ec3bd6ebe04 Trac #32229: Asymptotic Ring BTerms: fix conversion
feae8f588b6 Trac #30741: Refactor to break cyclic import in complex numbers
00dbed00a99 Trac #23427: Fix intersection of hyperbolic geodesic arcs
e1923166fa5 Trac #14529: Drastic performance improvement of computing the chromatic polynomial
98fc50043ee Trac #32905: Add abs tol to some CBF and RBF doctests
d6d0edce104 Updated SageMath version to 9.5.beta8

Volker Braun

unread,
Dec 24, 2021, 8:34:05 AM12/24/21
to sage-release
pdf docs are apparently broken, I've made https://trac.sagemath.org/ticket/33076 for that:

LaTeX Warning: File `{../../../../../local/share/doc/sage/doctrees/en/reference
/plot_directive/sage/manifolds/subset-1}.pdf' not found on input line 4281.


! Package pdftex.def Error: File `../../../../../local/share/doc/sage/doctrees/
en/reference/plot_directive/sage/manifolds/subset-1.pdf' not found: using draft
 setting.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                 
l.4281 ..._directive/sage/manifolds/subset-1}.pdf}
                                                 
?
! Emergency stop.
 ...                                              
                                                 
l.4281 ..._directive/sage/manifolds/subset-1}.pdf}
                                                 
!  ==> Fatal error occurred, no output PDF file produced!

Emmanuel Charpentier

unread,
Dec 24, 2021, 3:40:59 PM12/24/21
to sage-release

FWIW, on Debian testing running on core i7 + 16 GB RAM, ptestlong gives only two (permanent) failures, both new IIRC :

charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --random-seed=181521996982838512350283316361467808663 src/sage/quadratic_forms/binary_qf.py  # 1 doctest failed
Running doctests with ID 2021-12-24-21-10-49-e0ec083d.
Git branch: develop
Using --optional=build,debian,debugpy,dochtml,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,ffmpeg,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,tdlib
Doctesting 1 file.
sage -t --long --warn-long 228.2 --random-seed=181521996982838512350283316361467808663 src/sage/quadratic_forms/binary_qf.py
**********************************************************************
File "src/sage/quadratic_forms/binary_qf.py", line 1498, in sage.quadratic_forms.binary_qf.BinaryQF.solve_integer
Failed example:
    xy is None or Q(*xy) == 0
Expected:
    True
Got:
    False
**********************************************************************
1 item had failures:
   1 of  12 in sage.quadratic_forms.binary_qf.BinaryQF.solve_integer
    [282 tests, 1 failure, 0.25 s]
----------------------------------------------------------------------
sage -t --long --warn-long 228.2 --random-seed=181521996982838512350283316361467808663 src/sage/quadratic_forms/binary_qf.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 0.3 seconds
    cpu time: 0.2 seconds
    cumulative wall time: 0.3 seconds
Features detected for doctesting: 
Pytest is not installed, skip checking tests that rely on it.
charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --random-seed=181521996982838512350283316361467808663 src/sage/functions/min_max.py  # 2 doctests failed
Running doctests with ID 2021-12-24-21-11-25-19653f31.
Git branch: develop
Using --optional=build,debian,debugpy,dochtml,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,ffmpeg,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,tdlib
Doctesting 1 file.
sage -t --long --warn-long 228.2 --random-seed=181521996982838512350283316361467808663 src/sage/functions/min_max.py
**********************************************************************
File "src/sage/functions/min_max.py", line 236, in sage.functions.min_max.MaxSymbolic._evalf_
Failed example:
    r
Expected:
    sqrt(2) - cos(1)
Got:
    0.873911256505000
**********************************************************************
File "src/sage/functions/min_max.py", line 238, in sage.functions.min_max.MaxSymbolic._evalf_
Failed example:
    r.n()
Expected:
    0.873911256504955
Got:
    0.873911256505000
**********************************************************************
1 item had failures:
   2 of  11 in sage.functions.min_max.MaxSymbolic._evalf_
    [69 tests, 2 failures, 0.84 s]
----------------------------------------------------------------------
sage -t --long --warn-long 228.2 --random-seed=181521996982838512350283316361467808663 src/sage/functions/min_max.py  # 2 doctests failed
----------------------------------------------------------------------
Total time for all tests: 0.9 seconds
    cpu time: 1.3 seconds
    cumulative wall time: 0.8 seconds
Features detected for doctesting: 
Pytest is not installed, skip checking tests that rely on it.

sage -t --long --random-seed=181521996982838512350283316361467808663 src/sage/rings/polynomial/polynomial_zmod_flint.pyx still times out during ptestlong and passes when ran standalone.

HTH,

François Bissey

unread,
Dec 24, 2021, 3:43:25 PM12/24/21
to sage-r...@googlegroups.com
The failures in min_max.py are caused by recent giac. See https://trac.sagemath.org/ticket/31563.
> --
> 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/9c5138af-fbdb-4054-84e0-5eacc320c627n%40googlegroups.com.

Samuel Lelièvre

unread,
Dec 24, 2021, 4:48:45 PM12/24/21
to sage-release
Thanks Volker for this new release.

On macOS 10.14.6 Mojave with many packages from
Homebrew: "All tests passed!"

On Cygwin 3.3.3-1 on Windows 10, with many packages:

- Sage 9.5.beta9 fails to build python3-3.9.7 unless
we configure `--with-python3=/usr/bin/python3`
and fails to build lcalc-2.0.4 unless we use #33043
and configure `--enable-download-from-upstream-url`

- partial success for Sage 9.5.beta9 + #33043 using

$ ./configure \
--with-python3=/usr/bin/python3 \
--enable-download-from-upstream-url

which seems to only fail to build scipy-3.7.2.

Since sagelib-9.5.beta9 builds, we get a usable Sage,
especially if building with `make -k -s V=0` (can use
either `-k` or `--keep-going`) so we go past the scipy
failure and build all that doesn't depend on scipy.

Now that Python 3.9 is packaged for Cygwin, maybe
`build/pkgs/python3/distros/cygwin.txt` should have
`python3` instead of `python38`. I'll check if that helps
detect Cygwin's Python 3.9.9 as a usable Python.

Regarding Emmanuel Charpentier's report, the failure
in src/sage/quadratic_forms/binary_qf.py is #33026.

So can the next development release please include

- #33026 (binary_qf)
- #33043 (lcalc 2.0.5)
- and any fix for building scipy on Cygwin -- not sure
if there is one yet?

I'd love #29310 (Have make distclean skip configure) too...
Since it has positive review, would setting its milestone
back from 9.6 to 9.5 be acceptable? --Samuel

Dima Pasechnik

unread,
Dec 24, 2021, 4:52:39 PM12/24/21
to sage-release
is there a ticket? Please open one, and put the error you see there.

>
> I'd love #29310 (Have make distclean skip configure) too...
> Since it has positive review, would setting its milestone
> back from 9.6 to 9.5 be acceptable? --Samuel
>
> --
> 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/CAEcArF3wFb7Vebc4CRCSNiv%2BnL5ePcMDc8oKc37j8xCaFGUi_g%40mail.gmail.com.

Kenji Iohara

unread,
Dec 24, 2021, 6:18:52 PM12/24/21
to sage-r...@googlegroups.com
Thanks Volker.

 On my Mac OS 12.1 with XCode 13.2, I couldn’t compile it :

* package:         sagemath_doc_html-none
  last build time: Dec 24 23:25
  log file:        /Users/iohara/Desktop/sage-9.5.beta9/logs/pkgs/sagemath_doc_html-none.log

* package:         fpylll-0.5.6
  last build time: Dec 24 23:57
  log file:        /Users/iohara/Desktop/sage-9.5.beta9/logs/pkgs/fpylll-0.5.6.log

 . Here is the log-files : 
fpylll-0.5.6.log
sagemath_doc_html-none.log

Matthias Köppe

unread,
Dec 24, 2021, 7:47:16 PM12/24/21
to sage-release
On Friday, December 24, 2021 at 1:48:45 PM UTC-8 Samuel Lelievre wrote:
Now that Python 3.9 is packaged for Cygwin, maybe
`build/pkgs/python3/distros/cygwin.txt` should have
`python3` instead of `python38`. I'll check if that helps
detect Cygwin's Python 3.9.9 as a usable Python.

+1, ticket please
 

Samuel Lelievre

unread,
Dec 24, 2021, 11:59:51 PM12/24/21
to sage-release
Thanks Dima and Matthias for your feedback.
I opened three tickets related to my report:

- #33078: Use system Python 3 on Cygwin
- #33079: Fix python3 build failure on Cygwin
- #33080: Fix scipy-3.7.2 build failure on Cygwin

Tried applying #33055, which did not seem to help
with the Python 3 issues on Cygwin.   --Samuel

Sébastien Labbé

unread,
Dec 29, 2021, 5:38:41 AM12/29/21
to sage-release
On Ubuntu 20.04, make build works fine and running tests with few optional and external packages I get:

Using --optional=4ti2,bliss,build,cbc,ccache,cryptominisat,database_symbolic_data,debian,debugpy,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,lrslib,normaliz,notedown,pandoc_attributes,pip,pycosat,pynormaliz,rst2ipynb,rubiks,sage,sage_numerical_backends_coin,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,cplex,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,ffmpeg,graphviz,gurobi,imagemagick,internet,jupymake,kenzo,latex,latex_package_tkz_graph,latte_int,lrslib,lualatex,macaulay2,magma,maple,mathematica,matlab,mcqd,meataxe,octave,pandoc,pdf2svg,pdflatex,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,scilab,tdlib,xelatex

[...]

----------------------------------------------------------------------
sage -t --long --random-seed=40537233215386142174776538763210859962 src/doc/en/constructions/linear_algebra.rst  # 1 doctest failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/doc/en/developer/coding_in_other.rst  # 1 doctest failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/sage/databases/findstat.py  # 2 doctests failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/sage/interfaces/octave.py  # 3 doctests failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/sage/sat/boolean_polynomials.py  # 1 doctest failed
sage -t --long --random-seed=40537233215386142174776538763210859962 src/sage/tests/cmdline.py  # 1 doctest failed
----------------------------------------------------------------------
Features detected for doctesting: dvipng,ffmpeg,graphviz,imagemagick,internet,latex,latex_package_tkz_graph,lualatex,octave,pandoc,pdf2svg,pdflatex,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,xelatex

Rerunning failed tests, the issue with boolean_polynomials.py does not reappear:

----------------------------------------------------------------------
sage -t --long --random-seed=300887881046897568887396291869982609842 src/doc/en/constructions/linear_algebra.rst  # 1 doctest failed
sage -t --long --random-seed=300887881046897568887396291869982609842 src/doc/en/developer/coding_in_other.rst  # 1 doctest failed
sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/databases/findstat.py  # 2 doctests failed
sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/interfaces/octave.py  # 3 doctests failed
sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/tests/cmdline.py  # 1 doctest failed
----------------------------------------------------------------------
Features detected for doctesting: internet,octave,pandoc

The failures with linear_algebra.rst, coding_in_other.rst and octave.py are new to me and are all related to optional octave doctests. They are copied below. For comparison with other machines, the version of octave available on the system is:

$ octave --version
GNU Octave, version 5.2.0
Copyright (C) 2020 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at https://www.octave.org.
Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html
Read https://www.octave.org/bugs.html to learn how to submit bug reports.


Follow up at https://trac.sagemath.org/ticket/25536

sage -t --long --random-seed=300887881046897568887396291869982609842 src/doc/en/constructions/linear_algebra.rst
**********************************************************************
File "src/doc/en/constructions/linear_algebra.rst", line 454, in doc.en.constructions.linear_algebra
Failed example:
    octave.solve_linear_system(A,b)    # optional - octave
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 694, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest doc.en.constructions.linear_algebra[4]>", line 1, in <module>
        octave.solve_linear_system(A,b)    # optional - octave
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py", line 518, in solve_linear_system
        return eval(sol)
      File "<string>", line 1
        [-0.333333, 0.666667, 0,
                               ^
    SyntaxError: unexpected EOF while parsing

**********************************************************************
1 item had failures:
   1 of 115 in doc.en.constructions.linear_algebra
    0 tests not run because we ran out of time
    [93 tests, 1 failure, 2.13 s]


sage -t --long --random-seed=300887881046897568887396291869982609842 src/doc/en/developer/coding_in_other.rst
**********************************************************************
File "src/doc/en/developer/coding_in_other.rst", line 721, in doc.en.developer.coding_in_other.solve_linear_system
Failed example:
    octave.solve_linear_system(A,b)    # optional - octave
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 694, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest doc.en.developer.coding_in_other.solve_linear_system[4]>", line 1, in <module>
        octave.solve_linear_system(A,b)    # optional - octave
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py", line 518, in solve_linear_system
        return eval(sol)
      File "<string>", line 1
        [-0.333333, 0.666667, 0,
                               ^
    SyntaxError: unexpected EOF while parsing

**********************************************************************
1 item had failures:
   1 of   6 in doc.en.developer.coding_in_other.solve_linear_system
    0 tests not run because we ran out of time
    [41 tests, 1 failure, 0.67 s]



sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/interfaces/octave.py
**********************************************************************
File "src/sage/interfaces/octave.py", line 158, in sage.interfaces.octave.Octave
Failed example:
    octave.eval("a = [ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]")    # optional - octave
Expected:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n\n'
Got:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n'
**********************************************************************
File "src/sage/interfaces/octave.py", line 160, in sage.interfaces.octave.Octave
Failed example:
    octave.eval("b = [ 1; 3; 13]")                         # optional - octave
Expected:
    'b =\n\n 1\n 3\n 13\n\n'
Got:
    'b =\n\n 1\n 3\n 13\n'
**********************************************************************
File "src/sage/interfaces/octave.py", line 495, in sage.interfaces.octave.Octave.solve_linear_system
Failed example:
    octave.solve_linear_system(A,b)    # optional - octave (and output is slightly random in low order bits)
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 694, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.interfaces.octave.Octave.solve_linear_system[4]>", line 1, in <module>
        octave.solve_linear_system(A,b)    # optional - octave (and output is slightly random in low order bits)
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py", line 518, in solve_linear_system
        return eval(sol)
      File "<string>", line 1
        [-0.333333, 0.666667, 0,
                               ^
    SyntaxError: unexpected EOF while parsing
**********************************************************************
2 items had failures:
   2 of   8 in sage.interfaces.octave.Octave
   1 of   6 in sage.interfaces.octave.Octave.solve_linear_system
    3 not tested tests not run
    0 tests not run because we ran out of time
    [132 tests, 3 failures, 1.33 s]




There are still few oeis and findstat unstable doctests which are copied below:


sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 129, in sage.databases.oeis
Failed example:
    [i for i in b.comments() if 'prime' in i][-1]     # optional -- internet
Expected:
    'Number n is prime if mod(a(n)-2,n) = 0. -_Dmitry Kruchinin_, Feb 14 2012'
Got:
    'Number n is prime if mod(a(n)-2,n) = 0. - _Dmitry Kruchinin_, Feb 14 2012'

**********************************************************************
1 item had failures:
   1 of  26 in sage.databases.oeis
    5 webbrowser tests not run
    0 tests not run because we ran out of time
    [289 tests, 1 failure, 27.62 s]
sage -t --long --random-seed=300887881046897568887396291869982609842 src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 3463, in sage.databases.findstat.FindStatMapQuery.?
Failed example:
    FindStatMapQuery(domain=1, codomain=10, data=data)            # optional -- internet
Expected:
    0: Mp00061oMp00069 (quality [100])
Got:
     0: Mp00061oMp00069 (quality [100])
     1: Mp00072oMp00064oMp00235oMp00087 (quality [100])
     2: Mp00072oMp00064oMp00237oMp00087 (quality [100])
     3: Mp00072oMp00235oMp00087oMp00069 (quality [100])
     4: Mp00072oMp00237oMp00087oMp00069 (quality [100])
     5: Mp00061oMp00236oMp00235oMp00069 (quality [100])
     6: Mp00061oMp00236oMp00237oMp00069 (quality [100])
     7: Mp00061oMp00069oMp00087oMp00066oMp00237 (quality [100])
     8: Mp00061oMp00069oMp00087oMp00066oMp00235 (quality [100])
     9: Mp00061oMp00069oMp00235oMp00087oMp00066 (quality [100])
    10: Mp00061oMp00069oMp00237oMp00087oMp00066 (quality [100])
    11: Mp00061oMp00235oMp00087oMp00064oMp00066 (quality [100])
    12: Mp00061oMp00237oMp00087oMp00064oMp00066 (quality [100])
    13: Mp00061oMp00069oMp00062oMp00066oMp00067 (quality [100])
    14: Mp00061oMp00087oMp00066oMp00235oMp00069 (quality [100])
    15: Mp00061oMp00087oMp00066oMp00237oMp00069 (quality [100])
    16: Mp00061oMp00175oMp00066oMp00064oMp00073 (quality [100])
    17: Mp00061oMp00087oMp00066oMp00238oMp00069 (quality [100])
    18: Mp00061oMp00236oMp00066oMp00086oMp00069 (quality [100])
**********************************************************************
File "src/sage/databases/findstat.py", line 3545, in sage.databases.findstat.FindStatMapQuery.__repr__
Failed example:
    FindStatMapQuery(domain=1, codomain=10, data=data)            # optional -- internet
Expected:
    0: Mp00061oMp00069 (quality [100])
Got:
     0: Mp00061oMp00069 (quality [100])
     1: Mp00072oMp00064oMp00235oMp00087 (quality [100])
     2: Mp00072oMp00064oMp00237oMp00087 (quality [100])
     3: Mp00072oMp00235oMp00087oMp00069 (quality [100])
     4: Mp00072oMp00237oMp00087oMp00069 (quality [100])
     5: Mp00061oMp00236oMp00235oMp00069 (quality [100])
     6: Mp00061oMp00236oMp00237oMp00069 (quality [100])
     7: Mp00061oMp00069oMp00087oMp00066oMp00237 (quality [100])
     8: Mp00061oMp00069oMp00087oMp00066oMp00235 (quality [100])
     9: Mp00061oMp00069oMp00235oMp00087oMp00066 (quality [100])
    10: Mp00061oMp00069oMp00237oMp00087oMp00066 (quality [100])
    11: Mp00061oMp00235oMp00087oMp00064oMp00066 (quality [100])
    12: Mp00061oMp00237oMp00087oMp00064oMp00066 (quality [100])
    13: Mp00061oMp00069oMp00062oMp00066oMp00067 (quality [100])
    14: Mp00061oMp00087oMp00066oMp00235oMp00069 (quality [100])
    15: Mp00061oMp00087oMp00066oMp00237oMp00069 (quality [100])
    16: Mp00061oMp00175oMp00066oMp00064oMp00073 (quality [100])
    17: Mp00061oMp00087oMp00066oMp00238oMp00069 (quality [100])
    18: Mp00061oMp00236oMp00066oMp00086oMp00069 (quality [100])
**********************************************************************
2 items had failures:
   1 of   4 in sage.databases.findstat.FindStatMapQuery.?
   1 of   4 in sage.databases.findstat.FindStatMapQuery.__repr__
    11 webbrowser tests not run
    0 tests not run because we ran out of time
    [409 tests, 2 failures, 41.24 s]



axio...@yahoo.de

unread,
Dec 29, 2021, 6:39:39 AM12/29/21
to sage-release
The findstat failure is, unfortunately, an upstream problem, which I cannot fix myself.  Currently, the depth parameter is ignored in map queries.  I notified the person that is hopefully able to fix it.

John H Palmieri

unread,
Jan 4, 2022, 11:10:30 PM1/4/22
to sage-release
I am having intermittent problems building Sage on OS X from a fresh tarball: it's worked sometimes, failed others. When it fails, it seems to be because there is no script "sage" in venv/bin. (There may be other problems, too, but this one is a major symptom.) I think this is the pattern: if I take a fresh tarball, run ./configure and make, it fails. If I instead run ./bootstrap then ./configure then make, it succeeds. Any ideas what's going on? Has anyone else seen this?

  John

Samuel Lelièvre

unread,
Jan 4, 2022, 11:31:50 PM1/4/22
to sage-release
From a fresh git clone, one of the following two options
is needed to build Sage:

./bootstrap && ./configure && make
make configure && ./configure && make

From a fresh tarball, the "make configure" is supposed
not to be necessary, as tarballs ship an appropriate
version of configure. You may be coming across this:

- Sage Trac ticket 32868
configure tarball misses some generated files
https://trac.sagemath.org/ticket/32868

That ticket was recently closed, so the problem you
report should be fixed in the next development release.

David Coudert

unread,
Jan 5, 2022, 6:10:32 AM1/5/22
to sage-r...@googlegroups.com
I have not experienced what you report. On macOS 10.15.7, I’m always doing:
./bootstrap 
source .homebrew-build-env
./configure
make 

Best,
David.

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

John H Palmieri

unread,
Jan 5, 2022, 1:14:01 PM1/5/22
to sage-release
I think Samuel is correct and #32868 will fix it. I was not running ./bootstrap with a fresh tarball, and I'm glad that with the fix, I will be able to continue not running it. (I think that './configure; make' should be sufficient. I have 'source .homebrew-build-env' in my .profile, so I don't have to worry about that.)

  John

Samuel Lelièvre

unread,
Jan 9, 2022, 1:33:43 AM1/9/22
to sage-release
2021-12-25 04:59 UTC, Samuel Lelievre on sage-release:
I have now installed Cygwin's python39-3.9.9-3, which is
currently a test Cygwin package, better suited for Sage
than the previous version of Python 3.9 on Cygwin.
Many thanks to Matthias Koeppe who posted on the cygwin
mailing list suggesting how to change the python39 package,
and to Marco Atzeri who produced a new fixed version of it.

With that, starting from a fresh git clone of Sage 9.5.beta9
enriched by ~45 tickets closed since then, sagelib builds
but `sagemath_doc_html-none` fails to build. Logs at

https://aij.ovh/sage/logs/slel-2022-01-08-cyg-sage-9-5-b9-many.zip

Looking forward to any pointers or suggestions. --Samuel
Reply all
Reply to author
Forward
0 new messages