You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the warning DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 after Void Linux bumped the default Python version from 3.10 to 3.11 (yet I don't know why Termux with Python 3.11 does not show the warning, maybe because I installed it from PyPI?).
Although it could take a lot of time for us to get our hands on 3.13, it's still better to get prepared in advance.
I got the warning
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
after Void Linux bumped the default Python version from 3.10 to 3.11 (yet I don't know why Termux with Python 3.11 does not show the warning, maybe because I installed it from PyPI?).Although it could take a lot of time for us to get our hands on 3.13, it's still better to get prepared in advance.
There are two ways:
pyproject.toml
cgi.parse_header
withemail.message
as was mentioned in DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 Pylons/webob#437 and https://peps.python.org/pep-0594/#cgi.I took a brief look at the ToDo list, coding guideline and code base, it seems that
cgi
is rarely used so the fix should be simple.Just these lines?
buku/buku
Lines 3809 to 3820 in 4384cbd
A sample fix: https://github.com/Vinfall/buku/commit/5de3c11e559c5700f62c8961460ce0497e3275fe.
If you'd liike to remove the warning for now, I can raise a PR 😆.
The text was updated successfully, but these errors were encountered: