bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.37k stars 1.46k forks source link

fix for latest cherrypy #1237

Open sailfish009 opened 4 years ago

sailfish009 commented 4 years ago

works for latest cherrypy version, tested.

defnull commented 3 years ago

So CherryPy removed the WSGI server API in version 9 and re-added it in version 18? Hmm. I think we should finally drop support for cherrypy 9+. The WSGI part of it was outsourced into a spparate module (cheroot), so you do not need the full cherrypy dependency anymore to use its wsgi implementation. Supporting both (cherrypy and cheroot) makes no sense to me.