Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948464 - sys-kernel/ugrd-1.29.0: Requires zenlib-3.0.2
Summary: sys-kernel/ugrd-1.29.0: Requires zenlib-3.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: zen
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-20 20:13 UTC by Stefan Huber
Modified: 2025-01-20 23:49 UTC (History)
1 user (show)

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 Stefan Huber 2025-01-20 20:13:39 UTC
Running sys-kernel/ugrd-1.29.0 with dev-python/zenlib-2.4.1 leads to the following error:

uccessfully forked off '(direxec)' as PID 196078.                                                                     
Traceback (most recent call last):                                                                                     
  File "/usr/lib/python-exec/python3.12/ugrd", line 5, in <module>                                                     
    from ugrd.main import main                                                                                         
  File "/usr/lib/python3.12/site-packages/ugrd/__init__.py", line 1, in <module>                                       
    from .initramfs_generator import InitramfsGenerator                                                                
  File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 4, in <module>                            
    from zenlib.util import colorize, pretty_print                                                                     
ImportError: cannot import name 'colorize' from 'zenlib.util' (/usr/lib/python3.12/site-packages/zenlib/util/__init__.py)


In zenlib.util, colorized is available since dev-python/zenlib-3.0.2.
Comment 1 Larry the Git Cow gentoo-dev 2025-01-20 23:49:56 UTC
The bug has been closed via the following commit(s):

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

commit e91ba92eda10d4711c183c2b5da97194a6b49b80
Author:     Zen <z@pyl.onl>
AuthorDate: 2025-01-20 22:34:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-20 23:48:25 +0000

    sys-kernel/ugrd: revise 1.29.0, fix RDEPEND version for zenlib
    
    3.0.2 is needed for colorize
    
    Closes: https://bugs.gentoo.org/948464
    Signed-off-by: Zen <z@pyl.onl>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-kernel/ugrd/{ugrd-1.29.0.ebuild => ugrd-1.29.0-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)