20 Aug
2023
20 Aug
'23
8:39 p.m.
Please forgive a dumb question from a non-programmer: How to apply the !1130.diff patch to a venv installation?
https://gitlab.com/mailman/mailman/-/merge_requests/1130
I am looking to upgrade Debian 11 to 12. The latter uses python3.11, which no longer has a dependency on importlib_resources. As a result, MM3 won't start unless all references to importlib_resources instead call importlib.resources, now part of stdlib.
I tried patching all importlib.resource references by hand, and MM3 starts – but that can't be the "right" way to do this. Also, the diff references a src directory that doesn't exist under /opt/mailman.
Thanks in advance for patching clues.
dn