Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505192 - >=games-util/pyfa-1.1.22 depends on dev-python/python-dateutil
Summary: >=games-util/pyfa-1.1.22 depends on dev-python/python-dateutil
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 18:06 UTC by Nick Wallingford
Modified: 2015-02-17 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Wallingford 2014-03-20 18:06:39 UTC
pyfa now has a hard dependency on python-dateutil. (this is normally pulled in as an indirect dependency via the 'graph' USE flag which is enabled by default.) When running without python-dateutil installed, pyfa fails to start.

Reproducible: Always

Steps to Reproduce:
1. Install pyfa with USE='-graph'
2. Make sure dev-python/dateutil isn't pulled in by something else.
3. Run pyfa
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/pyfa", line 91, in <module>
    from gui.mainFrame import MainFrame
  File "/usr/lib64/python2.7/site-packages/pyfa/gui/mainFrame.py", line 52, in <module>
    from gui.updateDialog import UpdateDialog
  File "/usr/lib64/python2.7/site-packages/pyfa/gui/updateDialog.py", line 24, in <module>
    import dateutil.parser
ImportError: No module named dateutil.parser

Expected Results:  
Starts and runs normally.

The upstream commit that necessitates dateutil is here:

https://github.com/DarkFenX/Pyfa/commit/2d69705469b02c020022c26a07e72ffeb7f5a890#diff-facc9c3a3eb6ed2fa6ec1285f27c9b27

=games-util/pyfa-1.1.21 does not depend on dateutil.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-02-17 22:37:57 UTC
Fixed, thanks!

+*pyfa-1.8.1 (17 Feb 2015)
+
+  17 Feb 2015; Alexandre Rostovtsev <tetromino@gentoo.org> -pyfa-1.2.0.ebuild,
+  -pyfa-1.2.1.ebuild, +pyfa-1.8.1.ebuild, pyfa-9999.ebuild:
+  Very late version bump for Proteus (bug #519416, tthanks to Hedin Ejdesgaard
+  Møller, Stefan Reimer et al); fix missing dep (bug #505192, thanks to Nick
+  Wallingford) and new readme location (bug #533094, thanks to Martin McCourt).