public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Libor Ukropec <ace@seznam.cz>
To: cygwin@cygwin.com
Subject: Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?
Date: Tue, 3 May 2022 22:41:47 +0200	[thread overview]
Message-ID: <e5d5211b-c6e9-7c6e-dbf9-5221a6d20a61@seznam.cz> (raw)
In-Reply-To: <cccca114-e27e-ce82-262f-0ee2e930380a@t-online.de>

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


  reply	other threads:[~2022-05-03 20:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 17:16 Christian Franke
2022-05-03 20:41 ` Libor Ukropec [this message]
2022-05-07 13:55   ` Libor Ukropec
2022-05-07 18:01     ` Christian Franke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5d5211b-c6e9-7c6e-dbf9-5221a6d20a61@seznam.cz \
    --to=ace@seznam.cz \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).