Changes between Initial Version and Version 11 of Ticket #12806


Ignore:
Timestamp:
06/14/12 16:35:30 (7 years ago)
Author:
jlopez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12806

    • Property Cc kini fbissey brunellus ncohen added
    • Property Status changed from new to needs_review
    • Property Authors changed from to Daniel Krenn, Javier López Peña
  • Ticket #12806 – Description

    initial v11  
    11When upgrading the networkx package to 1.6, there arise a lot of doctest errors, see discussion on [http://groups.google.com/group/sage-devel/browse_thread/thread/60e2704e68cad4f4 sage-devel].
    22This ticket should contain everything that is necessary to do so.
     3
     4To get the doctests passing, the following modifications have been made:
     51. Fixed the calls in `graph.py` to conform to the new API for `betweennness_centrality`. Also exposed the new options.
     62. Failing doctest in `digraph.py` was shocasing a bug that isn't there anymore. Fixed and documented it, and exposed the previously offending implementation to sage
     73. Two failures in `graph_generators.py` were due to changes in randomized methods, so just changed the tests to conform to the new output, the rest were due to a bad-parameter case that was used to raise an exception but now degenerates gracefully. Fixed the corresponding doctests to account for that.
     84. Failures in `graph_generic.py` were due to a change in the output of clustering coefficients for weighted graphs. Added an optional parameter to use the new output, implemented the old behaviour as it was in NetworkX 1.2, and set the old behaviour to default with a deprecation warning.
     9
     10To review this ticket:
     111. Install [http://www.math.tugraz.at/~krenn/whatever/networkx-1.6.spkg this spkg]
     122. Apply [http://trac.sagemath.org/sage_trac/attachment/ticket/12806/trac_12806_doctest_fixes.patch this patch]