Bug 1677978

Summary: Package is broken
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: python-pygraphvizAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python3-pygraphviz-1.5-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-17 14:04:55 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:
Bug Depends On:    
Bug Blocks: 1675758    

Description Elliott Sales de Andrade 2019-02-17 09:58:27 UTC
Description of problem:
https://src.fedoraproject.org/rpms/python-pygraphviz/c/8b5d68f8817bec53cc43236ead19ff9be63f1911?branch=master removed the tests directory.
However, a simple `import pygraphviz` will import things from that directory. So the package is now broken.

Version-Release number of selected component (if applicable):
python3-pygraphviz-1.5-2.fc30.x86_64

Steps to Reproduce:
1. mock -r fedora-rawhide-x86_64 --install python3-pygraphviz
2. mock -r fedora-rawhide-x86_64 --shell
3. python3 -c 'import pygraphviz'

Actual results:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/pygraphviz/__init__.py", line 70, in <module>
    from pygraphviz.tests.test import run as test
ModuleNotFoundError: No module named 'pygraphviz.tests'


Expected results:
No error.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-02-17 14:04:55 UTC
Fixed in rawhide

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-02-17 16:21:24 UTC
Fixed in rawhide