Sage 9.0.beta10 released

149 views
Skip to first unread message

Volker Braun

unread,
Dec 24, 2019, 10:36:19 AM12/24/19
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 

I'm thinking this should be the last beta so, so rc0 will be next.

Happy Holidays everyone!


fcadfadd4e (tag: 9.0.beta10, trac/develop) Updated SageMath version to 9.0.beta10
0bb0717729 (origin/develop) Trac #17339: Polyhedron class mistreats empty inputs
5d97ca15b0 Trac #28875: use https in setup.py
b299043fd2 Trac #28326: Restore default term state after printing environment variables
954320295c Trac #28828: Attributes of polyhedra are exposed
cfea7e76de Trac #28766: Implement incidence matrix for cones
8e87b5de3c Trac #28743: Lattice Polytopes: Implement incidence matrix
8f98c8c527 Trac #28596: Fix jmol permissions
f33a3cd4a6 Trac #26332: Remove the ore_algebra optional package
c391f3c709 Trac #28891: character art and sympy-conversion of symbolic series
d38d70e13a Trac #28888: refresh the file ell_finite_field
e7db49842a Trac #28887: remove some deprecated function aliases
78048a233c Trac #28881: refresh the shuffle algebra file
4a81292d17 Trac #28877: Upgrade R to 3.6.2
c49ab24ec2 Trac #28876: Polyhedron: Let affine hull fully respect backend
cc3b465860 Trac #28874: Meaningful errors for immutable graphs
ec82635f43 Trac #28808: failing internet doctest in repl/load.py
1213c05eb7 Trac #28533: Remove adding /usr/include/$MULTI_ARCH to CPATH
56060cd78e Trac #15645: Raise coverage of schemes/hyperelliptic_curves/monsky_washnitzer.py to 100%
58594ca444 Trac #28872: Wrong usage of normaliz/pynormaliz makes sage crash hard
c22568d92c Trac #28861: change some returns to return
8d4b3d08c2 Trac #28860: some trivial fixes for space around = in combinat
fe07922b89 Trac #28859: some enhanced tests in schemes folder
4147813107 Trac #28851: Polar of integer polytopes does not respect backend
fe85d6f70b Trac #28850: Polar of polytopes does not check if polytope is full-dimensional
b965d51b53 Trac #28789: Zeta functions of hyperelliptic curves giving wrong answers
ff2c93c625 Trac #28613: CombinatorialPolyhedron: attributes, H -> facet_names; V -> Vrep
6a4615ea17 Trac #28632: Implement Eulerian Polynomials and Numbers
3f09bec04d Trac #28355: Allow precision to be passed into the elliptic_j function
b3ff8a9981 Trac #28863: 1 doctest failed in thematic_tutorials/linear_programming.rst
28a281c1a2 Trac #28858: Fix frobby interface with python3
9bdc35708c Trac #28762: 2 doctests failed in cmdline.py related to rst2ipynb
d253653a23 Trac #28329: Suppress warnings from failed psutil statistics collection
7b7b8ea743 Trac #12679: rewrite Matrix_modn_sparse and vector_modn_sparse code so that the modulus is 64-bit on 64-bit platforms
a3b9ff5c05 Trac #28829: suitesparse does not build on Cygwin
202322a24d Trac #28849: clean the doc of Monte Carlo integration
fb97c032a3 Trac #28847: better unicode art for chain complex
71ec7519ef Trac #28845: cleaning tableau residues.py
04bc07acc2 Trac #28844: some details in heegner.py
4fb8ce6578 Trac #28842: Uncaught AttributeError in integrate()
7938f96e9b Trac #28819: disable problematic external doctests
72719d2a48 Trac #28684: Fixing precision of Tate elliptic curves over Qp
e464b6efbd Trac #28507: MR37: Update symlinks in the docker -dev image
78d2798500 Trac #28374: MR31: Build documentation artifacts during docker build
178d581924 Trac #28832: suitesparse spkg does not properly use a DESTDIR installation
87c3057957 (tag: 9.0.beta9) Updated SageMath version to 9.0.beta9

John Cremona

unread,
Dec 24, 2019, 12:03:53 PM12/24/19
to sage-r...@googlegroups.com
On behalf of all Sage users and deleopers I would like to thank Volker for all his efforts over yet another year as release manager.  Your work is much appreciated and I hope you are able to take a break from it for a few days at least!

John

--
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/4ebcf581-ff72-4547-ae90-341560b6a66a%40googlegroups.com.

Justin C. Walker

unread,
Dec 24, 2019, 4:42:57 PM12/24/19
to 'Justin C. Walker' via sage-release


> On Dec 24, 2019, at 07:36 , Volker Braun <vbrau...@gmail.com> 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
>
> I'm thinking this should be the last beta so, so rc0 will be next.
>
> Happy Holidays everyone!

Built w/o problems from a fresh clone of the develop branch on macOS 10.14.6 (2017 MBP, Quad-core Core i7), and all tests (’ptestlong’) passed!

I echo John’s comments: your efforts and success have played a large part in Sage’s success. Thanks for all your hard work.

Have a great holiday and a happy New Year!

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


Emmanuel Charpentier

unread,
Dec 25, 2019, 7:26:23 AM12/25/19
to sage-release

On Debian testing running on core i7 + 16 GB RAM, ptestalllong after upgrade of a a Python 3-based Sage 9.0.beta9 to 9.0.beta10 gets 6 transient and 3 permanent failures:

File Result P/T
src/sage/databases/findstat.py 1 doctest failed T
src/sage/plot/animate.py 7 doctests failed T
src/sage/interfaces/psage.py 1 doctest failed T
src/sage/tests/gap_packages.py 1 doctest failed P
src/sage/modular/ssmod/ssmod.py 2 doctests failed T
src/sage/misc/latex.py 1 doctest failed T
src/sage/numerical/backends/glpk_backend.pyx 1 doctest failed P
src/sage/repl/load.py 1 doctest failed T
src/sage/libs/glpk/error.pyx 1 doctest failed P

The only new failure is a transient failure on psage.py.

HTH,

Emmanuel Charpentier

unread,
Dec 25, 2019, 7:40:43 AM12/25/19
to sage-release
Dear list,


Le mardi 24 décembre 2019 16:36:19 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 

I'm thinking this should be the last beta so, so rc0 will be next.

Well, notwithstanding Mac OS X's shenanigans on Trac#28883, this ticket and its companions Trac#27870 and Trac#28884 (both positively reviewed) solve a serious maintenance headache. They might be worth one more beta, IF the Mac OS mysteries can be solver in due time.

OTOH, final curtain on Python 2 is on Dec 31.  Getting a Python 3-based before this might be given priority over this new"nice to have but not vital" feature...

What do you think?

Samuel Lelièvre

unread,
Dec 26, 2019, 12:28:20 AM12/26/19
to sage-release
Tue 2019-12-24 15:36 UTC, Volker Braun:
>
> I'm thinking this should be the last beta so, so rc0 will be next.

Exciting!

> Happy Holidays everyone!

Happy holidays Volker!

> fcadfadd4e (tag: 9.0.beta10, trac/develop) Updated SageMath version to 9.0.beta10

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

Harald Schilly

unread,
Dec 26, 2019, 9:04:42 AM12/26/19
to sage-release
I got a build failure (running in an ubuntu 18.04 docker container for cocalc). This is the whole log it says to report:

