Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679812

Summary: =dev-python/cherrypy-18.1.0 should depend on >=dev/python/cheroot-6.3.0
Product: Gentoo Linux Reporter: Florian Berger <florian.berger>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 679810    
Bug Blocks:    

Description Florian Berger 2019-03-08 20:21:45 UTC
dev-python/cherrypy has outsourced its web server component into dev-python/cheroot.

dev-python/cheroot-6.3.0 has changed the API of cheroot.wsgi.Server, which is reflected in dev-python/cherrypy-18.1.0 .

However, dev-python/cherrypy-18.1.0 only depends on >=dev-python/cheroot-5.9.1 , resulting in the error:

...
 File "/usr/lib/python3.6/site-packages/cherrypy/_cpwsgi_server.py", line 78, in __init__
    peercreds_resolve_enabled=self.server_adapter.peercreds_resolve,
TypeError: __init__() got an unexpected keyword argument 'peercreds_enabled'

dev-python/cherrypy-18.1.0 should depend on >=dev-python/cheroot-6.3.0 .

Currently the required version of cheroot is not in the tree. I have filed bug 679810 for that.
Comment 1 Mike Gilbert gentoo-dev 2020-06-05 04:09:15 UTC
setup.py has cheroot>=6.2.4 in install_requires, and the current ebuild matches that.