Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945076 - media-sound/gpodder-3.11.4-r1[python_single_target_python3_12]: ModuleNotFoundError: No module named 'imp'
Summary: media-sound/gpodder-3.11.4-r1[python_single_target_python3_12]: ModuleNotFoun...
Status: CONFIRMED
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/gpodder/gpodder/pu...
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2024-11-26 23:29 UTC by matoro
Modified: 2024-11-27 13:20 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_945076.txt,7.57 KB, text/plain)
2024-11-26 23:29 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-11-26 23:29:08 UTC
Created attachment 912208 [details]
emerge --info

Despite being supposedly updated to python3.12 compat, this is trying to import a module that was removed in 3.12.

1732663260.449106 [gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
  File "/usr/bin/gpo", line 140, in <module>
    from gpodder import common, core, download, feedcore, model, my, opml, sync, util, youtube  # isort:skip
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/usr/lib/python3.12/site-packages/gpodder/extensions.py", line 34, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Comment 1 Ionen Wolkens gentoo-dev 2024-11-27 00:06:17 UTC
fwiw 3.12 compat was added the by commit that added tests and tests pass even with 3.12, and probably led to the addition (have to start it up to see the failure)

on a side-note, the stable version is still only python3_{10..11}
Comment 2 Ionen Wolkens gentoo-dev 2024-11-27 00:15:14 UTC
(In reply to Ionen Wolkens from comment #1)
> fwiw 3.12 compat was added the by commit that added tests and tests pass
> even with 3.12, and probably led to the addition (have to start it up to see
> the failure)
or err, mis-read the commit.. it was adjusting tests. But seem deal, it did most likely ran them because of that.
Comment 3 Paul Zander 2024-11-27 13:20:05 UTC
Yep. Figured the tests passing would be enough. Applying the patch from the linked pull-request seems to fix this though.