Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800992 - =sys-apps/liquidctl-1.7.0 now requires dev-python/colorlog
Summary: =sys-apps/liquidctl-1.7.0 now requires dev-python/colorlog
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-07 10:28 UTC by Jakub
Modified: 2021-07-07 14:02 UTC (History)
2 users (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 Jakub 2021-07-07 10:28:34 UTC
=sys-apps/liquidctl-1.7.0 now requires dev-python/colorlog

If no dev-python/colorlog is present on the system then `liquidctl` results in:

```
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/liquidctl", line 33, in <module>
    sys.exit(load_entry_point('liquidctl==1.7.0', 'console_scripts', 'liquidctl')())
  File "/usr/lib/python-exec/python3.9/liquidctl", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/liquidctl/cli.py", line 77, in <module>
    import colorlog
ModuleNotFoundError: No module named 'colorlog'
```
Comment 1 Alexey 2021-07-07 11:31:36 UTC
Where did you find =sys-apps/liquidctl-1.7.0 ?

The latest version of liquidctl I packaged in ::guru is 1.4.1, and it's app-misc/liquidctl

Yes, it needs to be updated, but that's a separate issue.
Comment 2 Jakub 2021-07-07 12:02:55 UTC
(In reply to Alexey from comment #1)
> Where did you find =sys-apps/liquidctl-1.7.0 ?
> 
> The latest version of liquidctl I packaged in ::guru is 1.4.1, and it's
> app-misc/liquidctl
> 
> Yes, it needs to be updated, but that's a separate issue.

My bad, I looked into wrong overlay (sys-apps/liquidctl). Sorry for this.
Comment 3 Larry the Git Cow gentoo-dev 2021-07-07 14:02:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eebe04d2a37156ac27ed1b3006a0d924da782ea7

commit eebe04d2a37156ac27ed1b3006a0d924da782ea7
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2021-07-07 11:57:52 +0000
Commit:     Alexey Sokolov <alexey+gentoo@asokolov.org>
CommitDate: 2021-07-07 11:57:52 +0000

    app-misc/liquidctl: version 1.7.0
    
    Bug: https://bugs.gentoo.org/800992
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>

 app-misc/liquidctl/Manifest               |  1 +
 app-misc/liquidctl/liquidctl-1.7.0.ebuild | 37 +++++++++++++++++++++++++++++++
 app-misc/liquidctl/metadata.xml           |  2 +-
 3 files changed, 39 insertions(+), 1 deletion(-)