Bug 296596 - misc/thefuck: Patch for Python 3.12
Summary: misc/thefuck: Patch for Python 3.12
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-08 11:22 UTC by Eirik Oeverby
Modified: 2026-07-08 11:22 UTC (History)
0 users

See Also:


Attachments
Add patch files to fix for python >= 3.12 (2.36 KB, patch)
2026-07-08 11:22 UTC, Eirik Oeverby
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eirik Oeverby 2026-07-08 11:22:40 UTC
Created attachment 272600 [details]
Add patch files to fix for python >= 3.12

This patch cherry-picks the commit that allows thefuck to work with Python 3.12. The old `imp` library was deprecated and is now removed in 3.12; switch to importlib.

This is upstream commit 0420442, minus the github workflow change.