cherrypy / cherrypy

CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev
https://docs.cherrypy.dev
BSD 3-Clause "New" or "Revised" License
1.8k stars 357 forks source link

DeprecationWarning: 'cgi' is deprecated #2020

Closed jaraco closed 4 days ago

jaraco commented 4 months ago

Importing cherrypy emits this warning:

 @ env PYTHONWARNINGS=default::DeprecationWarning pip-run cherrypy -- -c "import cherrypy" 2>1 | grep cherrypy | grep cgi
/var/folders/f2/2plv6q2n7l932m2x004jlw340000gn/T/pip-run-m8n_hnkk/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
jaraco commented 4 months ago

This issue is mostly a duplicate of #2014.