~:$ cat /ext/sage/sage-dev/logs/pkgs/python3-3.7.3.p1.log
Found local metadata for python3-3.7.3.p1
Using cached file /ext/sage/sage-dev/upstream/Python-3.7.3.tar.xz
python3
-3.7.3.p1
====================================================
Setting up build directory for python3-3.7.3.p1
Finished extraction
Applying patches from ../patches...
Applying ../patches/2.6.5-FD_SETSIZE.patch
patching file
Modules/selectmodule.c
Applying ../patches/2.7.3-dylib.patch
patching file
Lib/distutils/unixccompiler.py
Applying ../patches/3.2.6-no-enable-new-dtags.patch
patching file
Lib/distutils/unixccompiler.py
Hunk #1 succeeded at 249 (offset 6 lines).
Applying ../patches/cygwin-ctypes.patch
patching file
Lib/ctypes/__init__.py
Hunk #1 succeeded at 439 (offset 8 lines).
Applying ../patches/cygwin-readline.patch
patching file setup
.py
Hunk #1 succeeded at 788 (offset 69 lines).
Hunk #2 succeeded at 1369 (offset -3 lines).
Applying ../patches/linux_linking_issue_25229.patch
patching file
Lib/distutils/unixccompiler.py
Hunk #1 succeeded at 243 (offset 9 lines).
Applying ../patches/macos_no_include.patch
patching file configure
patching file configure
.ac
patching file pyconfig
.h.in
patching file setup
.py
Applying ../patches/permissions_issue_34245.patch
patching file
Makefile.pre.in
Applying ../patches/trashcan.patch
patching file
Include/object.h
patching file
Lib/test/test_capi.py
patching file
Lib/test/test_ordered_dict.py
patching file
'Misc/NEWS.d/next/Core and Builtins/2019-02-13-16-47-19.bpo-35983.bNxsXv.rst'
patching file
Modules/_elementtree.c
patching file
Modules/_testcapimodule.c
Hunk #1 succeeded at 5203 (offset -4 lines).
Hunk #2 succeeded at 5386 (offset -4 lines).
patching file
Objects/descrobject.c
Hunk #1 succeeded at 1023 (offset 2 lines).
patching file
Objects/dictobject.c
patching file
Objects/listobject.c
patching file
Objects/odictobject.c
patching file
Objects/setobject.c
patching file
Objects/tupleobject.c
patching file
Objects/typeobject.c
patching file
Python/hamt.c
patching file
Python/traceback.c
************************************************************************
spkg
-build should not be marked executable in the build/pkgs directory
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem
and including the log file
 
/ext/sage/sage-dev/logs/pkgs/python3-3.7.3.p1.log
Describe your computer, operating system, etc.
************************************************************************



Investigating a little bit:

~$ ls -l ./local/var/tmp/sage/build/python3-3.7.3.p1/spkg-*
-rwxr-xr-x 1 salvus salvus 4342 Sep  2  2018 ./local/var/tmp/sage/build/python3-3.7.3.p1/spkg-build
-rwxr-xr-x 1 salvus salvus  106 Nov 10  2017 ./local/var/tmp/sage/build/python3-3.7.3.p1/spkg-check
-rwxr-xr-x 1 salvus salvus 2269 Aug 18  2018 ./local/var/tmp/sage/build/python3-3.7.3.p1/spkg-install

~$ ls -l ./build/pkgs/python3/spkg-*
-rwxr-xr-x 1 salvus salvus 4342 Sep  2  2018 ./build/pkgs/python3/spkg-build
-rwxr-xr-x 1 salvus salvus  106 Nov 10  2017 ./build/pkgs/python3/spkg-check
-rwxr-xr-x 1 salvus salvus 2269 Aug 18  2018 ./build/pkgs/python3/spkg-install


~$ dev$ umask
0022




Volker Braun

unread,
Dec 26, 2019, 4:27:27 PM12/26/19
to sage-release
Is your build script doing a recursive chmod go+x by any chance? I don't understand how you could end up with these permissions otherwise. I'm pretty sure they aren't in the tarball.

Volker Braun

unread,
Dec 26, 2019, 4:31:28 PM12/26/19
to sage-release
PS: here are the permissions in the tarball

$ tar tvf sage-9.0.beta9.tar.gz | grep build/pkgs/python3

