Bugzilla – Bug 1219312
alsa-tools/hwmixvolume requires python2 (/usr/bin/python)
Last modified: 2024-01-30 12:08:21 UTC
the subpackage hwmoxvolume has a runtime dependency on /usr/bin/python (aka python2) But it also reuiqres pyalsa (provided by python{39,310,311}-alsa To make matters worse, on my TW install, installing hwmixvolume would also dragin pythohn310 (not opting of python311) > sudo zypper in hwmixvolume Retrieving repository 'GNOME:Next' metadata .....................................................................................[done] Building repository 'GNOME:Next' cache ..........................................................................................[done] Loading repository data... Reading installed packages... Resolving package dependencies... The following 4 recommended packages were automatically selected: python310 python310-curses python310-dbm python310-pip The following 15 NEW packages are going to be installed: hwmixvolume libpython2_7-1_0 libpython3_10-1_0 python310 python310-alsa python310-base python310-curses python310-dbm python310-gobject python310-gobject-cairo python310-gobject-Gdk python310-pip python310-pycairo python310-setuptools python-base 15 new packages to install. Overall download size: 21.6 MiB. Already cached: 0 B. After the operation, additional 80.6 MiB will be used So it seems like this package needs quite some cleanup
1142590 State:new By:dimstar When:2024-01-29T16:20:07 Created by: dimstar submit: home:dimstar:Factory/alsa-tools@2 -> multimedia:libs Descr: - hwmixvolume: replace the unversioned python shebang to point to python3 (alsa-project/alsa-tools@fb04384 claims it is compatible to python3). - Change hwmixvolume's dependency on pyalso to python3-alsa: ensure we get the main python interpreters' alsa module (matching the /usr/bin/python3 shebang) (boo#1219312).
(In reply to Dominique Leuenberger from comment #1) > 1142590 State:new By:dimstar When:2024-01-29T16:20:07 > Created by: dimstar > submit: home:dimstar:Factory/alsa-tools@2 -> > multimedia:libs > Descr: - hwmixvolume: replace the unversioned python shebang to > point to > python3 (alsa-project/alsa-tools@fb04384 claims it is > compatible > to python3). - Change hwmixvolume's dependency on pyalso to > python3-alsa: ensure we get the main python interpreters' > alsa > module (matching the /usr/bin/python3 shebang) > (boo#1219312). with this diff, zypper install now reports: > sudo zypper in /var/tmp/build-root/openSUSE_Factory-x86_64/.mount/home/abuild/rpmbuild/RPMS/x86_64/hwmixvolume-0.9-0.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies... The following 2 NEW packages are going to be installed: hwmixvolume python311-alsa 2 new packages to install. Overall download size: 104.0 KiB. Already cached: 0 B. After the operation, additional 302.7 KiB will be used.
So it looks good with your PR, right? Let's close the bug. Thanks!