FS#54461 - [duplicity] Missing dep python2-fasteners (AUR)
Attached to Project:
Community Packages
Opened by Ole Martin Handeland (olemartinorg) - Thursday, 15 June 2017, 09:51 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 17 June 2017, 18:48 GMT
Opened by Ole Martin Handeland (olemartinorg) - Thursday, 15 June 2017, 09:51 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 17 June 2017, 18:48 GMT
|
Details
Description:
Duplicity does not work after upgrade to duplicity-0.7.13-1, as there's a missing dependency for the 'fasteners' python module. It exists in AUR, but I guess community shouldn't depend on packages from AUR. From the duplicity 0.7.13 changelog: * Fixed bug #1320641 and others regarding lockfile - swap from lockfile to fasteners module Steps to reproduce: $ duplicity Traceback (most recent call last): File "/usr/bin/duplicity", line 42, in <module> import fasteners ImportError: No module named fasteners |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 17 June 2017, 18:48 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.7.13-2.
Saturday, 17 June 2017, 18:48 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.7.13-2.
Fixed bug #1320641 and others regarding lockfile
- swap from lockfile to fasteners module
http://www.nongnu.org/duplicity/CHANGELOG
- community/python2-monotonic
- aur/python2-fasteners
$ duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 42, in <module>
import fasteners
File "/usr/lib/python2.7/site-packages/fasteners/__init__.py", line 23, in <module>
from fasteners.lock import locked # noqa
File "/usr/lib/python2.7/site-packages/fasteners/lock.py", line 24, in <module>
from fasteners import _utils
File "/usr/lib/python2.7/site-packages/fasteners/_utils.py", line 22, in <module>
from monotonic import monotonic as now # noqa
ImportError: No module named monotonic
So the former should be a dependency of the latter, and not of duplicity.
$ duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 42, in <module>
import fasteners
File "/usr/lib/python2.7/site-packages/fasteners/__init__.py", line 23, in <module>
from fasteners.lock import locked # noqa
File "/usr/lib/python2.7/site-packages/fasteners/lock.py", line 24, in <module>
from fasteners import _utils
File "/usr/lib/python2.7/site-packages/fasteners/_utils.py", line 22, in <module>
from monotonic import monotonic as now # noqa
ImportError: No module named monotonic
Installing python2-monotonic fixed that. I don't see python2-monotonic mentioned as it's dependency here https://aur.archlinux.org/packages/python2-fasteners/
You can see this dependency on pypi [1] (Requires Distributions section).
[1]: https://pypi.python.org/pypi/fasteners
https://www.archlinux.org/packages/community/any/python-fasteners/