HomeFreeBSD

www/py-cherrypy: unbreak with DEFAULT_VERSIONS += python=3.8

Description

www/py-cherrypy: unbreak with DEFAULT_VERSIONS += python=3.8

import cherrypy

Traceback (most recent call last):

File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/cherrypy/__init__.py", line 67, in <module>
  from cherrypy._cperror import HTTPError, HTTPRedirect, InternalRedirect
File "/usr/local/lib/python3.8/site-packages/cherrypy/_cperror.py", line 118, in <module>
  from cgi import escape as _escape

ImportError: cannot import name 'escape' from 'cgi' (/usr/local/lib/python3.8/cgi.py)

Obtained from: upstream

Details

Provenance
jbeichAuthored on
Parents
rP537988: devel/py-repoze.who: Update version 2.3=>2.4
Branches
Unknown
Tags
Unknown