Sage 9.5.beta3 released

120 views
Skip to first unread message

Volker Braun

unread,
Oct 11, 2021, 6:43:07 PM10/11/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 

c896669b1f (tag: 9.5.beta3, trac/develop) Updated SageMath version to 9.5.beta3
32c0d4075f Trac #32572: more changes from <type to <class
f888ee999e Trac #32571: more pycodestyle checks
166661a0c4 Trac #32569: refresh sage.graphs.generators.classical_geometries
29870a4a65 Trac #32567: Fix test failures with arb 2.21
6453bd720e Trac #32566: sage.rings.abc
d56931940d Trac #32562: More use of _circle_embedding in sage.graphs.generators.smallgraphs
850f74ab81 Trac #32561: Speed up random bounded tolerance graph
2188ae9504 Trac #32559: Use itertools.combinations instead of Combinations in HyperStarGraph generator
210327f093 Trac #32556: refresh typing in Tamari interval posets
bb28d175b3 Trac #32551: fix more useless lambda wrapping
75198b904e Trac #32550: fixing pylint W0108 in rings, combinat, categories
4c6f697a17 Trac #32541: Adjust package names for void linux (void.txt)
7c8dd9c16f Trac #32539: Another fix in the usage of MixedIntegerLinearProgram in sage.graphs.generic_graph - part 2
c668171e74 Trac #32538: Another fix in the usage of MixedIntegerLinearProgram in sage.graphs.generic_graph - part 1
7fc6b999e3 Trac #32537: Another fix in the usage of MixedIntegerLinearProgram in sage.graphs.graph
db1a5a2000 Trac #32536: Another fix in the usage of MixedIntegerLinearProgram in sage.graphs.graph_coloring
3207c8f729 Trac #32535: Another fix in the usage of MixedIntegerLinearProgram in sage.graphs.digraph
3ca619a3df Trac #32534: sage.geometry: Remove .all imports
0acb188641 Trac #32466: remove some trailing whitespace in combinat
a1db6b9322 Trac #29400: Cotangent producing incorrect real/imaginary parts.
0a690d3b3f Trac #32525: Regression: wrong infinity returned by limit with fricas
ed6395715d Trac #32519: Upgrade cvxopt to 1.2.7 for python 3.10
391d4cd4b0 Trac #32489: Move load_ipython_extension from sage.__init__ to sage.repl.__init__
d3492299b8 Trac #32416: Remove unnecessary uses of SR and symbolic functions in sage.geometry (except .hyperbolic_space)
d1569c6f29 Trac #32345: Special Functions for Lazy Series
e6b216508b Trac #32336: Implement to_polynomial and from_polynomial for quasimodular forms
a8a7353b89 Trac #32234: Remove code for fast_float(old=True)
bbe3baf453 Trac #31553: Maxima SPKG: eliminate undoing_true_false_printing_patch.patch
c2bcee021b Trac #31378: Create a new module for morphic words
5da520be8a Trac #30998: Compute the treelength of graphs
36bdb3228b Trac #30948: build/pkgs: Split out spkg liblzma from xz
eb7699a214 Trac #30887: Add spkg-configure.m4 for 4ti2, remove direct use of SAGE_LOCAL
f96cbf7ee4 Trac #30778: sage.doctest.control: Exclude doctests in files via file directives ''# sage.doctest: optional - xyz'
38556c2267 Trac #30602: Partitions_n.__iter__ creates partitions with int (instead of Integer) parts
0580800079 Trac #29581: New Algorithm for Characteristic Classes
5cf2b39172 Trac #13521: Make vertex labels more flexible
244698dddb Trac #32626: ipykernel: Missing dependency argcomplete for Python 3.7; remove obsolete scandir package
897d28e5da Trac #32565: sage.features.Executable: Remove global imports from distutils
221b639b07 Trac #32486: KeyError followed by AttributeError while calling .closest_vector()
2c8d5e36ed Trac #32438: Restore the "backward" option for graph dot2tex
5ae1174d70 Trac #32435: composition of Dirichlet series with a degree one polynomial
e8e66b45fe Trac #32420: Prepare for sympy 1.9
658012052f Trac #32374: Remove pip package "pyopenssl"
9693ce2037 Trac #32373: sage_setup.library_order: Skip libraries that were not detected
9d8d7b2cec Trac #32332: using argparse in sage-runtests script
e37ce50f6c Trac #32309: Lazy Dirichlet Series
987700ff73 Trac #32281: {ubuntu-trusty,linuxmint-17}-gcc_spkg: numpy, ntl, nauty, ... fail to build
c0bbe07b26 Trac #32230: configure --disable-r should disable pcre
3ddc31d7f9 Trac #32090: Upgrade to Sirocco 2.1.0 and improve fundamental group of curves
650fe3205c Trac #31951: Fix `..` ellipsis interference with REPL multiline input
75b9979ed5 Trac #22003: The number of faces of the complete graph on a single vertex should be 1
a31570a612 Trac #4545: better fix for mixing @parallel with numerical constant preparsing
7a301b8c3a Trac #32608: Add memory_allocator to sagemath-standard's Python dependencies
870b9a18c6 Trac #32580: {ubuntu-trusty, debian-jessie, linuxmint-17, fedora-{26,27,28}}-standard: system openssl too old for python3
769b6290c7 Trac #32520: Fix doctests to accept exception messages reworded in python 3.10
c240488965 Trac #29956: Bug in KlyachkoBundle_class.random_deformation
d01d808fbb Trac #31400: Serious errors in heights of projective points over number fields
2cf9745875 Trac #31161: build/pkgs/qhull: Update, add spkg-configure.m4
7314581426 Trac #30997: Improve the method mirror_image of class Link
a76926dba4 Trac #30483: Deprecate Combinations iterator for itertools/combinations or IntegerListsLex
626d955147 Trac #30350: Remove ATLAS
fcbd438754 Trac #32558: Fix building python using system python with new setuptools installed
a4204901a8 Trac #32557: Fix local-conda-forge tox builds
0579ece7ac Trac #32547: llvm-toolchain is not a Debian package
686e5c2f9a Trac #32515: linuxmint-17, ubuntu-trusty: scipy build error with pybind11
52915b6662 (tag: 9.5.beta2) Updated SageMath version to 9.5.beta2


Thierry Dumont

unread,
Oct 12, 2021, 11:35:03 AM10/12/21
to sage-r...@googlegroups.com

Strange!

Upgrading to 9.5 beta2 from beta2 on Ubuntu 2104:

* compilation: no ptoblem.

* make ptestlong finishes with:
----------------------------------------------------------------------
Total time for all tests: 1946.9 seconds
cpu time: 4874.2 seconds
cumulative wall time: 7137.1 seconds
Traceback (most recent call last):
File "/usr/local/sages/dev/sage/src/bin/sage-runtests", line 159, in
<module>
exit_code_pytest = pytest.main(pytest_options + args)
TypeError: can only concatenate list (not "Namespace") to list

t.d.

Volker Braun

unread,
Oct 13, 2021, 3:27:16 PM10/13/21
to sage-release
pytest is an optional dependency that is being picked um on your system, it seems

Eric Gourgoulhon

unread,
Oct 13, 2021, 3:35:44 PM10/13/21
to sage-release
On Ubuntu 20.04 running on Xeon E5-2623 + 16 GB RAM:
- incremental build (-j16) from 9.5.beta2, with system python (3.8.10): OK
- make ptestlong --> "All tests passed!"

Eric.

Emmanuel Charpentier

unread,
Oct 13, 2021, 5:01:22 PM10/13/21
to sage-release

On Debian testing running on core i7 + 16 GB RAM :

  • Upgrading 9.5.beta 2 + a not-so-small baggage of packages : looong list of failures (including crashes (!)).
  • Rebuilding with one optional pakage (fricas) : All tests passed !
  • Adding a smaller list of packages : All tests passed !

Planning to re-grow the list of package to isolate the dubious ones…

HTH,

Kenji Iohara

unread,
Oct 13, 2021, 5:30:26 PM10/13/21
to sage-r...@googlegroups.com
On Mac OS 11.6, the first compilation worked.     K.

2021年10月13日(水) 23:01 Emmanuel Charpentier <emanuel.c...@gmail.com>:
--
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/0ce0ed7a-fff1-4ed6-9f4c-e7a8461fbbe4n%40googlegroups.com.

fchap...@gmail.com

unread,
Oct 14, 2021, 3:59:11 AM10/14/21
to sage-release
This may be due to ticket https://trac.sagemath.org/ticket/32332 using argparse for sage -t 

Somebody should wrap "args" with list, maybe.

Sébastien Labbé

unread,
Oct 14, 2021, 2:06:44 PM10/14/21
to sage-release
On Ubuntu 18.03 with few optional and external packages installed, I get

Using --optional=4ti2,argcomplete,build,ccache,cryptominisat,debian,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,normaliz,notedown,pandoc_attributes,pip,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin,sage_spkg


----------------------------------------------------------------------
sage -t --long --random-seed=0 src/sage/calculus/calculus.py  # 1 doctest failed
sage -t --long --random-seed=0 src/sage/combinat/designs/incidence_structures.py  # 1 doctest failed
sage -t --long --random-seed=0 src/sage/databases/findstat.py  # 9 doctests failed
sage -t --long --random-seed=0 src/sage/databases/oeis.py  # 5 doctests failed
sage -t --long --random-seed=0 src/sage/finance/stock.py  # 1 doctest failed
sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py  # 2 doctests failed
sage -t --long --random-seed=0 src/sage/graphs/graph.py  # 3 doctests failed
sage -t --long --random-seed=0 src/sage/tests/cmdline.py  # 2 doctests failed
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,graphviz,imagemagick,internet,latex,octave,pandoc

Rerunning failed tests, I get the same list. All failures are copied below.

The failures in graph.py and generic_graph.py are instances of https://trac.sagemath.org/ticket/30635

One of the two failures in cmdline.py is known (https://trac.sagemath.org/ticket/31475), the other failure is new to me (related to pandoc).

Other failures (findstat.py, oeis.py) are related to the unstability of stuff on the internet.

The failure with calculus.py is new to me.

sage -t --long --random-seed=0 src/sage/finance/stock.py
**********************************************************************
File "src/sage/finance/stock.py", line 553, in sage.finance.stock.Stock.load_from_file
Failed example:
    finance.Stock('aapl').load_from_file(filename)[:5]
Expected:
    doctest:warning...
    DeprecationWarning: Importing finance from here is deprecated...
    [
    1212408060 188.00 188.00 188.00 188.00        687,
    1212408000 188.00 188.11 188.00 188.00       2877,
    1212407700 188.00 188.00 188.00 188.00       1000,
    1212407640 187.75 188.00 187.75 188.00       2000,
    1212405780 187.80 187.80 187.80 187.80        100
    ]
Got:
    [
    1212408060 188.00 188.00 188.00 188.00        687,
    1212408000 188.00 188.11 188.00 188.00       2877,
    1212407700 188.00 188.00 188.00 188.00       1000,
    1212407640 187.75 188.00 187.75 188.00       2000,
    1212405780 187.80 187.80 187.80 187.80        100
    ]
**********************************************************************
1 item had failures:
   1 of   5 in sage.finance.stock.Stock.load_from_file
    22 tests not run due to known bugs
    0 tests not run because we ran out of time
    [26 tests, 1 failure, 0.02 s]






sage -t --long --random-seed=0 src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 49, in sage.databases.findstat
Failed example:
    r = findstat([(m, m.number_of_nestings()) for n in range(6) for m in PM(2*n)]); r # optional -- internet
Expected:
    0: St000042oMp00116 (quality [100, 100])
    1: St000041 (quality [20, 100])
    ...
Got:
     0: St000042oMp00116 (quality [100, 100])
     1: St000042oMp00113oMp00116 (quality [100, 100])
     2: St000042oMp00116oMp00113 (quality [100, 100])
     3: St000042oMp00144oMp00116 (quality [100, 100])
     4: St000042oMp00145oMp00116 (quality [100, 100])
     5: St000041 (quality [20, 100])
     6: St000041oMp00113 (quality [20, 100])
     7: St000233oMp00092 (quality [16, 100])
     8: St000496oMp00092 (quality [16, 100])
     9: St000233oMp00112oMp00092 (quality [16, 100])
    10: St000496oMp00112oMp00092 (quality [16, 100])
    11: St000123oMp00087oMp00058 (quality [13, 70])
    12: St000232oMp00115oMp00092 (quality [13, 70])
    13: St000359oMp00087oMp00058 (quality [13, 70])
**********************************************************************
File "src/sage/databases/findstat.py", line 82, in sage.databases.findstat
Failed example:
    print(r[1].statistic().description())                                 # optional -- internet
Expected:
    The number of nestings of a perfect matching.
    <BLANKLINE>
    <BLANKLINE>
    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)$...
