* duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?
@ 2022-05-03 17:16 Christian Franke
2022-05-03 20:41 ` Libor Ukropec
0 siblings, 1 reply; 4+ messages in thread
From: Christian Franke @ 2022-05-03 17:16 UTC (permalink / raw)
To: cygwin
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.
Regards,
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?
2022-05-03 17:16 duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic? Christian Franke
@ 2022-05-03 20:41 ` Libor Ukropec
2022-05-07 13:55 ` Libor Ukropec
0 siblings, 1 reply; 4+ messages in thread
From: Libor Ukropec @ 2022-05-03 20:41 UTC (permalink / raw)
To: cygwin
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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?
2022-05-03 20:41 ` Libor Ukropec
@ 2022-05-07 13:55 ` Libor Ukropec
2022-05-07 18:01 ` Christian Franke
0 siblings, 1 reply; 4+ messages in thread
From: Libor Ukropec @ 2022-05-07 13:55 UTC (permalink / raw)
To: cygwin
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
>>
>>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?
2022-05-07 13:55 ` Libor Ukropec
@ 2022-05-07 18:01 ` Christian Franke
0 siblings, 0 replies; 4+ messages in thread
From: Christian Franke @ 2022-05-07 18:01 UTC (permalink / raw)
To: cygwin
Libor Ukropec wrote:
> Hi Christian,
>
> few moments ago I uploaded 0.8.22 duplicity which should have all
> dependencies in cygwin. Any feedback is welcome.
>
A first quick backup+restore test worked as expected.
Thanks,
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-07 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 17:16 duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic? Christian Franke
2022-05-03 20:41 ` Libor Ukropec
2022-05-07 13:55 ` Libor Ukropec
2022-05-07 18:01 ` Christian Franke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).