Re: [sage-release] Sage 9.0.rc0 released
On a MacBook Air with macOS 10.14.6 Mojave, after `git pull origin develop && make` from a working Sage 9.0.beta10 built for Python 3, ran `make testlong` and got: "All tests passed!". -- 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/CAEcArF0QKn4tF%2BGYqcmFRKFkw-VZVYWd_KLMnDGRGuN2POUY1Q%40mail.gmail.com.
Re: [sage-release] Sage 9.0.rc0 released
Thu 2019-12-26 à 23:24 UTC, Volker Braun: > > 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0 Computer, OS, build choices: - iMac, Mid 2015 - macOS 10.14.6 Mojave - build for Python 2 - build Sage's `gcc` and `openssl` packages - build Sage's Python with its `_ssl` and `_tkinter` modules Running `make testlong` gave 2 failing doctests in the file `src/sage/misc/sageinspect.py`. Running the tests for that file again gave 6 failing doctests. Excerpts from the terminal session follow. ```bash $ make testlong [...] -- sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py # 2 doctests failed -- Total time for all tests: 11201.1 seconds cpu time: 8574.9 seconds cumulative wall time: 10884.3 seconds make: *** [testlong] Error 1 ``` ```bash $ ./sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py Running doctests with ID 2019-12-27-15-55-47-4a6bf556. Git branch: develop Using --optional=build,dochtml,mpir,python2,sage Doctesting 1 file. sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py ** File "src/sage/misc/sageinspect.py", line 2132, in sage.misc.sageinspect._sage_getsourcelines_name_with_dot Failed example: cython(''' class A: def __init__(self): "some init doc" pass class B: "some class doc" class A(A): pass ''') Exception raised: Traceback (most recent call last): File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 10, in ''') File "sage/misc/lazy_import.pyx", line 353, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3686) return self.get_object()(*args, **kwds) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py", line 634, in cython_compile return cython_import_all(tmpfile, get_globals(), **kwds) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py", line 524, in cython_import_all m = cython_import(filename, **kwds) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py", line 504, in cython_import return builtins.__import__(name) ModuleNotFoundError: No module named '_Users_lelievre__sage_temp_Ghost_80496_tmp_2caqjln__pyx_0' ** File "src/sage/misc/sageinspect.py", line 2142, in sage.misc.sageinspect._sage_getsourcelines_name_with_dot Failed example: B.A.__name__ Exception raised: Traceback (most recent call last): File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 1, in B.A.__name__ NameError: name 'B' is not defined ** File "src/sage/misc/sageinspect.py", line 2144, in sage.misc.sageinspect._sage_getsourcelines_name_with_dot Failed example: B.A.__qualname__ Exception raised: Traceback (most recent call last): File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 1, in B.A.__qualname__ NameError: name 'B' is not defined ** File "src/sage/misc/sageinspect.py", line 2146, in sage.misc.sageinspect._sage_getsourcelines_name_with_dot Failed example: sage_getsource(B.A) Exception raised: Traceback (most recent call last): File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 1, in sage_getsource(B.A) NameError: name 'B' is not defined
Re: [sage-release] Re: Sage 9.0.beta2 released
I have a fix for this on the ticket (https://trac.sagemath.org/ticket/28676) - please review. Hoping we can get this into 9.0 still. On Tuesday, October 29, 2019 at 8:48:50 PM UTC-4, Samuel Lelievre wrote: > > Le mar. 29 oct. 2019 à 20:41, Isuru Fernando > a écrit : > > > > Hi Samuel, > > > > Can you open a ticket? Either singular should depend on the python > package or --without-python should be passed to configure to avoid > surprises like this. > > > > Isuru > > This is now > > - Sage Trac ticket 28676 > Clarify Singular dependence on Python > https://trac.sagemath.org/ticket/28676 > -- 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/ba080c79-54e3-444f-a1a6-5a6a8244194a%40googlegroups.com.
Re: [sage-release] Sage 9.0.rc0 released
> On Dec 26, 2019, at 15:23 , Volker Braun wrote: > > 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 Built from a fresh clone of the develop tree, on macOS 10.14.6 (2017 MBP, Quad-core Core i7). No problems with the build, and all tests (‘ptestlong’) passed! Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds --- Like the ski resort full of girls hunting for husbands and husbands hunting for girls, the situation is not as symmetrical as it might seem. - Alan MacKay -- -- 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/F9476F71-B349-4E91-8D5B-9C51C6728BD4%40mac.com.
[sage-release] Re: Sage 9.0.rc0 released
This may in part be due to #28744 which was merged in beta8. Before that, the Octave interface was so broken with Python 3 that even the detection of Octave failed, so these `external` doctests would never run during ptestalllong. Now, all Octave tests pass on my end, but I still have Octave 3.8.2 which is slightly outdated. Indeed, the interface may need some updates for the current version of Octave. Am Freitag, 27. Dezember 2019 14:56:33 UTC+1 schrieb Emmanuel Charpentier: > > Those 4 “new” transient failures are all bound to the use of octave, > whose interface may benefit from revision (but the fact that these > doctests pass when ran standalone may point to a concurrency problem…). > -- 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/e08ede54-fafd-4249-b44c-0f42712e566e%40googlegroups.com.
Re: [sage-release] Sage 9.0.beta10 released
In flint log there are errors about "unknown type constexpr", which seem to indicate that c++ compiler needs "-std=c++11", which did not make it through somehow, and Apple's clang has a weird default -std= value. Try building flint as follows: CXXFLAGS="$CXXFLAGS -std=c++" ./sage -i flint (or perhaps std=gnu++11) On Fri, Dec 27, 2019 at 3:54 PM Samuel Lelièvre wrote: > > Le jeu. 26 déc. 2019 à 00:28, Samuel Lelièvre: > > > > On one laptop, > > - MacBook Air, Early 2014 > > - macOS 10.14.6 Mojave > > - Homebrew installed with many packages > > - "git pull origin develop" from 9.0.beta9 > > - "./configure --with-python=3 && make": ok > > - "make testlong": All tests pass! > > > > NB: "make testlong" failed when using Homebrew's > > glpk-4.65, which is not patched for the bug discussed at > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891465 > > > > The (2018-03) discussion indicated that the bug was fixed > > upstream in GLPK and would be part of the next release, > > but after four releases in 2017, there was only one in early > > 2018, which was GLPK 4.65, and there was none in 2019. > > > > On the same laptop, and on a desktop (iMac, Mid 2015), > > also running macOS 10.14.6 Mojave, Sage failed to build > > from a fresh git install, with errors building gfan and flint. > > Could not figure out why... Maybe these logs give clues? > > > > https://cocalc.com/share/4d32f8fb5011bd389b1f2238d0c49190d8e41543/2019-12-air-slel/sage-py3-with-brew/config.log?viewer=share > > https://cocalc.com/share/c1ac9c0a5cfecebf4161bf4e25d3bb00ec904de7/2019-12-air-slel/sage-py3-with-brew/flint-2.5.2.p5.log?viewer=share > > https://cocalc.com/share/fcaf1d8aa7ec8f865f15925b767b6b7599cd38db/2019-12-air-slel/sage-py3-with-brew/gfan-0.6.2.p1.log?viewer=share > > On that desktop iMac, building with gcc worked, > and `make testlong` gave one file failing 2 doctests, > the file `src/sage/misc/sageinspect.py` -- the failure > persisted when running `./sage -t --long` on that file. > See below: > > ```bash > $ make testlong > > [...] > > -- > sage -t --long --warn-long 51.6 src/sage/misc/sageinspect.py # 2 > doctests failed > -- > Total time for all tests: 11030.2 seconds > cpu time: 8401.6 seconds > cumulative wall time: 10722.0 seconds > make: *** [testlong] Error 1 > ``` > > ```bash > $ ./sage -t --long --warn-long 51.6 src/sage/misc/sageinspect.py > Running doctests with ID 2019-12-26-19-53-58-64505fb8. > Git branch: develop > Using --optional=build,ccache,dochtml,mpir,openssl,sage > Doctesting 1 file. > sage -t --long --warn-long 51.6 src/sage/misc/sageinspect.py > ** > File "src/sage/misc/sageinspect.py", line 2132, in > sage.misc.sageinspect._sage_getsourcelines_name_with_dot > Failed example: > cython(''' > class A: > def __init__(self): > "some init doc" > pass > class B: > "some class doc" > class A(A): > pass > ''') > Exception raised: > Traceback (most recent call last): > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/doctest/forker.py", > line 681, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/doctest/forker.py", > line 1123, in compile_and_execute > exec(compiled, globs) > File " sage.misc.sageinspect._sage_getsourcelines_name_with_dot[3]>", line > 10, in > ''') > File "sage/misc/lazy_import.pyx", line 353, in > sage.misc.lazy_import.LazyImport.__call__ > (build/cythonized/sage/misc/lazy_import.c:3686) > return self.get_object()(*args, **kwds) > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/misc/cython.py", > line 634, in cython_compile > return cython_import_all(tmpfile, get_globals(), **kwds) > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/misc/cython.py", > line 524, in cython_import_all > m = cython_import(filename, **kwds) > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/misc/cython.py", > line 504, in cython_import > return builtins.__import__(name) > ModuleNotFoundError: No module named > '_Users_lelievre__sage_temp_Ghost_83982_tmp_uhql0xtf_pyx_0' > ** > File "src/sage/misc/sageinspect.py", line 2142, in > sage.misc.sageinspect._sage_getsourcelines_name_with_dot > Failed example: > B.A.__name__ > Exception raised: > Traceback (most recent call last): > File > "/Users/lelievre/s/sage3nobrew/local/lib/python3.7/site-packages/sage/doctest/forker.py", > line 681, in _run >
[sage-release] Re: Sage 9.0.rc0 released
On a slightly smaller machine (Debian testing running on core i5 + 8 GB RAM) which does not have gap_packages installed, after upgrading a Python 3-based 9.9.beta9 to 9.0.rc0, ptestalllong gives nine transient failures, and no permanent failure. File Result P/T src/sage/plot/animate.py 7 doctests failed T src/doc/en/constructions/linear_algebra.rst 1 doctest failed T src/sage/misc/latex.py 1 doctest failed T src/doc/en/constructions/interface_issues.rst 1 doctest failed T src/sage/repl/load.py 1 doctest failed T src/doc/en/developer/coding_in_other.rst 1 doctest failed T src/sage/interfaces/octave.py 3 doctests failed T src/sage/databases/findstat.py 1 doctest failed T src/sage/interfaces/magma_free.py 2 doctests failed T Of these failures, only linear_algebra.rst, interface_issues.rst, coding_in_other.rst and octave.py are novel. Details: - linear_algebra.rst sage -t --long --warn-long 53.9 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 "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 1, in octave.solve_linear_system(A,b)# optional - octave File "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/interfaces/octave.py", line 519, in solve_linear_system return eval(sol) File "", line 1 [-0.33, 0.67, 0, ^ SyntaxError: unexpected EOF while parsing ** 1 item had failures: 1 of 115 in doc.en.constructions.linear_algebra [93 tests, 1 failure, 2.25 s] - interface_issues.rst sage -t --long --warn-long 53.9 src/doc/en/constructions/interface_issues.rst ** File "src/doc/en/constructions/interface_issues.rst", line 432, in doc.en.constructions.interface_issues Failed example: octave("atanh(1.1)") ## optional - octave Expected: (1.52226,-1.5708) Got: (1.52226,1.5708) ** 1 item had failures: 1 of 22 in doc.en.constructions.interface_issues [17 tests, 1 failure, 1.51 s] - coding_in_other.rst sage -t --long --warn-long 53.9 src/doc/en/developer/coding_in_other.rst ** File "src/doc/en/developer/coding_in_other.rst", line 728, 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 "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute exec(compiled, globs) File "", line 1, in octave.solve_linear_system(A,b)# optional - octave File "/usr/local/sage-9/local/lib/python3.7/site-packages/sage/interfaces/octave.py", line 519, in solve_linear_system return eval(sol) File "", line 1 [-0.33, 0.67, 0, ^ SyntaxError: unexpected EOF while parsing ** 1 item had failures: 1 of 6 in doc.en.developer.coding_in_other.solve_linear_system [41 tests, 1 failure, 0.79 s] - octave.py sage -t --long --warn-long 53.9 src/sage/interfaces/octave.py ** File "src/sage/interfaces/octave.py", line 159, 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 161, 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 496, in sage.interfaces.octave.Octave.solve_linear_system Failed example:
[sage-release] Re: Sage 9.0.rc0 released
FWIW, on Debian testing running on core i7 + 16 GB RAM, after upgrading a Python 3-based Sage 9.0.beta10 to 9.0.rc0, ptestalllong gives 4 transient and 3 permanent failures: File Result P/T src/sage/plot/animate.py 7 doctests failed T src/sage/numerical/backends/glpk_backend.pyx 1 doctest failed P src/sage/tests/gap_packages.py 1 doctest failed P src/sage/misc/latex.py 1 doctest failed T src/sage/libs/glpk/error.pyx 1 doctest failed P src/sage/repl/load.py 1 doctest failed T src/sage/databases/findstat.py 1 doctest failed T All these failures have already been reported at least thrice. HTH, Le vendredi 27 décembre 2019 00:23:59 UTC+1, 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 > > > 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0 > 127f366466 Trac #28900: some details in schemes/ > ca4521e2b4 Trac #28898: pep cleanup in quivers/ > d08e04849b Trac #28896: Graphs: Move common methods of backends to CGraph > 5755e74d72 Trac #28885: spkg-configure for cliquer > f2815065ea Trac #28837: Flow polytope does not work as expected on > Multi-Digraphs > 8da01cc05d Trac #28654: A Bug in the backend `field` > 28d403249e Trac #28309: improvement of method allow_multiple_edges > b22d6d510d Trac #28094: support function fields in characteristic zero > fcadfadd4e (tag: 9.0.beta10) Updated SageMath version to 9.0.beta10 > > -- 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/9c7675d4-caf7-463a-89c9-dd37b875164d%40googlegroups.com.
[sage-release] Re: Sage 9.0.rc0 released
On Ubuntu 18.04 running on Core i7-6700HQ + 16 GB RAM: - incremental build (-j8) from 9.0.beta10 OK - all tests from ptestlong passed Eric. -- 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/13552465-4af9-4035-9719-97897a861fe7%40googlegroups.com.
Re: [sage-release] Sage 9.0.rc0 released
Le ven. 27 déc. 2019 à 03:11, Samuel Lelièvre a écrit : > > Le jeu. 26 déc. 2019 à 18:24, Volker Braun: > > > > 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0 > > Please include #28910 in Sage 9.0. It touches no code, > it's just a badge update for DockerHub to show Sage > is maintained as of 2020. I mean, that Sage Docker images are maintained. -- 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/CAEcArF1sYVy5hyhpozhB6Ny3OWN3X8MLH_F2cdrt1-_-HFJDxQ%40mail.gmail.com.
Re: [sage-release] Sage 9.0.rc0 released
Le jeu. 26 déc. 2019 à 18:24, Volker Braun: > > 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0 Please include #28910 in Sage 9.0. It touches no code, it's just a badge update for DockerHub to show Sage is maintained as of 2020. https://trac.sagemath.org/ticket/28910 -- 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/CAEcArF2ROHrv99tPNvSH0dLWpGyiHX94NLbjZfWcvmrahFe2NA%40mail.gmail.com.