Opened 3 years ago
Last modified 21 months ago
#26212 closed task
py3: make all tests pass — at Version 215
Reported by: | chapoton | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | python3 | Keywords: | |
Cc: | vklein, embray, jmantysalo, gh-timokau | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
This ticket is used to keep track of the progress towards python3.
release | files having failing doctests | more than 100 | from 10 to 100 | from 1 to 10 | failing doctests |
8.4.b3 | 915 | 42 | 251 | 622 | 17972 |
8.4.b4 | 803 | 23 | 175 | 605 | 10921 |
8.4.b5 | 657 | 17 | 145 | 495 | 8509 |
8.4.b6 | 594 | 17 | 127 | 450 | 7706 |
8.4.b7 | 587 | 17 | 128 | 442 | 7678 |
8.4.rc0 | 524 | 16 | 119 | 389 | 6976 |
8.5.b0 | 461 | 6 | 94 | 361 | 4206 |
8.5.b1 | 414 | 3 | 76 | 335 | 3206 |
8.5.b2 | 370 | 1 | 66 | 303 | 2465 |
8.5.b3 | 339 | 1 | 62 | 276 | 2245 |
8.5.b4 | 312 | 0 | 58 | 254 | 1947 |
8.5.b5 | 295 | 0 | 51 | 244 | 1741 |
8.5.b6 | 264 | 0 | 43 | 221 | 1514 |
8.5.rc0 | 252 | 0 | 39 | 213 | 1393 |
8.6.b0 | 234 | 0 | 30 | 204 | 1163 |
8.6.b1 | 231 | 0 | 30 | 201 | 1146 |
8.6.rc0 | 232 | 0 | 28 | 204 | 1124 |
8.6.rc1 | 236 | 0 | 30 | 206 | 1136 |
8.7.b0 | 240 | 1 | 38 | 201 | 1605 |
8.7.b1 | 200 | 0 | 23 | 177 | 866 |
8.7.b2 | 198 | 0 | 24 | 174 | 863 |
8.7.b3 | 166 | 0 | 20 | 146 | 717 |
8.7.b4 | 165 | 0 | 19 | 146 | 703 |
Folders where all tests pass:
- algebras/steenrod ✔ #26219 and #26220
- arith #26208 ✔
- calculus #26751 #26988 (final)
- coding #26026 #26765 (final)
- combinat/designs #26430, #26837 (regression)
- combinat/posets #26998 (final)
- combinat/rigged_configurations #26805
- combinat/sf (#26220 +) #26215
- combinat/species #26328, #26610, #27072 (final)
- combinat/words #26362, #26458, #26473, #26590
- databases #26702 #26704
- docs ✔ #26310
- features ✔
- finance #26213 ✔
- games ✔
- game_theory #26429 #26738 (final)
- groups/lie_gps #26518
- interacts #27117, #27157
- knots ✔
- libs/gsl
- lfunctions ✔
- logic #26214 ✔
- manifolds #26475
- media ✔
- modular/modsym #26673 #27177
- monoids ✔ #26294
- parallel ✔
- plot #26210 #26299 #26301 #26321, #27126 (final)
- probability #26216 ✔
- quadratic_forms/ #26224 ✔
- quivers #26211 ✔
- rings/asymptotic #26146
- rings/number_field #26263, #26619
- rings/function_field #26721 #26764 (final)
- sandpiles #26016 #26628 #26722
- sat #26543 ✔
- schemes/toric #26664
- server ✔
- stats #26401 ✔
- structure #25694 #26768
- tensor #26295, #26601
- typeset ✔
- sage_setup #27075, #27073
Folders with work in progress:
- algebras #26316 #26399 #26279 #26646 #26688 #26766
- categories #26545 #26780
- combinat/finite_state_machine #26147, #26468, #26737
- combinat/root_system #26649
- combinat/subset #26510
- combinat #26535 #26671 #26719 #26778 #26781 #26917 #26918 #27013 #26592
- cpython #26855
- crypto #26398
- data_structures #24852
- doc/en #26346
- functions #24758, #26591 #26865 #26770 #25979
- geometry #26726
- graphs #26431 #26447 #26527 #26640 #26645 #26846 #27125
- groups #26799
- groups/matrix_gps #26400 (regression)
- interfaces #26314
- libs #24804 #26665 #27275
- matrix/ #26236 #26716
- matroids #26767
- misc #26312, #26390 #26674 #26720 #27001 #27065 #27301
- modular #26382, #26611, #26967 #25301 #27145
- modules #26276 #27115
- numerical/backends #24740 (for
char *
arguments management) and #24741, #26631 - repl #26881
- rings #26697 #27048
- rings (power series) #26539
- rings/polynomial #26670 #26760 #26909
- sets #26659
- schemes #27049
- schemes/elliptic_curves #26536, #26529, #26570, #26594 #26913 #26914
- tests/french_book #26495 #23572
Change History (216)
comment:1 Changed 3 years ago by
- Description modified (diff)
comment:2 Changed 3 years ago by
- Description modified (diff)
comment:3 Changed 3 years ago by
- Description modified (diff)
comment:4 Changed 3 years ago by
- Description modified (diff)
comment:5 Changed 3 years ago by
- Description modified (diff)
comment:6 Changed 3 years ago by
- Description modified (diff)
comment:7 Changed 3 years ago by
- Description modified (diff)
comment:8 Changed 3 years ago by
- Description modified (diff)
comment:9 Changed 3 years ago by
- Description modified (diff)
comment:10 Changed 3 years ago by
- Description modified (diff)
comment:11 Changed 3 years ago by
- Description modified (diff)
comment:12 Changed 3 years ago by
- Description modified (diff)
comment:13 Changed 3 years ago by
- Description modified (diff)
comment:14 Changed 3 years ago by
- Description modified (diff)
comment:15 Changed 3 years ago by
- Cc vklein added
comment:16 Changed 3 years ago by
- Description modified (diff)
comment:17 Changed 3 years ago by
- Description modified (diff)
comment:18 Changed 3 years ago by
- Description modified (diff)
comment:19 Changed 3 years ago by
- Description modified (diff)
comment:20 Changed 3 years ago by
- Description modified (diff)
comment:21 Changed 3 years ago by
- Description modified (diff)
comment:22 Changed 3 years ago by
- Description modified (diff)
comment:23 Changed 3 years ago by
- Description modified (diff)
comment:24 Changed 3 years ago by
- Description modified (diff)
comment:25 Changed 3 years ago by
- Description modified (diff)
comment:26 Changed 3 years ago by
- Description modified (diff)
comment:27 Changed 3 years ago by
- Description modified (diff)
comment:28 Changed 3 years ago by
- Description modified (diff)
comment:29 Changed 3 years ago by
- Description modified (diff)
comment:30 Changed 3 years ago by
- Description modified (diff)
comment:31 Changed 3 years ago by
- Description modified (diff)
comment:32 Changed 3 years ago by
- Description modified (diff)
comment:33 Changed 3 years ago by
- Description modified (diff)
comment:34 Changed 3 years ago by
- Description modified (diff)
comment:35 Changed 3 years ago by
- Description modified (diff)
comment:36 Changed 3 years ago by
- Description modified (diff)
comment:37 Changed 3 years ago by
- Description modified (diff)
comment:38 Changed 3 years ago by
- Description modified (diff)
comment:39 Changed 3 years ago by
- Description modified (diff)
comment:40 Changed 3 years ago by
- Description modified (diff)
comment:41 Changed 3 years ago by
- Description modified (diff)
comment:42 Changed 3 years ago by
- Description modified (diff)
comment:43 Changed 3 years ago by
- Description modified (diff)
comment:44 Changed 3 years ago by
- Description modified (diff)
comment:45 Changed 3 years ago by
- Description modified (diff)
comment:46 Changed 3 years ago by
- Description modified (diff)
comment:47 Changed 3 years ago by
- Description modified (diff)
comment:48 Changed 3 years ago by
- Description modified (diff)
comment:49 Changed 3 years ago by
- Description modified (diff)
comment:50 Changed 3 years ago by
- Description modified (diff)
comment:51 Changed 3 years ago by
- Description modified (diff)
comment:52 Changed 3 years ago by
- Description modified (diff)
comment:53 Changed 3 years ago by
- Description modified (diff)
comment:54 Changed 3 years ago by
- Description modified (diff)
comment:55 Changed 3 years ago by
- Description modified (diff)
comment:56 Changed 3 years ago by
- Description modified (diff)
comment:57 Changed 3 years ago by
- Description modified (diff)
comment:58 Changed 3 years ago by
- Description modified (diff)
comment:59 Changed 3 years ago by
- Description modified (diff)
comment:60 Changed 3 years ago by
- Description modified (diff)
comment:61 Changed 3 years ago by
- Description modified (diff)
comment:62 Changed 3 years ago by
- Description modified (diff)
comment:63 Changed 3 years ago by
- Description modified (diff)
comment:64 Changed 3 years ago by
- Description modified (diff)
comment:65 Changed 3 years ago by
- Description modified (diff)
comment:66 Changed 3 years ago by
- Description modified (diff)
comment:67 Changed 3 years ago by
- Description modified (diff)
comment:68 Changed 3 years ago by
- Cc embray added
comment:69 Changed 3 years ago by
- Description modified (diff)
comment:70 Changed 3 years ago by
- Description modified (diff)
comment:71 Changed 3 years ago by
- Description modified (diff)
comment:72 Changed 3 years ago by
- Description modified (diff)
comment:73 Changed 3 years ago by
- Description modified (diff)
comment:75 Changed 3 years ago by
- Description modified (diff)
comment:76 Changed 3 years ago by
- Description modified (diff)
comment:77 Changed 3 years ago by
The six remaining files with many failures are
['sage -t --long src/sage/combinat/finite_state_machine.py # 189 doctests failed', 'sage -t --long src/sage/dynamics/arithmetic_dynamics/projective_ds.py # 105 doctests failed', 'sage -t --long src/sage/graphs/generic_graph.py # 110 doctests failed', 'sage -t --long src/sage/groups/lie_gps/nilpotent_lie_group.py # 143 doctests failed', 'sage -t --long src/sage/rings/padics/padic_lattice_element.py # 167 doctests failed', 'sage -t --long src/sage/rings/valuation/limit_valuation.py # 106 doctests failed']
comment:78 Changed 3 years ago by
- Description modified (diff)
comment:79 Changed 3 years ago by
- Description modified (diff)
comment:80 follow-up: ↓ 84 Changed 3 years ago by
For whoever wants to work on it, regarding
sage -t --long src/sage/combinat/finite_state_machine.py # 189 doctests failed
about 150 of the failures can be cured by replacing 'iteritems' by 'items' in lines like
elif hasattr(data, 'iteritems'): # data is a dict (or something similar),
I don't know if 'items' is the right attribute to check, or if it would actually be better to change to isinstance(data, dict)
. What other data structures are mean to be acceptable? What is "something similar" to a dict?
comment:81 Changed 3 years ago by
- Description modified (diff)
comment:82 Changed 3 years ago by
- Description modified (diff)
comment:83 Changed 3 years ago by
- Description modified (diff)
comment:84 in reply to: ↑ 80 Changed 3 years ago by
Replying to jhpalmieri:
For whoever wants to work on it, regarding ... I don't know if 'items' is the right attribute to check, or if it would actually be better to change to
isinstance(data, dict)
. What other data structures are mean to be acceptable? What is "something similar" to a dict?
There is some custom "Mapping types" in sage like FreeModuleElement_generic_sparse
, which implements items
and iteritems
but doesn't inherit from dict
.
comment:85 Changed 3 years ago by
- Description modified (diff)
comment:86 Changed 3 years ago by
- Description modified (diff)
comment:87 Changed 3 years ago by
- Description modified (diff)
comment:88 Changed 3 years ago by
- Description modified (diff)
comment:89 Changed 3 years ago by
- Description modified (diff)
comment:90 Changed 3 years ago by
- Description modified (diff)
comment:91 Changed 3 years ago by
- Description modified (diff)
comment:92 Changed 3 years ago by
- Description modified (diff)
comment:93 Changed 3 years ago by
There was a regression in the manifolds folder (sigh)..
The 3 remaining files with more than 100 failing doctests are
['sage -t --long src/sage/combinat/finite_state_machine.py # 182 doctests failed', 'sage -t --long src/sage/graphs/generic_graph.py # 109 doctests failed', 'sage -t --long src/sage/rings/padics/padic_lattice_element.py # 167 doctests failed']
The first one is already tackled in #26147 at least partially.
comment:94 Changed 3 years ago by
- Description modified (diff)
comment:95 Changed 3 years ago by
Regarding
'sage -t --long src/sage/rings/padics/padic_lattice_element.py # 167 doctests failed'
I can reproduce those failures when I run ./sage -t ...
, but (at least for the first few) not when I run Sage interactively. Odd.
comment:96 Changed 3 years ago by
- Description modified (diff)
comment:97 Changed 3 years ago by
- Description modified (diff)
comment:98 Changed 3 years ago by
- Description modified (diff)
comment:99 Changed 3 years ago by
- Description modified (diff)
comment:100 Changed 3 years ago by
- Description modified (diff)
comment:101 Changed 3 years ago by
- Description modified (diff)
comment:102 Changed 3 years ago by
- Description modified (diff)
Top ten bad files in 8.5.b2 are
['sage -t --long src/sage/numerical/backends/cvxopt_sdp_backend.pyx # 39 doctests failed', 'sage -t --long src/sage/algebras/iwahori_hecke_algebra.py # 40 doctests failed', 'sage -t --long src/sage/numerical/mip.pyx # 47 doctests failed', 'sage -t --long src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'sage -t --long src/sage/rings/function_field/ideal.py # 56 doctests failed', 'sage -t --long src/sage/graphs/graph.py # 59 doctests failed', 'sage -t --long src/sage/graphs/connectivity.pyx # 60 doctests failed', 'sage -t --long src/sage/misc/explain_pickle.py # 70 doctests failed', 'sage -t --long src/sage/numerical/sdp.pyx # 75 doctests failed', 'sage -t --long src/sage/graphs/generic_graph.py # 109 doctests failed']
comment:103 Changed 3 years ago by
- Description modified (diff)
comment:104 Changed 3 years ago by
- Description modified (diff)
comment:105 Changed 3 years ago by
- Description modified (diff)
comment:106 Changed 3 years ago by
- Description modified (diff)
comment:107 Changed 3 years ago by
- Description modified (diff)
comment:108 Changed 3 years ago by
- Description modified (diff)
comment:109 Changed 3 years ago by
- Description modified (diff)
comment:110 Changed 3 years ago by
- Description modified (diff)
comment:111 Changed 3 years ago by
- Description modified (diff)
comment:112 Changed 3 years ago by
- Milestone changed from sage-8.4 to sage-8.5
comment:113 Changed 3 years ago by
- Description modified (diff)
comment:114 Changed 3 years ago by
- Cc jmantysalo added
comment:115 Changed 3 years ago by
- Description modified (diff)
comment:116 Changed 3 years ago by
- Description modified (diff)
comment:117 Changed 3 years ago by
- Description modified (diff)
comment:118 Changed 3 years ago by
- Description modified (diff)
comment:119 Changed 3 years ago by
- Description modified (diff)
comment:120 Changed 3 years ago by
- Description modified (diff)
The top ten worse files in 8.5.b3 are
['sage -t --long src/sage/combinat/finite_state_machine.py # 31 doctests failed', 'sage -t --long src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', 'sage -t --long src/sage/numerical/mip.pyx # 47 doctests failed', 'sage -t --long src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'sage -t --long src/sage/rings/function_field/ideal.py # 56 doctests failed', 'sage -t --long src/sage/graphs/graph.py # 58 doctests failed', 'sage -t --long src/sage/graphs/connectivity.pyx # 59 doctests failed', 'sage -t --long src/sage/rings/tate_algebra_element.pyx # 63 doctests failed', 'sage -t --long src/sage/misc/explain_pickle.py # 70 doctests failed', 'sage -t --long src/sage/graphs/generic_graph.py # 115 doctests failed']
comment:121 Changed 3 years ago by
- Description modified (diff)
comment:122 Changed 3 years ago by
- Description modified (diff)
comment:123 Changed 3 years ago by
- Description modified (diff)
comment:124 Changed 3 years ago by
- Description modified (diff)
Top ten worst files in 8.5.b4 are:
src/sage/graphs/graph.py # 30 doctests failed src/sage/numerical/linear_functions.pyx # 30 doctests failed src/sage/combinat/finite_state_machine.py # 31 doctests failed src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed src/sage/numerical/mip.pyx # 47 doctests failed src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed src/sage/graphs/connectivity.pyx # 50 doctests failed src/sage/rings/function_field/ideal.py # 56 doctests failed src/sage/misc/explain_pickle.py # 70 doctests failed src/sage/graphs/generic_graph.py # 77 doctests failed
comment:125 Changed 3 years ago by
- Description modified (diff)
comment:126 Changed 3 years ago by
- Description modified (diff)
comment:127 Changed 3 years ago by
- Description modified (diff)
comment:128 Changed 3 years ago by
- Description modified (diff)
comment:129 Changed 3 years ago by
- Description modified (diff)
comment:130 Changed 3 years ago by
- Description modified (diff)
comment:131 Changed 3 years ago by
- Description modified (diff)
comment:132 Changed 3 years ago by
- Description modified (diff)
comment:133 Changed 3 years ago by
Number of failing doctests in 8.5.beta4 by components
'en': 56, 'coding': 28, 'data_structures': 5, 'symbolic': 24, 'libs': 34, 'schemes': 102, 'combinat': 292, 'dynamics': 39, 'interacts': 6, 'homology': 29, 'plot': 5, 'functions': 5, 'matrix': 16, 'rings': 209, 'categories': 34, 'docbuild': 2, 'algebras': 21, 'common': 1, 'calculus': 5, 'tests': 40, 'matroids': 75, 'misc': 172, 'interfaces': 1, 'numerical': 206, 'modular': 82, 'repl': 13, 'groups': 14, 'sandpiles': 22, 'game_theory': 11, 'structure': 6, 'cpython': 7, 'sets': 6, 'geometry': 32, 'modules': 3, 'crypto': 13, 'graphs': 292, 'ext': 8, 'doctest': 8, 'databases': 16
comment:134 Changed 3 years ago by
- Description modified (diff)
comment:135 Changed 3 years ago by
- Description modified (diff)
comment:136 Changed 3 years ago by
- Description modified (diff)
comment:137 Changed 3 years ago by
- Description modified (diff)
comment:138 Changed 3 years ago by
- Description modified (diff)
comment:139 Changed 3 years ago by
- Description modified (diff)
comment:140 Changed 3 years ago by
- Description modified (diff)
comment:141 Changed 3 years ago by
Worst 15 files in 8.5.b5:
[' src/sage/homology/simplicial_complex.py # 23 doctests failed', ' src/sage/numerical/linear_tensor_element.pyx # 23 doctests failed', ' src/sage/matroids/matroid.pyx # 24 doctests failed', ' src/sage/rings/integer.pyx # 24 doctests failed', ' src/sage/misc/decorators.py # 28 doctests failed', ' src/sage/numerical/linear_tensor_constraints.py # 28 doctests failed', ' src/sage/combinat/rigged_configurations/kr_tableaux.py # 30 doctests failed', ' src/sage/graphs/graph.py # 30 doctests failed', ' src/sage/numerical/linear_functions.pyx # 30 doctests failed', ' src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', ' src/sage/numerical/mip.pyx # 47 doctests failed', ' src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', ' src/sage/graphs/connectivity.pyx # 49 doctests failed', ' src/sage/misc/explain_pickle.py # 70 doctests failed', ' src/sage/graphs/generic_graph.py # 79 doctests failed']
comment:142 Changed 3 years ago by
- Description modified (diff)
and by components:
[('common', 1), ('interfaces', 1), ('docbuild', 2), ('coding', 2), ('modules', 4), ('functions', 5), ('calculus', 5), ('plot', 5), ('data_structures', 5), ('structure', 6), ('interacts', 6), ('sets', 6), ('cpython', 7), ('doctest', 8), ('ext', 8), ('crypto', 13), ('geometry', 13), ('repl', 13), ('groups', 15), ('algebras', 16), ('matrix', 17), ('sandpiles', 22), ('symbolic', 26), ('homology', 30), ('libs', 34), ('categories', 35), ('tests', 40), ('dynamics', 40), ('en', 56), ('matroids', 73), ('schemes', 80), ('modular', 82), ('rings', 141), ('misc', 171), ('numerical', 206), ('combinat', 240), ('graphs', 300)]
comment:143 Changed 3 years ago by
- Description modified (diff)
comment:144 Changed 3 years ago by
- Description modified (diff)
comment:145 Changed 3 years ago by
- Description modified (diff)
comment:146 Changed 3 years ago by
- Description modified (diff)
comment:147 Changed 3 years ago by
- Description modified (diff)
comment:148 Changed 3 years ago by
- Description modified (diff)
comment:149 Changed 3 years ago by
worst 20 files in 8.5.b6:
['/sage/matroids/matroid.pyx # 18 doctests failed', '/sage/combinat/finite_state_machine.py # 20 doctests failed', '/sage/misc/classcall_metaclass.pyx # 20 doctests failed', '/sage/numerical/linear_tensor.py # 20 doctests failed', '/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', '/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', '/sage/homology/simplicial_complex.py # 22 doctests failed', '/sage/sandpiles/sandpile.py # 22 doctests failed', '/sage/numerical/linear_tensor_element.pyx # 23 doctests failed', '/sage/rings/integer.pyx # 24 doctests failed', '/sage/misc/decorators.py # 28 doctests failed', '/sage/numerical/linear_tensor_constraints.py # 28 doctests failed', '/sage/graphs/graph.py # 30 doctests failed', '/sage/numerical/linear_functions.pyx # 30 doctests failed', '/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', '/sage/numerical/mip.pyx # 47 doctests failed', '/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', '/sage/graphs/connectivity.pyx # 49 doctests failed', '/sage/misc/explain_pickle.py # 70 doctests failed', '/sage/graphs/generic_graph.py # 78 doctests failed']
comment:150 Changed 3 years ago by
- Description modified (diff)
comment:151 Changed 3 years ago by
- Description modified (diff)
comment:152 Changed 3 years ago by
- Description modified (diff)
comment:153 Changed 3 years ago by
- Description modified (diff)
comment:154 Changed 3 years ago by
- Description modified (diff)
comment:155 Changed 3 years ago by
- Description modified (diff)
comment:156 Changed 3 years ago by
- Description modified (diff)
comment:157 Changed 3 years ago by
- Description modified (diff)
comment:158 Changed 3 years ago by
- Description modified (diff)
comment:159 Changed 3 years ago by
- Description modified (diff)
15 worst offenders in 8.5.rc0:
['src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/matroids/matroid.pyx # 21 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'src/sage/homology/simplicial_complex.py # 22 doctests failed', 'src/sage/sandpiles/sandpile.py # 22 doctests failed', 'src/sage/numerical/linear_tensor_element.pyx # 23 doctests failed', 'src/sage/misc/decorators.py # 28 doctests failed', 'src/sage/numerical/linear_tensor_constraints.py # 28 doctests failed', 'src/sage/graphs/graph.py # 30 doctests failed', 'src/sage/numerical/linear_functions.pyx # 30 doctests failed', 'src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', 'src/sage/numerical/mip.pyx # 47 doctests failed', 'src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed', 'src/sage/graphs/generic_graph.py # 74 doctests failed']
comment:160 Changed 3 years ago by
- Description modified (diff)
comment:161 Changed 3 years ago by
- Description modified (diff)
comment:162 Changed 3 years ago by
- Description modified (diff)
comment:163 Changed 3 years ago by
- Description modified (diff)
comment:164 Changed 3 years ago by
- Description modified (diff)
comment:165 Changed 3 years ago by
- Description modified (diff)
comment:166 Changed 3 years ago by
15 worst offenders in 8.6.b0:
['src/sage/categories/finite_posets.py # 15 doctests failed', 'src/sage/combinat/matrices/hadamard_matrix.py # 15 doctests failed', 'src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'src/sage/sandpiles/sandpile.py # 22 doctests failed', 'src/sage/matroids/matroid.pyx # 23 doctests failed', 'src/sage/homology/simplicial_complex.py # 24 doctests failed', 'src/sage/graphs/graph.py # 28 doctests failed', 'src/sage/misc/decorators.py # 28 doctests failed', 'src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', 'src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'src/sage/graphs/generic_graph.py # 68 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed']
comment:167 Changed 3 years ago by
- Description modified (diff)
maybe due to the upgrade of gap, there is a regression:
sage -t --long src/sage/groups/matrix_gps/finitely_generated.py # 3 doctests failed
comment:168 Changed 3 years ago by
- Cc gh-timokau added
comment:169 Changed 3 years ago by
- Milestone changed from sage-8.5 to sage-8.7
comment:170 Changed 3 years ago by
- Description modified (diff)
comment:171 Changed 3 years ago by
- Description modified (diff)
comment:172 Changed 3 years ago by
- Description modified (diff)
comment:173 Changed 3 years ago by
worst 15 files in 8.6.b1:
['src/sage/categories/finite_posets.py # 15 doctests failed', 'src/sage/combinat/matrices/hadamard_matrix.py # 15 doctests failed', 'src/sage/matroids/matroid.pyx # 17 doctests failed', 'src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'src/sage/sandpiles/sandpile.py # 22 doctests failed', 'src/sage/homology/simplicial_complex.py # 23 doctests failed', 'src/sage/graphs/graph.py # 28 doctests failed', 'src/sage/misc/decorators.py # 28 doctests failed', 'src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', 'src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'src/sage/graphs/generic_graph.py # 63 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed']
comment:174 Changed 3 years ago by
- Description modified (diff)
comment:175 Changed 3 years ago by
- Description modified (diff)
comment:176 Changed 3 years ago by
- Description modified (diff)
comment:177 Changed 3 years ago by
files where failing doctests have re-appeared (regressions):
['src/sage/categories/crystals.py', 'src/sage/matroids/circuit_closures_matroid.pyx', 'src/sage/matroids/dual_matroid.py']
file where failing doctests have disappeared (progress):
['src/sage/misc/decorators.py', 'src/sage/rings/polynomial/laurent_polynomial.pyx']
so this is a net loss of 1 file
comment:178 Changed 3 years ago by
- Description modified (diff)
comment:179 Changed 3 years ago by
- Description modified (diff)
comment:180 Changed 3 years ago by
- Description modified (diff)
comment:182 Changed 3 years ago by
regressions in
'sage -t --long src/sage/combinat/multiset_partition_into_sets_ordered.py', 'sage -t --long src/sage/combinat/set_partition.py', 'sage -t --long src/sage/dynamics/arithmetic_dynamics/endPN_automorphism_group.py', 'sage -t --long src/sage/graphs/spanning_tree.pyx', 'sage -t --long src/sage/modules/multi_filtered_vector_space.py', 'sage -t --long src/sage/rings/invariants/invariant_theory.py'
and progress in
'sage -t --long src/sage/matrix/compute_J_ideal.py', 'sage -t --long src/sage/matroids/circuit_closures_matroid.pyx'}
so this a net loss of 4 files
comment:183 Changed 3 years ago by
I don't have any doctest error with py3 for sage -t --long src/sage/graphs/spanning_tree.pyx
. Can you share what you get. Thanks.
comment:184 Changed 3 years ago by
This and other failures can be seen in the unique patchbot report running python3 on ticket 0:
https://patchbot.sagemath.org/ticket/0/
sage -t --long src/sage/graphs/spanning_tree.pyx ********************************************************************** File "src/sage/graphs/spanning_tree.pyx", line 188, in sage.graphs.spanning_tree.kruskal Failed example: sorted(kruskal(G, check=True)) Expected: [('a', 'b', 4), ('a', 'h', 8), ('c', 'd', 7), ('c', 'f', 4), ('c', 'i', 2), ('d', 'e', 9), ('f', 'g', 2), ('g', 'h', 1)] Got: [('a', 'b', 4), ('b', 'c', 8), ('c', 'd', 7), ('c', 'f', 4), ('c', 'i', 2), ('d', 'e', 9), ('f', 'g', 2), ('g', 'h', 1)] ********************************************************************** 1 item had failures: 1 of 45 in sage.graphs.spanning_tree.kruskal [83 tests, 1 failure, 0.60 s]
comment:185 Changed 3 years ago by
- Description modified (diff)
comment:186 Changed 3 years ago by
- Description modified (diff)
comment:187 Changed 3 years ago by
See #27059 for of fix of the issue of #comment:184
comment:188 Changed 3 years ago by
- Description modified (diff)
comment:189 Changed 3 years ago by
- Description modified (diff)
comment:190 Changed 3 years ago by
- Description modified (diff)
massive regression in 8.7.beta0, in particular here:
sage -t --long src/sage/schemes/elliptic_curves/BSD.py # 17 doctests failed sage -t --long src/sage/schemes/elliptic_curves/gal_reps.py # 20 doctests failed sage -t --long src/sage/schemes/elliptic_curves/isogeny_small_degree.py # 72 doctests failed sage -t --long src/sage/schemes/elliptic_curves/ell_curve_isogeny.py # 204 doctests failed
comment:191 Changed 3 years ago by
- Description modified (diff)
comment:192 Changed 3 years ago by
Worst 15 files in 8.7.beta0 (once the large regression in isogenies is fixed):
'sage -t --long src/sage/rings/polynomial/multi_polynomial_sequence.py # 12 doctests failed', 'sage -t --long src/sage/symbolic/constants.py # 12 doctests failed', 'sage -t --long src/sage/tests/french_book/mpoly.py # 13 doctests failed', 'sage -t --long src/sage/graphs/digraph.py # 14 doctests failed', 'sage -t --long src/sage/categories/finite_posets.py # 15 doctests failed', 'sage -t --long src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'sage -t --long src/sage/matroids/matroid.pyx # 19 doctests failed', 'sage -t --long src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'sage -t --long src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'sage -t --long src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'sage -t --long src/sage/sandpiles/sandpile.py # 22 doctests failed', 'sage -t --long src/sage/schemes/riemann_surfaces/riemann_surface.py # 36 doctests failed', 'sage -t --long src/doc/en/thematic_tutorials/sandpile.rst # 49 doctests failed', 'sage -t --long src/sage/graphs/generic_graph.py # 51 doctests failed', 'sage -t --long src/sage/misc/explain_pickle.py # 70 doctests failed'
comment:193 Changed 3 years ago by
- Description modified (diff)
comment:194 Changed 3 years ago by
- Description modified (diff)
comment:196 Changed 3 years ago by
worst 15 files in 8.7.b1:
'src/sage/matroids/graphic_matroid.py # 11 doctests failed', 'src/sage/schemes/product_projective/point.py # 11 doctests failed', 'src/sage/symbolic/expression.pyx # 11 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_sequence.py # 12 doctests failed', 'src/sage/symbolic/constants.py # 12 doctests failed', 'src/sage/modular/modform/element.py # 13 doctests failed', 'src/sage/tests/french_book/mpoly.py # 13 doctests failed', 'src/sage/categories/finite_posets.py # 15 doctests failed', 'src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 20 doctests failed', 'src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/matroids/matroid.pyx # 21 doctests failed', 'src/sage/graphs/generic_graph.py # 50 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed'
comment:197 Changed 3 years ago by
That is some impressive progress! Good work.
comment:198 Changed 3 years ago by
- Description modified (diff)
comment:199 Changed 3 years ago by
- Description modified (diff)
comment:200 Changed 3 years ago by
- Description modified (diff)
comment:201 Changed 3 years ago by
- Description modified (diff)
comment:202 Changed 3 years ago by
- Description modified (diff)
comment:203 Changed 3 years ago by
- Description modified (diff)
comment:204 Changed 3 years ago by
- Description modified (diff)
comment:205 Changed 3 years ago by
- Description modified (diff)
comment:207 Changed 3 years ago by
Worst 15 files in 8.7.b3:
['src/sage/tests/french_book/programmation_doctest.py # 10 doctests failed', 'src/sage/matroids/graphic_matroid.py # 11 doctests failed', 'src/sage/schemes/product_projective/point.py # 11 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_sequence.py # 12 doctests failed', 'src/sage/symbolic/constants.py # 12 doctests failed', 'src/sage/tests/french_book/mpoly.py # 13 doctests failed', 'src/sage/graphs/digraph.py # 14 doctests failed', 'src/sage/categories/finite_posets.py # 15 doctests failed', 'src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/matroids/matroid.pyx # 21 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'src/sage/graphs/generic_graph.py # 30 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed']
comment:208 Changed 3 years ago by
- Description modified (diff)
comment:209 Changed 3 years ago by
- Description modified (diff)
comment:210 Changed 3 years ago by
- Description modified (diff)
comment:211 Changed 3 years ago by
Worst 15 files in 8.7.b4:
'src/sage/symbolic/expression.pyx # 10 doctests failed', 'src/sage/matroids/graphic_matroid.py # 11 doctests failed', 'src/sage/schemes/product_projective/point.py # 11 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_sequence.py # 12 doctests failed', 'src/sage/symbolic/constants.py # 12 doctests failed', 'src/sage/matrix/matrix_polynomial_dense.pyx # 14 doctests failed', 'src/sage/tests/books/computational-mathematics-with-sagemath/mpoly_doctest.py # 14 doctests failed', 'src/sage/categories/finite_posets.py # 15 doctests failed', 'src/sage/graphs/generic_graph.py # 18 doctests failed', 'src/sage/combinat/finite_state_machine.py # 19 doctests failed', 'src/sage/misc/classcall_metaclass.pyx # 20 doctests failed', 'src/sage/dynamics/arithmetic_dynamics/wehlerK3.py # 21 doctests failed', 'src/sage/matroids/matroid.pyx # 21 doctests failed', 'src/sage/rings/polynomial/multi_polynomial_ideal.py # 21 doctests failed', 'src/sage/misc/explain_pickle.py # 70 doctests failed'
comment:212 Changed 3 years ago by
Re
'src/sage/symbolic/constants.py # 12 doctests failed',
I only see 6 failed doctests (this is on OS X; is it platform dependent?).
comment:213 Changed 3 years ago by
There are certainly some differences between plateforms and other factors. For instance, I see this, which is not in the reported worst 15:
sage -t --long src/sage/graphs/digraph.py # 14 doctests failed
I had 14 with 8.7.beta1, only 7 with beta2 and beta3, and now 14 again. All these failed doctests are related to the order of items in the output. See #27170.
comment:214 Changed 3 years ago by
- Description modified (diff)
comment:215 Changed 3 years ago by
- Description modified (diff)
Hadn't even seen this ticket; very nice.