Hello, this release induces many new doctests failures (more than 50) in the graph module with Python3, all related to round. For instance:
┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 8.8.beta4, Release Date: 2019-05-04 │ │ Using Python 3.7.3. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ sage: g = graphs.PetersenGraph() sage: g.vertex_connectivity() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-8e3aa0688fc2> in <module>() ----> 1 g.vertex_connectivity() /Users/dcoudert/sage3/sage/local/lib/python3.7/site-packages/sage/graphs/connectivity.pyx in sage.graphs.connectivity.vertex_connectivity (build/cythonized/sage/graphs/connectivity.c:17319)() 1451 1452 if value_only: -> 1453 return Integer(round(p.solve(objective_only=True, log=verbose))) 1454 1455 val = Integer(round(p.solve(log=verbose))) TypeError: type sage.rings.real_double.RealDoubleElement doesn't define __round__ method What’s the new proper way to round ? Thanks, David. > Le 4 mai 2019 à 16:58, Volker Braun <[email protected]> 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 > > d765ee2917 (tag: 8.8.beta4, trac/develop) Updated SageMath version to > 8.8.beta4 > c2becac662 Trac #27725: pyflakes cleanup in matroids > 576f0129a7 Trac #27723: pyflakes cleanup in schemes > 4d8a9c1ea1 Trac #27670: package install can print confusing error messages > 90333e02a6 Trac #25630: x^y is not good notation for x*y in an exterior > algebra > e1d752014a Trac #27726: some cleanup in quadratic forms > 848371c847 Trac #27719: Preparser for file.sage: treat "from __future__ > import ..." properly > d3470b29ab Trac #27710: py3 Fixing combinat/tutorial.py > 98d974e06b Trac #27693: py3: fix src/sage/misc/classcall_metaclass.pyx > 82ad988310 Trac #27138: pep8 in digraph_generators.py (part 5) > 1c481bfa6a Trac #20181: number_field_elements_from_algebraics should create > embedded number field elements > 7f99a17e58 Trac #27730: replace EXEMPLES by EXAMPLES > b13a874085 Trac #27729: new recolt of typos > 5d824f4304 Trac #27727: py3: fix repr and iter for submultisets > 947b6080db Trac #27722: Remove old deprecation warning of Minkowski -> > minkowski > a8ddb6e19f Trac #27716: Refactor backend_normaliz > 37d49c1e4a Trac #27715: Jupyter notebook can crash during startup if default > port cannot be used > 1e8485e89f Trac #27709: The attribute `_vector` of H and V representation is > exposed > efa7ae2410 Trac #27682: upgrade normaliz to 3.7.1, pynormaliz to 2.1 and > package e-antic > 3b3e60dc66 Trac #27663: refresh our citation sentence > 867c86c849 Trac #27662: Upgrade to primecount 4.7 > c6fcbe33bf Trac #26681: extend pushout constructions of growth groups > e4886bc5e2 Trac #26340: polytopes.snub_cube should allow exact coordinates > 38904fffc7 Trac #26049: Implement the rank 2 Heisenberg-Virasoro (Lie) algebra > 5dd94d1ceb Trac #27713: Patch pynac to build properly with Cygwin's system GMP > aa4a5e29ff Trac #27558: Global function fields: last fixes and additions > 5c27827a98 Trac #27137: pep8 in digraph_generators.py (part 4) > 1ed2f76be5 Trac #18855: breadth_first_search return edges > e6a8409cd3 Trac #27698: py3: fix one doctest in doc/en > a1cd5c83a9 Trac #27697: Make pplpy doc location configurable > 756aa054ad Trac #27695: Produce consistent graph6 and dig6 strings in python3 > 1d0020f606 Trac #27694: Make L.<x> syntax work for LazyLaurentSeriesRing > 1b08f0b49c Trac #27691: py3: care for two files in misc > 219949ce78 Trac #27690: unicode art for knots > 4791f731d2 Trac #27684: Upgrade dot2tex to 2.11.3 > 7d4bdb9db2 Trac #27679: py3: finite state machines > 9ef37ae179 Trac #27635: Allow tests that are specific to Sage's build system > to be skipped > 07510b807c Trac #27633: Redesign of the constructor for Hyperelliptic curves > a5a41f3667 Trac #27628: py3: fix doctest with igraph > 3e5acef10a Trac #27570: Minimal weight cycle basis Implementation > a7cfa19736 Trac #27549: Clean up some more code blocks in Sage's documentation > e535d0c5fe Trac #27450: some refactoring in plot3d > 63701e40c9 Trac #26682: asymptotic expansion generators singularity analysis: > group elements for the singularity zeta > 4688d2ec01 Trac #26587: correctly handle exponential growth in asymptotic ring > bfdeeda815 Trac #22154: allow custom log function for asymptotic rings > 61bb2510f2 Trac #14708: Graph constructor forgets vertex labels > 48bb53a959 Trac #27702: psutil cygwin patch broken on Cygwin 3 > 7ee8a9257c Trac #27688: matrix_from_columns() assertion failure > 5ba5a5a40c (tag: 8.8.beta3) Updated SageMath version to 8.8.beta3 > > > -- > 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 [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/sage-release > <https://groups.google.com/group/sage-release>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
