Re: Not working due to jaraco.functools dependency?
Jerzy Jalocha <[email protected]> Wed, 18 Jul 2018 12:44:47 -0700 (PDT)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, July 18, 2018 at 2:34:49 PM UTC-4, Tim Roberts wrote: > > Jerzy Jalocha wrote: > > > I am not sure if this is the right place to ask. > I am unable to start a cherrypy instance since an update a few days ago. > This is the trace: > > Traceback (most recent call last): > File "webserver.py", line 22, in <module> > import cherrypy > File "/usr/lib/python3.6/site-packages/cherrypy/__init__.py", line 76, > in <module> > from . import _cprequest, _cpserver, _cptree, _cplogging, _cpconfig > File "/usr/lib/python3.6/site-packages/cherrypy/_cpserver.py", line 8, > in <module> > from cherrypy.process.servers import ServerAdapter > File "/usr/lib/python3.6/site-packages/cherrypy/process/__init__.py", > line 14, in <module> > from . import plugins, servers > File "/usr/lib/python3.6/site-packages/cherrypy/process/servers.py", > line 126, in <module> > import portend > File "/usr/lib/python3.6/site-packages/portend.py", line 18, in <module> > from tempora import timing > File "/usr/lib/python3.6/site-packages/tempora/timing.py", line 137, in > <module> > class BackoffDelay(six.Iterator): > File "/usr/lib/python3.6/site-packages/tempora/timing.py", line 225, in > BackoffDelay > @jaraco.functools.save_method_args > AttributeError: module 'jaraco.functools' has no attribute > 'save_method_args' > > I'm surprised that this has not been mentioned here. > It seems to me that there's something wrong in cherrypy or in jaraco. > Does anyone know what to do about this? > > > As was cautioned in the pull request that added the "portend" dependency 4 > years ago, this is the reason why it's dangerous to rely on relatively > minor third-party packages. CherryPy now depends on portend, which depends > on tempora, which depends on jaraco. The "save_method_args" option was > added to jaraco two weeks ago. Your jaraco version is now too old. > > -- > Tim Roberts, [email protected] <javascript:> > Providenza & Boekelheide, Inc. > > Hello Tim, Thank you so much for your clear and detailed answer! Since this is not a CherryPy issue, I will try to mark this topic as Solved and take the issue to Arch, where the python-jaraco package should be updated. Best regards, J -- You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. For more options, visit https://groups.google.com/d/optout.