AttributeError: 'ModelRoot' object has no attribute 'node'"

Bug #1854132 reported by licanwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Undecided
licanwei

Bug Description

unit test failed.
The reason is lib networkx rmoved G.node in version 2.4.
reference:
https://networkx.github.io/documentation/stable/release/release_2.4.html

licanwei (li-canwei2)
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.opendev.org/696239

Changed in watcher:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.opendev.org/696239
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=4a269ba0395b1f83433f53d27a81662357334af2
Submitter: Zuul
Branch: master

commit 4a269ba0395b1f83433f53d27a81662357334af2
Author: licanwei <email address hidden>
Date: Wed Nov 27 15:25:25 2019 +0800

    Change self.node to self.nodes in model_root

    networkx removed G.node in version 2.4[1]
    G.node was replaced by G.nodes since version 2.0[2],
    and supports Python 2.7, 3.5, 3.6 and 3.7 from 2.2
    so the lower constraint version is 2.2.
    lib task_flow also invokes lib networkx,
    task_flow version is also needed to be updated.
    [1]: https://networkx.github.io/documentation/stable/release/release_2.4.html
    [2]: https://networkx.github.io/documentation/stable/release/release_2.0.html
    Change-Id: I268bcf57ec977bd8132a9f1573b28b681cb4ce1e
    Closes-Bug: #1854132

Changed in watcher:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.