duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?

Libor Ukropec ace@seznam.cz
Sat May 7 13:55:54 GMT 2022


Hi Christian,

few moments ago I uploaded 0.8.22 duplicity which should have all 
dependencies in cygwin. Any feedback is welcome.

Please note that it will take some time until all mirrors are synchronized.

Regards,
Libor

Dne 03.05.2022 v 22:41 Libor Ukropec napsal(a):
> Dne 03.05.2022 v 19:16 Christian Franke napsal(a):
>> Testcase:
>>
>> $ cygcheck -f /usr/bin/duplicity
>> duplicity-0.7.19-1
>>
>> $ 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 
>> 42, in <module>
>>      from monotonic import monotonic as now  # noqa
>> ImportError: No module named monotonic
>>
>> $ sed -n '39,42p' /usr/lib/python2.7/site-packages/fasteners/_utils.py
>> try:
>>      from time import monotonic as now
>> except (ImportError, AttributeError):
>>      from monotonic import monotonic as now  # noqa
>>
>> AFAICS time.monotonic() is not available for python2 and no 
>> python*-monotonic package is available for Cygwin.
> 
> you are right, there's no cygwin package for monotonic. I did not 
> realize that, I must have installed it in the past for other stuff.
> 
> for now the workaround is to use the pip:
> pip install monotonic
> 
> Now I'm working on updating to the 0.8 duplicity that do not require the 
> monotonic package, so question is whether there's a need to introduce 
> the python27-monotonic package.
> 
> Any opinion?
>>
>> Regards,
>> Christian
>>
>>
> 
> 


More information about the Cygwin mailing list