Got:
    The number of crossings of a perfect matching.
    
    This is the number of pairs of edges $((a,b),(c,d))$ such that $a\le c\le b\le d$, i.e., the edges $(a,b)$ and $(c,d)$ cross when drawing the perfect matching as a chord diagram.
    
    The generating function for perfect matchings $M$ of $\{1,\dots,2n\}$ according to the number of crossings $\textrm{cr}(M)$ is given by the Touchard-Riordan formula ([2], [4], a bijective proof is given in [7]):
    $$
    \sum_{M} q^{\textrm{cr}(M)}
    = \frac{1}{(1-q)^n} \sum_{k=0}^n\left(\binom{2n}{n-k}-\binom{2n}{n-k-1}\right)(-1)^k q^{\binom{k+1}{2}}
    $$
    <BLANKLINE>
**********************************************************************
File "src/sage/databases/findstat.py", line 90, in sage.databases.findstat
Failed example:
    r[1].statistic().references()                                         # optional -- internet
Expected:
    0: [1]  de Médicis, A., Viennot, X. G., Moments des $q$-polynômes de Laguerre et la bijection de Foata-Zeilberger [[MathSciNet:1288802]]
    1: [2]  Simion, R., Stanton, D., Octabasic Laguerre polynomials and permutation statistics [[MathSciNet:1418763]]...
Got:
    0: [1]  de Médicis, A., Viennot, X. G., Moments des $q$-polynômes de Laguerre et la bijection de Foata-Zeilberger [[MathSciNet:1288802]]
    1: [2]  Riordan, J., The distribution of crossings of chords joining pairs of $2n$ points on a circle [[MathSciNet:0366686]]
    2: [3]  Simion, R., Stanton, D., Octabasic Laguerre polynomials and permutation statistics [[MathSciNet:1418763]]
    3: [4]  Touchard, J., Sur un problème de configurations et sur les fractions continues [[MathSciNet:0046325]]
    4: [5]  Josuat-Vergès, M., Rubey, M., Crossings, Motzkin paths and moments [[MathSciNet:2819649]]
    5: [6]  Triangle read by rows: T(n,k) gives number of ways of arranging n chords on a circle with k simple intersections (i.e. no intersections with 3 or more chords) - positive values only. [[OEIS:A067311]]
    6: [7]  Penaud, J.-G., Une preuve bijective d'une formule de Touchard-Riordan [[MathSciNet:1336847]]
**********************************************************************
File "src/sage/databases/findstat.py", line 118, in sage.databases.findstat
Failed example:
    r = findstat(Permutations, lambda pi: pi.saliances()[0], depth=2); r  # optional -- internet
Expected:
    0: St000740oMp00066 with offset 1 (quality [100, 100])
    ...
    7: St000051oMp00061oMp00069 (quality [87, 86])
    ...
Got:
     0: St000740oMp00087 with offset 1 (quality [100, 100])
     1: St000740oMp00066 with offset 1 (quality [100, 100])
     2: St000476oMp00099oMp00127 (quality [100, 100])
     3: St000740oMp00236oMp00066 with offset 1 (quality [100, 100])
     4: St000740oMp00238oMp00066 with offset 1 (quality [100, 100])
     5: St000740oMp00089oMp00149 with offset 1 (quality [100, 100])
     6: St000740oMp00238oMp00087 with offset 1 (quality [100, 100])
     7: St000740oMp00236oMp00087 with offset 1 (quality [100, 100])
     8: St000740oMp00067oMp00062 with offset 1 (quality [99, 100])
     9: St000147oMp00027oMp00127 (quality [96, 100])
    10: St000740oMp00175oMp00062 with offset 1 (quality [91, 100])
    11: St000054oMp00066oMp00149 with offset 1 (quality [89, 100])
    12: St000054oMp00064oMp00062 with offset 1 (quality [88, 100])
    13: St000740oMp00175oMp00087 with offset 1 (quality [88, 100])
    14: St000740oMp00067oMp00087 with offset 1 (quality [88, 100])
    15: St000740oMp00175oMp00066 with offset 1 (quality [88, 100])
    16: St000740oMp00067oMp00066 with offset 1 (quality [88, 100])
    17: St000740oMp00062 with offset 1 (quality [87, 100])
    18: St000054oMp00064oMp00087 with offset 1 (quality [87, 100])
    19: St000054oMp00025oMp00127 with offset 1 (quality [87, 100])
    20: St000054oMp00064oMp00066 with offset 1 (quality [87, 100])
    21: St000141oMp00025oMp00127 (quality [87, 100])
    22: St000740oMp00238oMp00062 with offset 1 (quality [87, 100])
    23: St000740oMp00236oMp00062 with offset 1 (quality [87, 100])
    24: St001291oMp00127 with offset 1 (quality [87, 86])
    25: St000051oMp00061oMp00069 (quality [87, 86])
    26: St000051oMp00061oMp00149 (quality [87, 86])
    27: St000316oMp00025oMp00127 (quality [87, 86])
    28: St000653oMp00129oMp00127 (quality [87, 86])
    29: St000740oMp00089oMp00069 with offset 1 (quality [87, 86])
    30: St001184oMp00127oMp00064 with offset 1 (quality [87, 86])
    31: St001227oMp00028oMp00127 (quality [87, 86])
    32: St001291oMp00132oMp00127 with offset 1 (quality [87, 86])
    33: St001291oMp00124oMp00127 with offset 1 (quality [87, 86])
    34: St001291oMp00099oMp00127 with offset 1 (quality [87, 86])
    35: St001480oMp00118oMp00127 (quality [87, 86])
    36: St001480oMp00032oMp00127 (quality [87, 86])
    37: St000066oMp00063oMp00149 with offset 1 (quality [54, 86])
    38: St000066oMp00063oMp00069 with offset 1 (quality [54, 86])
    39: St000840oMp00146oMp00127 (quality [18, 86])
    40: St000199oMp00063 with offset 1 (quality [15, 71])
    41: St000193oMp00004oMp00063 with offset 1 (quality [15, 71])
    42: St000199oMp00137oMp00127 with offset 1 (quality [15, 71])
    43: St000200oMp00063oMp00062 with offset 1 (quality [15, 71])
    44: St000200oMp00005oMp00063 with offset 1 (quality [15, 71])
    45: St000200oMp00063oMp00087 with offset 1 (quality [15, 71])
    46: St000200oMp00035oMp00127 with offset 1 (quality [15, 71])
    47: St000200oMp00137oMp00127 with offset 1 (quality [15, 71])
    48: St000740oMp00201oMp00127 with offset 1 (quality [15, 71])
    49: St001291oMp00199oMp00127 with offset 1 (quality [15, 71])
**********************************************************************
File "src/sage/databases/findstat.py", line 127, in sage.databases.findstat
Failed example:
    r[0].info()                                                           # optional -- internet
Expected:
    after adding 1 to every value
    and applying
        Mp00066: inverse: Permutations -> Permutations
    to the objects (see `.compound_map()` for details)
    <BLANKLINE>
    your input matches
        St000740: The last entry of a permutation.
    <BLANKLINE>
    among the values you sent, 100 percent are actually in the database,
    among the distinct values you sent, 100 percent are actually in the database
Got:
    after adding 1 to every value
    and applying
        Mp00087: inverse first fundamental transformation: Permutations -> Permutations
    to the objects (see `.compound_map()` for details)
    <BLANKLINE>
    your input matches
        St000740: The last entry of a permutation.
    <BLANKLINE>
    among the values you sent, 100 percent are actually in the database,
    among the distinct values you sent, 100 percent are actually in the database
**********************************************************************
File "src/sage/databases/findstat.py", line 1053, in sage.databases.findstat.?
Failed example:
    findstat("graphs", lambda g: g.diameter() if g.is_connected() else None, max_values=100) # optional -- internet
Expected:
    0: St000259 (quality [100, 100])
Got:
    0: St000259 (quality [100, 100])
    1: St000259oMp00111oMp00157 (quality [61, 83])
    2: St000259oMp00157oMp00111 (quality [61, 83])
**********************************************************************
File "src/sage/databases/findstat.py", line 1231, in sage.databases.findstat.findmap
Failed example:
    q = findmap([(pi, pi.complement().increasing_tree_shape()) for pi in l], depth=2); q  # optional -- internet
Expected:
    0: Mp00061oMp00069 (quality [100])
Got:
    0: Mp00061oMp00069 (quality [97])
**********************************************************************
File "src/sage/databases/findstat.py", line 1236, in sage.databases.findstat.findmap
Failed example:
    p = findmap({pi: pi.complement().increasing_tree_shape() for pi in l}, depth=2); p    # optional -- internet
Expected:
    0: Mp00061oMp00069 (quality [100])
Got:
    0: Mp00061oMp00069 (quality [97])
**********************************************************************
File "src/sage/databases/findstat.py", line 2538, in sage.databases.findstat.FindStatStatisticQuery.?
Failed example:
    FindStatStatisticQuery(domain=12, data=data, depth=1)         # optional -- internet
Expected:
    0: St000041 (quality [99, 100])
    1: St000042oMp00116 (quality [99, 100])
    2: St000233oMp00092 (quality [99, 100])
    3: St000496oMp00092 (quality [99, 100])
    4: St001513oMp00058 (quality [15, 57])
Got:
    0: St000041 (quality [99, 100])
    1: St000041oMp00113 (quality [99, 100])
    2: St000042oMp00116 (quality [99, 100])
    3: St000233oMp00092 (quality [99, 100])
    4: St000496oMp00092 (quality [99, 100])
    5: St001513oMp00058 (quality [15, 57])
**********************************************************************
4 items had failures:
   5 of  17 in sage.databases.findstat
   1 of  42 in sage.databases.findstat.?
   1 of   4 in sage.databases.findstat.FindStatStatisticQuery.?
   2 of  12 in sage.databases.findstat.findmap
    11 webbrowser tests not run
    0 tests not run because we ran out of time
    [395 tests, 9 failures, 45.80 s]




sage -t --long --random-seed=0 src/sage/calculus/calculus.py
**********************************************************************
File "src/sage/calculus/calculus.py", line 1468, in sage.calculus.calculus.mma_free_limit
Failed example:
    mma_free_limit(sin(x)/x, x=0) # optional - internet
Exception raised:

    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.9/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.9/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.calculus.calculus.mma_free_limit[1]>", line 1, in <module>
        mma_free_limit(sin(x)/x, x=Integer(0)) # optional - internet
    TypeError: mma_free_limit() got an unexpected keyword argument 'x'
**********************************************************************
1 item had failures:
   1 of   4 in sage.calculus.calculus.mma_free_limit
    1 maple test not run
    3 mathematica tests not run
    0 tests not run because we ran out of time
    [460 tests, 1 failure, 19.92 s]




sage -t --long --random-seed=0 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 347, in sage.databases.oeis.OEIS
Failed example:
    fibo.comments()[1]                        # optional -- internet
Expected:
    "F(n+2) = number of binary sequences of length n that have no
    consecutive 0's."
Got:
    'In keeping with historical accounts (see the references by P. Singh and S. Kak), the generalized Fibonacci sequence a, b, a + b, a + 2b, 2a + 3b, 3a + 5b, ... can also be described as the Gopala-Hemachandra numbers H(n) = H(n-1) + H(n-2), with F(n) = H(n) for a = b = 1, and Lucas sequence L(n) = H(n) for a = 2, b = 1. - Lekraj Beedassy, Jan 11 2015'
**********************************************************************
File "src/sage/databases/oeis.py", line 542, in sage.databases.oeis.OEIS.find_by_subsequence
Failed example:
    oeis.find_by_subsequence([2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377]) # optional -- internet
Expected:
    0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
    1: A212804: Expansion of (1 - x)/(1 - x - x^2).
    2: A177194: Fibonacci numbers whose decimal expansion does not contain any digit 0.
Got:
    0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
    1: A212804: Expansion of (1 - x)/(1 - x - x^2).
    2: A020695: Pisot sequence E(2,3).
**********************************************************************
File "src/sage/databases/oeis.py", line 1506, in sage.databases.oeis.OEISSequence.references
Failed example:
    w.references()                        # optional -- internet
Expected:
    ...A. H. Beiler, Recreations in the Theory of Numbers, Dover, NY, 1964, p. 52.
    ...