-rw-r--r-- release/release       130 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/checksums.ini
-rw-r--r-- release/release       190 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/dependencies
-rw-r--r-- release/release         9 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/package-version.txt
drwxr-xr-x release/release         0 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/
-rw-r--r-- release/release      1637 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/2.6.5-FD_SETSIZE.patch
-rw-r--r-- release/release       700 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/2.7.3-dylib.patch
-rw-r--r-- release/release      1129 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/3.2.6-no-enable-new-dtags.patch
-rw-r--r-- release/release       667 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/cygwin-ctypes.patch
-rw-r--r-- release/release      1386 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/cygwin-readline.patch
-rw-r--r-- release/release       666 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/linux_linking_issue_25229.patch
-rw-r--r-- release/release      2245 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/macos_no_include.patch
-rw-r--r-- release/release       451 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/permissions_issue_34245.patch
-rw-r--r-- release/release     23362 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/patches/trashcan.patch
-rw-r--r-- release/release      4342 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/spkg-build
-rw-r--r-- release/release       106 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/spkg-check
-rw-r--r-- release/release      2269 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/spkg-install
-rw-r--r-- release/release         9 2019-12-08 13:22 sage-9.0.beta9/build/pkgs/python3/type

Harald Schilly

unread,
Dec 26, 2019, 4:34:24 PM12/26/19
to sage-release
Well, no idea actually. There is no extra script running, just "make -j2". However, maybe there was something left from a earlier build, which I missed (It's building from the git repo). Starting fresh after a git reset hard and clean -fdx did resolve this! (I'm running tests right now)

sorry for the noise

Volker Braun

unread,
Dec 26, 2019, 4:35:43 PM12/26/19
to sage-release
On Wednesday, December 25, 2019 at 1:40:43 PM UTC+1, Emmanuel Charpentier wrote:
OTOH, final curtain on Python 2 is on Dec 31.  Getting a Python 3-based before this might be given priority over this new"nice to have but not vital" feature...

I agree that we should have a Python3 version out ASAP...
 

Eric Gourgoulhon

unread,
Dec 26, 2019, 4:54:40 PM12/26/19
to sage-release

Le mardi 24 décembre 2019 18:03:53 UTC+1, John Cremona a écrit :
On behalf of all Sage users and deleopers I would like to thank Volker for all his efforts over yet another year as release manager.  Your work is much appreciated

+1
Thank you Volker!

Here is my report:

On Ubuntu 18.04 running on Core i7-6700HQ + 16 GB RAM:
- incremental build (-j8) from 9.0.beta9 OK
- all tests from ptestlong passed, except for a transient failure (reported by Emmanuel as well):
sage -t --long --warn-long 80.9 src/sage/modular/ssmod/ssmod.py  # 2 doctests failed
(details are attached)
The test is passed when run standalone.

Best wishes,

Eric.
ssmod_failure.log

Samuel Lelièvre

unread,
Dec 27, 2019, 2:54:08 AM12/27/19
to sage-release
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 "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[3]>", line
10, in <module>
''')
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
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 "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[4]>", line 1,
in <module>
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/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 "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[5]>", line 1,
in <module>
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/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 "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[6]>", line 1,
in <module>
sage_getsource(B.A)
NameError: name 'B' is not defined
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2281, in
sage.misc.sageinspect.sage_getsourcelines
Failed example:
cython('''cpdef test_funct(x,y): return''')
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 "<doctest sage.misc.sageinspect.sage_getsourcelines[6]>",
line 1, in <module>
cython('''cpdef test_funct(x,y): return''')
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_lucle0ai_pyx_0'
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2282, in
sage.misc.sageinspect.sage_getsourcelines
Failed example:
sage_getsourcelines(test_funct)
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 "<doctest sage.misc.sageinspect.sage_getsourcelines[7]>",
line 1, in <module>
sage_getsourcelines(test_funct)
NameError: name 'test_funct' is not defined
**********************************************************************
2 items had failures:
4 of 8 in sage.misc.sageinspect._sage_getsourcelines_name_with_dot
2 of 31 in sage.misc.sageinspect.sage_getsourcelines
[339 tests, 6 failures, 11.99 s]
----------------------------------------------------------------------
sage -t --long --warn-long 51.6 src/sage/misc/sageinspect.py # 6
doctests failed
----------------------------------------------------------------------
Total time for all tests: 12.3 seconds
cpu time: 3.0 seconds
cumulative wall time: 12.0 seconds
```

Dima Pasechnik

unread,
Dec 27, 2019, 9:19:21 AM12/27/19
to sage-release
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)
> --
> 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/CAEcArF3JcDpPw6neyUnwseb%3DSTtQ3-5xORp_tGv1RLPfpV-LfQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages