Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904262 - app-misc/vit-2.2.0: Missing RDEPEND
Summary: app-misc/vit-2.2.0: Missing RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-13 07:08 UTC by Adrian Schollmeyer
Modified: 2023-04-15 16:21 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 Adrian Schollmeyer 2023-04-13 07:08:25 UTC
Seems like dev-python/urwid and dev-python/tasklib do not (only) belong to BDEPEND, but RDEPEND as well. vit crashes with ModuleNotFoundError when urwid or tasklib is not installed. Installing both of these packages as oneshot solves the issue temporarily.

Reproducible: Always

Steps to Reproduce:
1. Install app-misc/vit
2. Uninstall dev-python/urwid or dev-python/tasklib (this should by done by depclean)
3. Start vit
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/vit", line 5, in <module>
    from vit.command_line import main
  File "/usr/lib/python3.10/site-packages/vit/__init__.py", line 2, in <module>
    from .application import Application
  File "/usr/lib/python3.10/site-packages/vit/application.py", line 14, in <module>
    import urwid
ModuleNotFoundError: No module named 'urwid'

or

Traceback (most recent call last):
  File "/usr/bin/vit", line 5, in <module>
    from vit.command_line import main
  File "/usr/lib/python3.10/site-packages/vit/__init__.py", line 2, in <module>
    from .application import Application
  File "/usr/lib/python3.10/site-packages/vit/application.py", line 24, in <module>
    from vit.task import TaskListModel
  File "/usr/lib/python3.10/site-packages/vit/task.py", line 4, in <module>
    import tasklib
ModuleNotFoundError: No module named 'tasklib'

Expected Results:  
vit starts as usual.
Comment 1 Larry the Git Cow gentoo-dev 2023-04-15 16:21:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4a4308b6691c4db3041bf333e5dc3fa48710da

commit 3c4a4308b6691c4db3041bf333e5dc3fa48710da
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-04-15 16:10:31 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-04-15 16:20:55 +0000

    app-misc/vit: Version bump to 2.3.0
    
    * Move dependencies from BDEPEND to RDEPEND (bug #904262)
    
    Closes: https://bugs.gentoo.org/904262
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-misc/vit/Manifest         |  1 +
 app-misc/vit/vit-2.3.0.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)