Bug 1628422

Summary: pydot: 1.2.3 or 1.2.4 needed for networkx
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: pydotAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-05 12:22:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed spec file none

Description Jerry James 2018-09-13 01:49:24 UTC
Description of problem:
I am attempting to update python-networkx to its latest upstream version, but the build fails:

ImportError: pydot 1.0.29 < 1.2.3

Indeed, version 1.2.4 is available here: https://pypi.org/project/pydot/.  If you are short on time, I can assist with the upgrade.

Version-Release number of selected component (if applicable):
pydot-1.0.28-19.fc29

How reproducible:
Always

Steps to Reproduce:
1. Try to build the latest networkx release on Fedora Rawhide

Actual results:
An ImportError, shown above.

Expected results:
Successful build.

Additional info:

Comment 1 Jerry James 2018-09-13 03:36:47 UTC
Created attachment 1482925 [details]
Proposed spec file

I worked out the spec file changes needed.  I am attaching the result as a suggestion.

Comment 2 Jerry James 2018-09-28 03:53:51 UTC
It will be necessary to check the following pydot consumers to make sure the new version doesn't break them:
- dot2tex
- openerp
- python-altgraph
- python-sqlalchemy_schemadisplay
- trytond

I will try to look at that soon.  Help would be ... helpful. :-)

Comment 3 Jerry James 2018-10-04 21:18:58 UTC
I did test builds of the packages named in comment 2 with pydot 1.2.4.  The results are:
- dot2tex: hasn't needed pydot since version 2.8.0.  The (Build)Requires is wrong and should be removed (bug 1636260).
- openerp: FTBFS and is quite old (bug 1605318), can probably be ignored.
- python-altgraph: does not use pydot at all.  The Requires is wrong and should be removed (bug 1636263).
- python-sqlalchemy_schemadisplay: seems to work okay with the new pydot
- trytond: seems to work okay with the new pydot

Can we proceed with updating pydot in Rawhide?  Thank you.

Comment 4 Tom "spot" Callaway 2018-10-05 12:22:11 UTC
pydot-1.2.4-2.fc30 in rawhide. Please note that it is python3 only.

Comment 5 Jerry James 2018-10-05 17:24:01 UTC
Thank you!  Python 3 only is fine, as I am throwing out pretty much all of my python 2 subpackages in the very near future.