Page MenuHomeSolus

Drop python2 support for mutagen
AbandonedPublic

Authored by algent on Dec 29 2020, 5:27 PM.
Tags
None
Referenced Files
F10874266: D10256.diff
Jun 19 2023, 11:58 PM
F10844982: D10256.id24649.diff
Jun 10 2023, 10:39 PM
F10836726: D10256.diff
Jun 8 2023, 7:49 PM
F10751650: D10256.diff
May 16 2023, 12:39 PM
F10724143: D10256.id.diff
May 7 2023, 12:42 PM
Subscribers
None

Details

Reviewers
None
Group Reviewers
Triage Team
Summary

Per dropping python2 support for flake8, pyflakes and pycodestyle, it is necessary to drop python2 also for mutagen.

Depends on D9620

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

Succesfully pass build tests.

Diff Detail

Repository
R2121 mutagen
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

mutagen is also used by libgpod.
libgpod is rebuilded without mutagen but these files will be missing:

-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/__init__.py</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/__init__.pyc</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/__init__.pyo</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/_gpod.so</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gpod.py</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gpod.pyc</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gpod.pyo</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gtkpod.py</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gtkpod.pyc</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/gtkpod.pyo</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/ipod.py</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/ipod.pyc</Path>
-            <Path fileType="library">/usr/lib/python2.7/site-packages/gpod/ipod.pyo</Path>

Rebuild succesfully against new libgpod-devel without python2 files:

  • strawberry
  • rhythmbox
  • guayadeque

I don't use these apps, just rebuild, run them and then play a mp3 file.

Python2 support is still needed for pyflakes to make sure that python-pycurl pass build tests.