Closed Sandr0x00 closed 3 months ago
cgi is used in this package, and is deprecated from Python 3.11 PEP-594
cgi
sectxt/__init__.py:9: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header
The recommended replacement is email.message.Message; there is an example in the PEP showing how to use it instead.
email.message.Message
I opened a PR fixing this: #71
Thank you for reporting the deprectation and resolving it with the pull request. The pull request has been accepted.
cgi
is used in this package, and is deprecated from Python 3.11 PEP-594The recommended replacement is
email.message.Message
; there is an example in the PEP showing how to use it instead.