Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950567 - media-sound/picard-2.13.3 - premature deprecation of PyQt5 runtime dependency
Summary: media-sound/picard-2.13.3 - premature deprecation of PyQt5 runtime dependency
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL: https://github.com/metabrainz/picard/...
Whiteboard:
Keywords:
Depends on:
Blocks: 949715
  Show dependency tree
 
Reported: 2025-03-03 23:48 UTC by Scott Furry
Modified: 2025-03-04 23:50 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 Scott Furry 2025-03-03 23:48:48 UTC
2.x version package, in its current form, will silently fail every time. When started from command line, package will report failure due to missing PyQt5 runtime dependency. Ebuild is mistakenly declaring PyQt6 as usable on package 2.x series.


Reproducible: Always




Had removed PyQt5 recently as part of depclean, as no package reported as requiring.

However, found media-sound/picard-2.13.3 will repeatedly fail. Execution from command line reported the following error:
-----
$ picard
Traceback (most recent call last):
  File "/usr/bin/picard", line 4, in <module>
    from picard.tagger import main
  File "/usr/lib/python3.13/site-packages/picard/tagger.py", line 63, in <module>
    from PyQt5 import (
    ...<3 lines>...
    )
ModuleNotFoundError: No module named 'PyQt5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/picard", line 10, in <module>
    crash_handler()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/picard/__init__.py", line 111, in crash_handler
    from PyQt5.QtCore import (
    ...<3 lines>...
    )
ModuleNotFoundError: No module named 'PyQt5'

-----

Upstream is moving code base to using PyQt6 (see upstream bug PICARD-2331 https://github.com/metabrainz/picard/pull/2154). However, implementation is labelled as intended for 'picard 3.x' release. PyQt6 references only exist in master branch. All picard 2.x branches still rely on PyQt5.

Other distributions still report PyQt5 as a requirement for media-sound/picard-2.13.3.
(debian - https://sources.debian.org/src/picard/2.13.3-1/requirements.txt/;
arch - https://archlinux.org/packages/extra/x86_64/picard/;
fedora(rawhide) - https://packages.fedoraproject.org/pkgs/picard/picard/fedora-rawhide.html#dependencies)

Package utilizing PyQt6 is available only when employing upstream 'master' branch (i.e. using 9999 ebuild).

Usage of PyQt6 on package 2.x series is premature and will fail.