Bug 1677978 - Package is broken
Summary: Package is broken
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pygraphviz
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1675758
TreeView+ depends on / blocked
 
Reported: 2019-02-17 09:58 UTC by Elliott Sales de Andrade
Modified: 2019-02-17 16:21 UTC (History)
1 user (show)

Fixed In Version: python3-pygraphviz-1.5-3
Clone Of:
Environment:
Last Closed: 2019-02-17 14:04:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.