Sage 8.9.beta8 released

216 views
Skip to first unread message

Volker Braun

unread,
Aug 25, 2019, 6:37:50 PM8/25/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 

It is nearing the end of the 8.9 merge window, so if you want something merged then this is your last chance.

I'm inclined to name the next version 9.0. In particular, we now have Python 3 support that, while not perfect, is at least usable so we should mark that with a new major version. Also point-9 is a natural place to switch. If you want to voice your opinion on that issue: now is the time ;-)


4583b4056e (tag: 8.9.beta8, trac/develop) Updated SageMath version to 8.9.beta8
6565e63ee9 Trac #28373: new big bag of typos
0052843038 Trac #28297: Small optimizations to arithmetic in number fields of degree > 2
a9f414a6f8 Trac #28057: Adding precision in computing the generators of the period lattice of an elliptic curve.
40c5efa0c8 Trac #28365: Use something instead of time() to ensure Manifold uniqueness in tests
bd8504c9e8 Trac #28335: Cythonize Yen_k_shortest_simple_paths and feng_k_shortest_simple_paths
c1d5763dc3 Trac #28147: Remove _derivative from Polynomial_template
ef1517da96 Trac #28056: Sboxes Maintenance
05bd7671a2 Trac #26098: Implement L-functions using the PARI library
c050128f4a Trac #20755: Bug in solve due to a bug in symbolic_expression_from_maxima_string
2a4bfffc48 Trac #28353: var() with single-element list/tuple crashes with unhandled TypeError
0a45dfc784 Trac #28371: py3: errors with optional package CSDP
5ab84a6fb3 Trac #28369: Improve progress report in gitlab-ci
a8599952c3 Trac #28367: MR30: Update README.md: -py3 suffix
56f7684a57 Trac #28346: Use dots instead of precision in polynomial_element
8edd3f2797 Trac #28201: small cleanup of databases/cremona
1b7d07b6cc Trac #27573: PRESENT Block Cipher
5f22d242b6 Trac #28321: py3: rationals can not be initialized from a pair of big Python ints
b972100c84 Trac #24494: Deprecate set_planar_positions()
42eb5103aa Trac #28364: MR29: Update faq-usage.rst
047992b031 Trac #28361: Implement parameter external_face of layout_planar()
ae73a81a59 Trac #28343: Three.js: Support basic mesh plots
7e623eddb1 Trac #28116: Cython 0.29.12
7508513e65 Trac #28108: Py3: ValueError in graph_generators doctests with plantri optional package
a98c0ab16f Trac #28347: Add as_integer_ratio() for Integer, Rational, RealNumber, RealDoubleElement
431187f776 Trac #28344: Fix some issues with submanifolds and improve their documentation
7c0d719021 Trac #28342: spkg-configure.m4 for m4ri, m4rie, givaro
5d6ac68f68 Trac #28228: Semistandard super tableau and standard super tableau for superRSK
7d561d89cf (tag: 8.9.beta7) Updated SageMath version to 8.9.beta7

John H Palmieri

unread,
Aug 25, 2019, 10:05:33 PM8/25/19
to sage-release
New Python 3 error, I believe due to #27573:

$ ./sage -t src/sage/crypto/block_cipher/present.py
Running doctests with ID 2019-08-25-19-01-54-53160391.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --warn-long 61.3 src/sage/crypto/block_cipher/present.py
**********************************************************************
File "src/sage/crypto/block_cipher/present.py", line 42, in sage.crypto.block_cipher.present
Failed example:
    cipher.sbox = SBox(range(16))
Exception raised:
    Traceback (most recent call last):
      File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/PYTHON3/sage-8.9.beta8/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/PYTHON3/sage-8.9.beta8/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.crypto.block_cipher.present[9]>", line 1, in <module>
        cipher.sbox = SBox(range(Integer(16)))
      File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/PYTHON3/sage-8.9.beta8/local/lib/python3.7/site-packages/sage/crypto/sbox.py", line 157, in __init__
        raise TypeError("No lookup table provided.")
    TypeError: No lookup table provided.
**********************************************************************
File "src/sage/crypto/block_cipher/present.py", line 44, in sage.crypto.block_cipher.present
Failed example:
    cipher.encrypt(plaintext=0x1234, key=0x0).hex()
Expected:
    '1234'
Got:
    'cccccccccccc56b9'
**********************************************************************
1 item had failures:
   2 of  13 in sage.crypto.block_cipher.present
    [138 tests, 2 failures, 3.44 s]
----------------------------------------------------------------------
sage -t --warn-long 61.3 src/sage/crypto/block_cipher/present.py  # 2 doctests failed

Henri Girard

unread,
Aug 26, 2019, 2:18:35 AM8/26/19
to sage-r...@googlegroups.com

Ubuntu 19.10 (+1) beta, AMD 8x 64 bits 16 Go RAM

Compilation ok works fine (from beta 7 to 8)

--
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/b1182f0f-112b-4f14-b6b8-6eb94f02e1dc%40googlegroups.com.

John Cremona

unread,
Aug 26, 2019, 4:03:01 AM8/26/19
to sage-r...@googlegroups.com
#28372 is an easy one

Eric Gourgoulhon

unread,
Aug 26, 2019, 6:06:02 AM8/26/19
to sage-release
Le lundi 26 août 2019 00:37:50 UTC+2, Volker Braun a écrit :
I'm inclined to name the next version 9.0. In particular, we now have Python 3 support that, while not perfect, is at least usable so we should mark that with a new major version. Also point-9 is a natural place to switch. If you want to voice your opinion on that issue: now is the time ;-)

+1

Eric.

Vincent Delecroix

unread,
Aug 26, 2019, 6:16:48 AM8/26/19
to sage-r...@googlegroups.com
I am fine switching to 9.0 with the meaning that it is Python 3 usable
(though there are some annoying things like #28321 that gets merged
in the last beta). If we do so I think that this release then should
come with Python 3 binaries (Isuru Fernando made it possible on conda
and Julian Rüth set up docker images).

Eric Gourgoulhon

unread,
Aug 26, 2019, 8:45:41 AM8/26/19
to sage-release
On Ubuntu 18.04 running on bi-Xeon E5-2623 (8 cores) + 16 GB RAM:

- python2:

  - incremental build (from 8.9.beta4, with -j16) OK
  - all tests from ptestlong passed

- python3:

  - incremental build (from 8.9.beta4, with -j16) OK
  - tests from ptest-python3 passed, except for 1 permanent failure in
    src/sage/rings/polynomial/polynomial_rational_flint.pyx
    this is the error tracked at https://trac.sagemath.org/ticket/28334

Eric.

Emmanuel Charpentier

unread,
Aug 26, 2019, 10:14:13 AM8/26/19
to sage-release
On Debian testing running on core i7 + 16 GB RAM, ptest-python3 gets three permanent failuresn already reported for the previous versions:

----------------------------------------------------------------------
sage -t --long --warn-long 161.7 src/sage/graphs/strongly_regular_db.pyx  # 4 doctests failed
sage -t --long --warn-long 161.7 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 6 doctests failed
sage -t --long --warn-long 161.7 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------

Details on demand (seems identica (or very close)l to what's already been reported, but I didn't formally check...).

HTH,


Le lundi 26 août 2019 00:37:50 UTC+2, Volker Braun a écrit :

Frédéric Chapoton

unread,
Aug 26, 2019, 10:54:53 AM8/26/19
to sage-release
The second file should have been fixed by https://trac.sagemath.org/ticket/28312

but it was probably not tested..

E. Madison Bray

unread,
Aug 26, 2019, 11:05:30 AM8/26/19
to sage-r...@googlegroups.com
IMO we should go forward with 8.9 for now and make the next version 9.0. By then Python 3 support will be even more solid. 
--
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.

Volker Braun

unread,
Aug 26, 2019, 11:20:55 AM8/26/19
to sage-release
Yes, thats our versioning scheme: 8.9.beta8 -> 8.9rc0 -> ... -> 8.9 -> 9.0.beta0 -> ... -> 9.0

Samuel Lelièvre

unread,
Aug 26, 2019, 4:24:45 PM8/26/19
to sage-release
Mon 2019-08-25 22:37 UTC, Volker Braun:
>
> [sage-release] Sage 8.9.beta8 released

Thanks!

> It is nearing the end of the 8.9 merge window, so if you want
> something merged then this is your last chance.

Would love to see 28384, 28366, 28365 be merged
in the next beta or release candidate in the 8.9 cycle.

They take care of some of the last failing doctests for
an installation of SageMath on Cygwin on Windows 7
that I would like to use as the base install for a new
Cygwin patchbot.

> I'm inclined to name the next version 9.0. In particular, we now
> have Python 3 support that, while not perfect, is at least usable
> so we should mark that with a new major version. Also point-9
> is a natural place to switch. If you want to voice your opinion
> on that issue: now is the time ;-)

+1 from me.

> 4583b4056e (tag: 8.9.beta8, trac/develop) Updated SageMath version to 8.9.beta8
> 6565e63ee9 Trac #28373: new big bag of typos
> ...

Some of the tickets merged in 8.9.beta8, including 28373,
don't seem to have been closed on Trac yet.

Samuel

John H Palmieri

unread,
Aug 26, 2019, 6:29:21 PM8/26/19
to sage-release
On Sunday, August 25, 2019 at 3:37:50 PM UTC-7, 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 

It is nearing the end of the 8.9 merge window, so if you want something merged then this is your last chance.

I would like to see #28334 and #28403 merged (the second will have a positive review within a day or so, unless we hear objections). I would also like #27967 to be resolved and merged, but unfortunately I don't know the timetable. I would ask you to keep an eye on it, and if it has a positive review soon, please merge it. After those three tickets, assuming no regressions, all tests would pass with Python 3 on OS X, or at least on the OS X machines I have access to.
 

I'm inclined to name the next version 9.0. In particular, we now have Python 3 support that, while not perfect, is at least usable so we should mark that with a new major version. Also point-9 is a natural place to switch. If you want to voice your opinion on that issue: now is the time ;-)

+1

With 9.0.beta0, do we make building with Python 3 the default? All developers are using it by now, right? Right?

--
John

arojas

unread,
Aug 26, 2019, 7:01:23 PM8/26/19
to sage-release


El lunes, 26 de agosto de 2019, 0:37:50 (UTC+2), Volker Braun escribió:
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 

It is nearing the end of the 8.9 merge window, so if you want something merged then this is your last chance.



It would be good if 25727 could go in, otherwise some of the new supported integrals in beta4 will not work on non-english locales (still needs a decision on the scope of the fix) 

Jean-Philippe Labbé

unread,
Aug 27, 2019, 4:28:21 AM8/27/19
to sage-release
Guten Tag,


Le lundi 26 août 2019 00:37:50 UTC+2, Volker Braun a écrit :
I'm inclined to name the next version 9.0. In particular, we now have Python 3 support that, while not perfect, is at least usable so we should mark that with a new major version. Also point-9 is a natural place to switch. If you want to voice your opinion on that issue: now is the time ;-)
 
+1

Emmanuel Charpentier

unread,
Aug 27, 2019, 7:56:01 AM8/27/19
to sage-release
On a slightly smaller machine (Debian testing running on core i5 + 8 GB RAM), I get only the third one ; this has already been the case with the previous beta.

HTH,

Le lundi 26 août 2019 16:14:13 UTC+2, Emmanuel Charpentier a écrit :

Eric Gourgoulhon

unread,
Aug 29, 2019, 11:46:06 AM8/29/19
to sage-release
Hi Volker,

Le lundi 26 août 2019 00:37:50 UTC+2, Volker Braun a écrit :
 
40c5efa0c8 Trac #28365: Use something instead of time() to ensure Manifold uniqueness in tests


Although it appears in the list of 8.9.beta8 merged tickets,  #28365 has not been closed. 

Eric.

Volker Braun

unread,
Aug 29, 2019, 4:02:38 PM8/29/19
to sage-release
Thanks, fixed!

Samuel Lelièvre

unread,
Aug 29, 2019, 4:25:15 PM8/29/19
to sage-release
Mon 2019-08-26 20:24 UTC, Samuel Lelièvre:
>
> Sun 2019-08-25 22:37 UTC, Volker Braun:
> >
> > [sage-release] Sage 8.9.beta8 released
> >
> > It is nearing the end of the 8.9 merge window, so if you want
> > something merged then this is your last chance.
>
> Would love to see 28384, 28366, 28365 be merged
> in the next beta or release candidate in the 8.9 cycle.
>
> They take care of some of the last failing doctests for
> an installation of SageMath on Cygwin on Windows 7
> that I would like to use as the base install for a new
> Cygwin patchbot.

Please also consider including 27587 which would let tests
run on a *py3-based* Sage-on-Cygwin-on-Windows-7
that I would like to use as the base install for another
new (py3) Cygwin patchbot I want to set up.

Justin C. Walker

unread,
Aug 30, 2019, 4:36:37 PM8/30/19
to 'Justin C. Walker' via sage-release


> On Aug 25, 2019, at 15:37 , 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

Deja vu all over again :-} As with 8.9-b6 and -b7, the build, from a fresh clone of the develop branch, worked w/o problems, on three macOS systems: 10.11.6 (mid-2015 MBP, Quad-core i7), 10.13.6 (2017 iMac Pro, 18-core Xeon W), and 10.14.6 (2017 MBP, Quad-core Core i7).

Testing (‘ptestlong’):
- all tests passed on 10.11.6 and 10.14.6
- test failures in one file on 10.13.6:
1 item had failures:
1 of 12 in sage.libs.singular.polynomial.singular_polynomial_call
[55 tests, 1 failure, 406.69 s]
----------------------------------------------------------------------
sage -t --long --warn-long 70.3 src/sage/libs/singular/polynomial.pyx # 1 doctest failed
———————————————————————————————————

For 8.9-b6, the test failed twice when run by itself.
For 8.9-b7, the test passed twice when run by itself.
This time, 8.9-b8, the test failed twice when run by itself.

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


Simon King

unread,
Sep 2, 2019, 12:03:38 PM9/2/19
to sage-r...@googlegroups.com
Hi!

On 2019-08-25, Volker Braun <vbrau...@gmail.com> wrote:
> I'm inclined to name the next version 9.0. In particular, we now have
> Python 3 support that, while not perfect, is at least usable so we should
> mark that with a new major version. Also point-9 is a natural place to
> switch. If you want to voice your opinion on that issue: now is the time ;-)

Since I found an example of a pickle that cannot be unpickled in
Python-3 (and as far as I can see it is independent of optional
packages), I opened #28444. I believe losing data in the transition from
python-2 to python-3 is a blocker.

It seems to me that the error occurs in Python's pickle module, but I am
not sure. In any case, I'd appreciate help on #28444 by Python-3
experts.

Best regards,
Simon

Henri Girard

unread,
Sep 3, 2019, 1:53:13 AM9/3/19
to sage-r...@googlegroups.com

Ubuntu 19.10 (+1) beta, AMD 8x 64 bits 16 Go RAM

François Bissey

unread,
Sep 3, 2019, 3:51:40 AM9/3/19
to sage-r...@googlegroups.com
https://trac.sagemath.org/ticket/28271 broke the building of the pdf doc.
See https://github.com/cschwan/sage-on-gentoo/issues/549
I’ll have a follow up at some point in the next 24hours. The ticket introduced
a unicode “minus” sign at
https://github.com/sagemath/sage/blob/develop/src/sage/graphs/traversals.pyx#L1284
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/95a32695-c787-9ee5-c19b-3baa1d0d9f9d%40gmail.com.

Sébastien Labbé

unread,
Sep 3, 2019, 3:58:04 AM9/3/19
to sage-release
On Sage 8.9.beta8, running optional and external tests

Using --optional=awali,cbc,cryptominisat,dot2tex,e_antic,external,glucose,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,python2,rst2ipynb,sage

I get:

----------------------------------------------------------------------
sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long src/sage/combinat/designs/ext_rep.py  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # Timed out
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc

Rerunning failed tests, I get:

----------------------------------------------------------------------
sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # Timed out
----------------------------------------------------------------------
External software detected for doctesting: internet

Failures are copied below. findstat.py has lots of failures before the timed out test happening at line 2867


sage -t --long src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 90, in sage.databases.oeis
Failed example:
    p.cross_references(fetch=True)                # optional -- internet
Expected:
    0: A000798: Number of different quasi-orders (or topologies, or transitive digraphs) with n labeled elements.
    1: A001035: Number of partially ordered sets ("posets") with n labeled elements (or labeled acyclic transitive digraphs).
    2: A001930: Number of topologies, or transitive digraphs with n unlabeled nodes.
    3: A006057: Number of topologies on n labeled points satisfying axioms T_0-T_4.
    4: A079263: Number of constrained mixed models with n factors.
    5: A079265: Number of antisymmetric transitive binary relations on n unlabeled points.
    6: A263859: Triangle read by rows: T(n,k) (n>=1, k>=0) is the number of posets with n elements and rank k (or depth k+1).
Got:
     0: A000798: Number of different quasi-orders (or topologies, or transitive digraphs) with n labeled elements.
     1: A001035: Number of partially ordered sets ("posets") with n labeled elements (or labeled acyclic transitive digraphs).
     2: A001930: Number of topologies, or transitive digraphs with n unlabeled nodes.
     3: A006057: Number of topologies on n labeled points satisfying axioms T_0-T_4.
     4: A079263: Number of constrained mixed models with n factors.
     5: A079265: Number of antisymmetric transitive binary relations on n unlabeled points.
     6: A263859: Triangle read by rows: T(n,k) (n>=1, k>=0) is the number of posets with n elements and rank k (or depth k+1).
     7: A316978: Number of factorizations of n into factors > 1 with no equivalent primes.
     8: A319559: Number of non-isomorphic T_0 set systems of weight n.
     9: A326939: Number of T_0 sets of subsets of {1..n} that cover all n vertices.
    10: A326943: Number of T_0 sets of subsets of {1..n} that cover all n vertices and are closed under intersection.
    11: A326944: Number of T_0 sets of subsets of {1..n} that cover all n vertices, contain {}, and are closed under intersection.
    12: A326947: BII-numbers of T_0 set-systems.
**********************************************************************
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
    [266 tests, 1 failure, 60.52 s]




sage -t --long src/sage/combinat/designs/ext_rep.py
**********************************************************************
File "src/sage/combinat/designs/ext_rep.py", line 556, in sage.combinat.designs.ext_rep.open_extrep_url
Failed example:
    s = ext_rep.designs_from_XML_url("http://designtheory.org/database/v-b-k/v3-b6-k2.icgsa.txt.bz2") # optional - internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.combinat.designs.ext_rep.open_extrep_url[7]>", line 1, in <module>
        s = ext_rep.designs_from_XML_url("http://designtheory.org/database/v-b-k/v3-b6-k2.icgsa.txt.bz2") # optional - internet
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/combinat/designs/ext_rep.py", line 1062, in designs_from_XML_url
        s = open_extrep_url(url)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/combinat/designs/ext_rep.py", line 559, in open_extrep_url
        f = urlopen(url)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 154, in urlopen
        return opener.open(url, data, timeout)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 429, in open
        response = self._open(req, data)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 447, in _open
        '_open', req)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 1228, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 1201, in do_open
        r = h.getresponse(buffering=True)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 1121, in getresponse
        response.begin()
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 438, in begin
        version, status, reason = self._read_status()
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 394, in _read_status
        line = self.fp.readline(_MAXLINE + 1)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/socket.py", line 482, in readline
        data = self._sock.recv(self._rbufsize)
    error: [Errno 104] Connection reset by peer
**********************************************************************
1 item had failures:
   1 of   9 in sage.combinat.designs.ext_rep.open_extrep_url
    0 tests not run because we ran out of time
    [102 tests, 1 failure, 4.51 s]

sage -t --long src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 107, in sage.databases.findstat
Failed example:
    r = findstat(Permutations, lambda pi: pi.saliances()[0]); r           # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat[7]>", line 1, in <module>
        r = findstat(Permutations, lambda pi: pi.saliances()[Integer(0)]); r           # optional -- internet
      File "sage/misc/lazy_import.pyx", line 354, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3697)
        return self.get_object()(*args, **kwds)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 659, in __call__
        depth=depth)._find_by_values(max_values=max_values)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 1076, in _find_by_values
        response = urlopen(request)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 154, in urlopen
        return opener.open(url, data, timeout)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 435, in open
        response = meth(req, response)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 548, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 473, in error
        return self._call_chain(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 556, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 502: Proxy Error
**********************************************************************
File "src/sage/databases/findstat.py", line 110, in sage.databases.findstat
Failed example:
    (s, list_f, quality) = next((a,b,c) for a,b,c in r if a.id() == 51)   # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat[8]>", line 1, in <module>
        (s, list_f, quality) = next((a,b,c) for a,b,c in r if a.id() == Integer(51))   # optional -- internet
    StopIteration
**********************************************************************
File "src/sage/databases/findstat.py", line 123, in sage.databases.findstat
Failed example:
    print(s.description())                                                # optional -- internet
Expected:
    The size of the left subtree of a binary tree.
Got:
    The number of nestings of a perfect matching.
   
   
    This is the number of pairs of edges $((a,b), (c,d))$ such that $a\le c\le d\le b$. i.e., the edge $(c,d)$ is nested inside $(a,b)$.
**********************************************************************
File "src/sage/databases/findstat.py", line 126, in sage.databases.findstat
Failed example:
    print(s.code())                                                       # optional -- internet
Expected:
    def statistic(T):
        return T[0].node_number()
Got:
    def statistic(x):
        return len(x.nestings())
**********************************************************************
File "src/sage/databases/findstat.py", line 130, in sage.databases.findstat
Failed example:
    print(list_f[0].code() + "\r\n" + list_f[1].code())                   # optional -- internet, random

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat[12]>", line 1, in <module>
        print(list_f[Integer(0)].code() + "\r\n" + list_f[Integer(1)].code())                   # optional -- internet, random
    IndexError: list index out of range
**********************************************************************
File "src/sage/databases/findstat.py", line 805, in sage.databases.findstat.FindStatStatistic.__init__
Failed example:
    FindStatStatistic(1)._find_by_id()                            # optional -- internet
Expected:
    St000001: The number of ways to write a permutation as a minimal length product of simple transpositions.
Got:
    St000001: The number of reduced words for a permutation.
**********************************************************************
File "src/sage/databases/findstat.py", line 903, in sage.databases.findstat.FindStatStatistic.__eq__
Failed example:
    r1 = findstat(Permutations(5), lambda pi: pi.saliances()[0], depth=0)  # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatStatistic.__eq__[1]>", line 1, in <module>
        r1 = findstat(Permutations(Integer(5)), lambda pi: pi.saliances()[Integer(0)], depth=Integer(0))  # optional -- internet
      File "sage/misc/lazy_import.pyx", line 354, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3697)
        return self.get_object()(*args, **kwds)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 659, in __call__
        depth=depth)._find_by_values(max_values=max_values)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 1082, in _find_by_values
        raise IOError("FindStat did not answer with a json response: %s" %e)
    IOError: FindStat did not answer with a json response: No JSON object could be decoded
**********************************************************************
File "src/sage/databases/findstat.py", line 904, in sage.databases.findstat.FindStatStatistic.__eq__
Failed example:
    r2 = findstat(Permutations(6), lambda pi: pi.saliances()[0], depth=0)  # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatStatistic.__eq__[2]>", line 1, in <module>
        r2 = findstat(Permutations(Integer(6)), lambda pi: pi.saliances()[Integer(0)], depth=Integer(0))  # optional -- internet
      File "sage/misc/lazy_import.pyx", line 354, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3697)
        return self.get_object()(*args, **kwds)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 659, in __call__
        depth=depth)._find_by_values(max_values=max_values)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 1082, in _find_by_values
        raise IOError("FindStat did not answer with a json response: %s" %e)
    IOError: FindStat did not answer with a json response: No JSON object could be decoded
**********************************************************************
File "src/sage/databases/findstat.py", line 905, in sage.databases.findstat.FindStatStatistic.__eq__
Failed example:
    r1 == r2                                                      # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatStatistic.__eq__[3]>", line 1, in <module>
        r1 == r2                                                      # optional -- internet
    NameError: name 'r1' is not defined
**********************************************************************
File "src/sage/databases/findstat.py", line 1286, in sage.databases.findstat.FindStatStatistic.first_terms
Failed example:
    r = findstat({d: randint(1,1000) for d in DyckWords(4)}); r   # optional -- internet

Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatStatistic.first_terms[1]>", line 1, in <module>
        r = findstat({d: randint(Integer(1),Integer(1000)) for d in DyckWords(Integer(4))}); r   # optional -- internet
      File "sage/misc/lazy_import.pyx", line 354, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3697)
        return self.get_object()(*args, **kwds)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 632, in __call__
        return query_by_dict(query_1)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 550, in query_by_dict
        depth=depth)._find_by_values(max_values=max_values)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/databases/findstat.py", line 1082, in _find_by_values
        raise IOError("FindStat did not answer with a json response: %s" %e)
    IOError: FindStat did not answer with a json response: No JSON object could be decoded

[...]

**********************************************************************
Tests run before process (pid=21523) timed out:
sage: findstat ## line 21 ##
The Combinatorial Statistic Finder (http://www.findstat.org/)
sage: PM = PerfectMatchings ## line 39 ##

[...]

sage: m = findstat("Permutations", lambda pi: pi.length())[1][1][0] # optional -- internet ## line 2851 ##
sage: m.name()                                                      # optional -- internet ## line 2852 ##
sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ## line 2854 ##
0
sage: m = findstat("Permutations", lambda pi: pi.length())[1][1][0] # optional -- internet ## line 2867 ##

Henri Girard

unread,
Nov 9, 2019, 5:03:05 AM11/9/19
to sage-r...@googlegroups.com
I am using Focal Fossa ubuntu next 20.04 (very early). They have
sage-8.9 for them 8.9-1 in the repo.

I compile Sage 9.0.beta4 using python3.7.3 with an AMD 8core 32 RAM ssd
240 Go(it is quiet fast), make -j9, no problem.

In fact there is no much difference between 19.10 eoan and 20.04

Cheers

Henri

Reply all
Reply to author
Forward
0 new messages