Got:
     0: N. G. W. H. Beeger, On the Congruence (p-1)! == -1 (mod p^2), Messenger of Mathematics, Vol. 49 (1920), pp. 177-178.
     1: Albert H. Beiler, Recreations in the Theory of Numbers, Dover, NY, 1964, p. 52.
     2: Calvin C. Clawson, Mathematical Mysteries, Plenum Press, 1996, p. 180.
     3: Richard Crandall and Carl Pomerance, Prime Numbers: A Computational Perspective, Springer, NY, 2001; see p. 29.
     4: G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford Univ. Press, 1979, th. 80.
     5: G. B. Mathews, Theory of Numbers Part I., Cambridge: Deighton, Bell and Co., London: George Bell and Sons, 1892, page 318.
     6: Paulo Ribenboim, My Numbers, My Friends: Popular Lectures on Number Theory, Springer Science & Business Media, 2000, ISBN 0-387-98911-0.
     7: Paulo Ribenboim, The Book of Prime Number Records. Springer-Verlag, NY, 2nd ed., 1989, p. 277.
     8: N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
     9: Ilan Vardi, Computational Recreations in Mathematica. Addison-Wesley, Redwood City, CA, 1991, p. 73.
    10: David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, 163.
**********************************************************************
File "src/sage/databases/oeis.py", line 1639, in sage.databases.oeis.OEISSequence.cross_references
Failed example:
    nbalanced.cross_references(fetch=True)    # optional -- internet
Expected:
    0: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
    1: A049695: Array T read by diagonals; ...
    2: A103116: a(n) = A005598(n) - 1.
    3: A000010: Euler totient function phi(n): count numbers <= n and prime to n.
Got:
    0: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
    1: A049695: Array T read by diagonals; T(i,j) is the number of nonnegative slopes of lines determined by 2 lattice points in [ 0,i ] X [ 0,j ] if i > 0; T(0,j)=1 if j > 0; T(0,0)=0.
    2: A103116: a(n) = Sum_{i=1..n} (n-i+1)*phi(i).
    3: A000010: Euler totient function phi(n): count numbers <= n and prime to n.
**********************************************************************
File "src/sage/databases/oeis.py", line 1724, in sage.databases.oeis.OEISSequence.comments
Failed example:
    f.comments()[:3]                      # optional -- internet
Expected:
    0: Also sometimes called Lamé's sequence.
    1: F(n+2) = number of binary sequences of length n that have no consecutive 0's.
    2: F(n+2) = number of subsets of {1,2,...,n} that contain no consecutive integers.
Got:
    0: D. E. Knuth writes: "Before Fibonacci wrote his work, the sequence F_{n} had already been discussed by Indian scholars, who had long been interested in rhythmic patterns that are formed from one-beat and two-beat notes. The number of such rhythms having n beats altogether is F_{n+1}; therefore both Gopāla (before 1135) and Hemachandra (c. 1150) mentioned the numbers 1, 2, 3, 5, 8, 13, 21, ... explicitly." (TAOCP Vol. 1, 2nd ed.) - _Peter Luschny_, Jan 11 2015
    1: In keeping with historical accounts (see the references by P. Singh and S. Kak), the generalized Fibonacci sequence a, b, a + b, a + 2b, 2a + 3b, 3a + 5b, ... can also be described as the Gopala-Hemachandra numbers H(n) = H(n-1) + H(n-2), with F(n) = H(n) for a = b = 1, and Lucas sequence L(n) = H(n) for a = 2, b = 1. - Lekraj Beedassy, Jan 11 2015
    2: Susantha Goonatilake writes: "[T]his sequence was well known in South Asia and used in the metrical sciences. Its development is attributed in part to Pingala (200 BC), later being associated with Virahanka (circa 700 AD), Gopala (circa 1135), and Hemachandra (circa 1150)—all of whom lived and worked prior to Fibonacci." (Toward a Global Science: Mining Civilizational Knowledge, p. 126) - _Russ Cox_, Sep 8 2021
**********************************************************************
5 items had failures:
   1 of  20 in sage.databases.oeis.OEIS
   1 of   3 in sage.databases.oeis.OEIS.find_by_subsequence
   1 of   5 in sage.databases.oeis.OEISSequence.comments
   1 of   7 in sage.databases.oeis.OEISSequence.cross_references
   1 of   5 in sage.databases.oeis.OEISSequence.references
    5 webbrowser tests not run
    0 tests not run because we ran out of time
    [289 tests, 5 failures, 33.47 s]



sage -t --long --random-seed=0 src/sage/tests/cmdline.py
**********************************************************************
File "src/sage/tests/cmdline.py", line 606, in sage.tests.cmdline.test_executable
Failed example:
    err  # optional - internet
Expected:
    ''
Got:
    '/home/slabbe/GitBox/sage/local/lib/python3.9/site-packages/sage/misc/package.py:116: UserWarning: failed to fetch the version of pkg=\'ore_algebra\' at https://pypi.org/pypi/ore_algebra/json\n  warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url))\n'
**********************************************************************
File "src/sage/tests/cmdline.py", line 732, in sage.tests.cmdline.test_executable
Failed example:
    print(open(output, 'r').read() == t)          # optional - pandoc
Expected:
    True
Got:
    False
**********************************************************************
1 item had failures:
   2 of 250 in sage.tests.cmdline.test_executable
    3 gdb tests not run
    4 r tests not run
    0 tests not run because we ran out of time
    [249 tests, 2 failures, 44.38 s]



sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 9026, in sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
Failed example:
    h = g.nowhere_zero_flow(k=3)
Expected:

    Traceback (most recent call last):
    ...
    EmptySetError: the problem has no feasible solution
Got:
    <BLANKLINE>
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 9654, in sage.graphs.generic_graph.GenericGraph.?
Failed example:
    p1,p2 = g.disjoint_routed_paths([((0, 0), (4, 4)), ((0, 4), (4, 0))])
Expected:

    Traceback (most recent call last):
    ...
    EmptySetError: the disjoint routed paths do not exist
Got:
    <BLANKLINE>
**********************************************************************
2 items had failures:
   1 of 1050 in sage.graphs.generic_graph.GenericGraph.?
   1 of  29 in sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
    17 bliss tests not run
    6 not tested tests not run
    39 python_igraph tests not run
    0 tests not run because we ran out of time
    [3609 tests, 2 failures, 45.18 s]




sage -t --long --random-seed=0 src/sage/graphs/graph.py
**********************************************************************
File "src/sage/graphs/graph.py", line 4287, in sage.graphs.graph.Graph.?
Failed example:
    g.has_homomorphism_to(graphs.CycleGraph(4)) is not False
Expected:
    False
Got:
    True
**********************************************************************
File "src/sage/graphs/graph.py", line 4694, in sage.graphs.graph.Graph.minor
Failed example:
    L = g.minor(graphs.CompleteGraph(3))
Expected:

    Traceback (most recent call last):
    ...
    ValueError: This graph has no minor isomorphic to H !
Got:
    <BLANKLINE>
**********************************************************************
File "src/sage/graphs/graph.py", line 5909, in sage.graphs.graph.Graph.?
Failed example:
    g.topological_minor(graphs.CycleGraph(3))
Expected:
    False
Got:
    Subgraph of (Subgraph of (RandomGNP(15,0.300000000000000))): Graph on 0 vertices
**********************************************************************
2 items had failures:
   2 of 279 in sage.graphs.graph.Graph.?
   1 of  14 in sage.graphs.graph.Graph.minor
    2 mcqd tests not run
    2 not tested tests not run
    13 python_igraph tests not run
    0 tests not run because we ran out of time
    [1216 tests, 3 failures, 25.72 s]


sage -t --long --random-seed=0 src/sage/combinat/designs/incidence_structures.py
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 2042, in sage.combinat.designs.incidence_structures.IncidenceStructure.?
Failed example:
    len(designs.steiner_triple_system(7).coloring())
Expected:
    3
Got:
    2
**********************************************************************
1 item had failures:
   1 of  35 in sage.combinat.designs.incidence_structures.IncidenceStructure.?
    8 gap_packages tests not run
    3 not tested tests not run
    0 tests not run because we ran out of time
    [339 tests, 1 failure, 1.39 s]

Sébastien Labbé

unread,
Oct 14, 2021, 2:35:01 PM10/14/21
to sage-release
I just created 5 tickets for the above new failures. Follow up at https://trac.sagemath.org/ticket/25536
Reply all
Reply to author
Forward
0 new messages