Skip to content
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

cgi will be removed in Python 3.13 #70

Closed
Sandr0x00 opened this issue Jun 25, 2024 · 2 comments
Closed

cgi will be removed in Python 3.13 #70

Sandr0x00 opened this issue Jun 25, 2024 · 2 comments

Comments

@Sandr0x00
Copy link
Contributor

cgi is used in this package, and is deprecated from Python 3.11 PEP-594

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.

@Sandr0x00
Copy link
Contributor Author

I opened a PR fixing this: #71

@DigitalTrustCenter
Copy link
Owner

Thank you for reporting the deprectation and resolving it with the pull request. The pull request has been accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants