Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59746 - [python-cherrypy] missing dependencies: contextlib2 and zc.lockfile

Attached to Project: Community Packages
Opened by John Pitney (johnp636) - Wednesday, 22 August 2018, 02:41 GMT
Last edited by Thore Bödecker (foxxx0) - Tuesday, 04 September 2018, 13:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thore Bödecker (foxxx0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

CherryPy upstream added new dependencies on contextlib2 and zc.lockfile. These are not listed as dependencies for python-cherrypy 17.3.0-1.

Additional info:

python-zc is packaged and seems to work OK. Unfortunately, a package python2-contextlib2 exists, but python-contextlib2 does not.

* package version(s)
17.3.0-1

* config and/or log files etc.
[none]

Steps to reproduce:
Try to import cherrypy.
Python raises an error:
[...]
File "/usr/lib/python3.7/site-packages/cherrypy/lib/sessions.py", line 112, in <module>
import contextlib2
ModuleNotFoundError: No module named 'contextlib2'

Try again, running in a virtualenv with contextlib2 installed, Python raises an error:
[...]
File "/usr/lib/python3.7/site-packages/cherrypy/lib/sessions.py", line 114, in <module>
import zc.lockfile
ModuleNotFoundError: No module named 'zc'
This task depends upon

Closed by  Thore Bödecker (foxxx0)
Tuesday, 04 September 2018, 13:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  only checked upstream master and didn't check the latest release...

of course there were some fixes regarding the contextlib2 stuff that needed backporting.

py2 package is still fine with 17.3.0-2

python-cherrypy is now fixed as of 18.0.0-2

Loading...