delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/03/16:42:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 872F93858C2C
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=seznam.cz
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seznam.cz
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta;
t=1651610519; bh=mV1HdxMw7or/izU3wQxjHM2FJZLZi0v2BF9Ux45QITs=;
h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To:
References:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:
X-szn-frgn:X-szn-frgc;
b=bsSvuRp+gdgik2UCQmTD56Xu+dBTUZa7oAusT3VGoYlDLVl+lqBkU6f4u3ahqsDAx
JdQLKBdBU4BHKcJ02huYA+Lf5t8vXwfWvNFwO1LU978tCSTkjpPMJKsRD//+3xX3dk
k8UVL+jt9pmBuvQjpgThM8a9rdAhAgx0FWer+Smw=
Message-ID: <e5d5211b-c6e9-7c6e-dbf9-5221a6d20a61@seznam.cz>
Date: Tue, 3 May 2022 22:41:47 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Subject: Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency
python-monotonic?
To: cygwin AT cygwin DOT com
References: <cccca114-e27e-ce82-262f-0ee2e930380a AT t-online DOT de>
From: Libor Ukropec <ace AT seznam DOT cz>
In-Reply-To: <cccca114-e27e-ce82-262f-0ee2e930380a@t-online.de>
X-szn-frgn: <522059bc-6597-4035-b2cd-d02a98b8cb92>
X-szn-frgc: <0>
X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 243KgNWx028793

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


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019