Skip to content

DeprecationWarning: "'cgi' is deprecated and slated for removal in Python 3.13" #11848

Description

@k-bu

Describe the incorrect behavior you saw
The currently used package "cgi" will be removed in Python 3.13.

Describe how to cause this behavior

> python -W always
Python 3.11.0 (main, Feb  3 2023, 12:28:31) [MSC v.1929 64 bit (AMD64)] on win32
>>> from twisted.web import http
...\site-packages\twisted\web\http.py:103: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi

Describe the correct behavior you'd like to see
No warning.

Testing environment

  • Windows: 11
  • Python: 3.11.0
  • Twisted: 22.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions