FS#59311 - [python-jaraco] [python-tempora] cherrypy can not be imported due to mismatching jaraco libraries

Attached to Project: Community Packages
Opened by Florijan Hamzic (cin) - Thursday, 12 July 2018, 16:39 GMT
Last edited by Kyle Keen (keenerd) - Saturday, 21 July 2018, 01:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
community/python-tempora has been updated recently and the new version does not work together with python-cherrypy.

The new tempora version references some code of jaraco.functools which currently does not exist in the repository due to an old version of python-jaraco:

https://www.archlinux.org/packages/community/any/python-jaraco/

It's already flagged out of date since February i guess there are some more people working with cherrypy, this should definitely be fixed


Additional info:
community/python-tempora - 1.13-1
community/python-cherrypy - 16.0.3-1

-------
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'


Steps to reproduce:
install python-cherrypy and try to import cherrypy

Workaround:
Install community/python-tempora 1.12
This task depends upon

Closed by  Kyle Keen (keenerd)
Saturday, 21 July 2018, 01:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-jaraco 2018.07.20-1
Comment by Sean Enck (enckse) - Thursday, 12 July 2018, 23:27 GMT
Using code that relies on python-irc - I see this bubble up as well. Though, actually, since it is python-jaraco that is outdated and likely the cause of this it seems like this bug is solely reporting an "out-of-date" package - it is just now causing more problems
Comment by Sean Enck (enckse) - Thursday, 12 July 2018, 23:29 GMT
for reference, in case someone else sees a similar but different trace, I've attached what I was seeing
Comment by Eli Schwartz (eschwartz) - Friday, 13 July 2018, 01:30 GMT
It is not "reporting out of date problems", it is "reporting a broken package, which can be fixed by updating another package".

The bug, is that python-tempora does not work.
Comment by Kyle Keen (keenerd) - Saturday, 21 July 2018, 01:17 GMT
Sorry, this one fell through the cracks. I'm disappointed that more pieces of software are using these junk libraries.

Loading...