Summary: | dev-python/python-xlib-0.32: uses python[tk] but does not depend on it (was: media-gfx/ueberzug-18.1.9-r1 missing required use dev-lang/python[tk]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ktoupt |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/python-xlib/python-xlib/issues/240 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ktoupt
2022-11-19 04:12:13 UTC
ueberzug doesn't use tk at all, comes from python-xlib as shown in: File "/usr/lib/python3.10/site-packages/Xlib/ext/randr.py", line 37, in <module> from tkinter import W ueberzug works just fine without tk when using python-xlib-0.31, looks new in python-xlib-0.32 Albeit I kind of wonder what python-xlib is even using it for here..? Seems useless and works fine if just remove the import line. (In reply to Ionen Wolkens from comment #2) > Albeit I kind of wonder what python-xlib is even using it for here..? Seems > useless and works fine if just remove the import line. Was thinking to go report it myself but it's already been done, updating $URL The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e6af52390f16a3f7b25744de303a0e69d724e3 commit 02e6af52390f16a3f7b25744de303a0e69d724e3 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-11-28 05:22:54 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-11-28 05:23:12 +0000 dev-python/python-xlib: fix with python[-tk] Closes: https://bugs.gentoo.org/881851 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../files/python-xlib-0.32-drop-unused-tkinter-import.patch | 9 +++++++++ .../{python-xlib-0.32.ebuild => python-xlib-0.32-r1.ebuild} | 4 ++++ 2 files changed, 13 insertions(+) |