-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mailcap is deprecated in Python 3.11 and will be removed in 3.13 #1632
Comments
Unfortunately it seems you are right :D |
FYI: Python 3.13 is about to be released this week |
Here we are, Fedora 41 is released with python 3.13, and alot breaks with:
Now, I'm not sure this project is still alive. But just to help others gain some time before switching: copying The python docs suggest the |
Alternatively one can depend on https://pypi.org/project/standard-mailcap/ for the time being. |
Thanks for pushing this issue. ATM I agree that adding a dependency as suggested would be the cleanest and straightforward solution and I am happy to push a PR that implements this. |
Is your feature request related to a problem? Please describe.
See Python docs - mailcap module is deprecated
Describe the solution you'd like
Writing a custom mailcap file loader that doesn't rely on the standard library is a good solution. Additionally, I think a non-standard extension of loading mailcap from alot config dir or
$XDG_CONFIG_DIR/mailcap
would be a good idea.Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: