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
babel currently uses cgi.parse_headerhere to parse mime type headers.
The cgi module is deprecated in Python 3.11 by PEP 594, and is scheduled for removal in 3.13.
The recommended replacement is email.message.Message; there is an example in the PEP showing how to use it instead.
Activity
Use email.Message for pofile header parsing
Use email.Message for pofile header parsing
hugovk commentedon Oct 30, 2022
Python 3.11 was released on Monday, so this deprecation warning is now showing up.
Do you have a rough idea when this will be released?
Thank you!
akx commentedon Oct 31, 2022
@hugovk I'll try go get that done this week! :)
akx commentedon Nov 1, 2022
@hugovk Babel 2.11.0 is freshly out of the oven! Find it at a PyPI CDN endpoint near you. 😁 https://github.com/python-babel/babel/releases/tag/v2.11.0
hugovk commentedon Nov 1, 2022
Thank you! 🚀
🔧 Stop using the `cgi` stdlib module
🔧 Stop using the `cgi` stdlib module
🔧 Stop using the `cgi` stdlib module
🔧 Stop using the `cgi` stdlib module