Description of problem: thefuck 3.32 on rawhide causes: Traceback (most recent call last): File "/usr/bin/thefuck", line 5, in <module> from thefuck.entrypoints.main import main File "/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in <module> from .. import logs # noqa: E402 ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/thefuck/logs.py", line 8, in <module> from .conf import settings File "/usr/lib/python3.12/site-packages/thefuck/conf.py", line 1, in <module> from imp import load_source ModuleNotFoundError: No module named 'imp' ---- just install and run to reproduce bug. Version-Release number of selected component: thefuck-3.32-10.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.6.0-0.rc7.54.fc40.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/thefuck cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-2a0f0ef6-3783-4a67-b9bf-1efc5e0c2e92.scope uid: 1000 reason: conf.py:1:<module>:ModuleNotFoundError: No module named 'imp' executable: /usr/bin/thefuck type: Python3 package: thefuck-3.32-10.fc39 runlevel: N 5 exception_type: ModuleNotFoundError crash_function: module interpreter: python3-3.12.0-2.fc40.x86_64 Truncated backtrace: #1 [/usr/lib/python3.12/site-packages/thefuck/conf.py:1] <module> #2 [/usr/lib/python3.12/site-packages/thefuck/logs.py:8] <module> #3 [/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py:8] <module> #4 [/usr/bin/thefuck:5] <module>
Created attachment 1995361 [details] File: os_info
Created attachment 1995362 [details] File: mountinfo
Created attachment 1995363 [details] File: open_fds
Created attachment 1995364 [details] File: namespaces
Created attachment 1995365 [details] File: backtrace
Created attachment 1995366 [details] File: cpuinfo
Created attachment 1995367 [details] File: environ
FEDORA-2024-6cd733cb83 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-6cd733cb83
FEDORA-2024-6cd733cb83 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.