From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mxd2.seznam.cz (mxd2.seznam.cz [IPv6:2a02:598:2::210]) by sourceware.org (Postfix) with ESMTPS id 872F93858C2C for ; Tue, 3 May 2022 20:42:04 +0000 (GMT) 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 Received: from email.seznam.cz by email-smtpc10a.ng.seznam.cz (email-smtpc10a.ng.seznam.cz [10.23.11.45]) id 546cb481f13ab67e546cba8f; Tue, 03 May 2022 22:41:59 +0200 (CEST) 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= Received: from [192.168.2.5] (brno.ccbr.com [77.240.178.2]) by email-relay24.ng.seznam.cz (Seznam SMTPD 1.3.136) with ESMTP; Tue, 03 May 2022 22:41:55 +0200 (CEST) Message-ID: 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@cygwin.com References: From: Libor Ukropec In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 20:42:06 -0000 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 >     import fasteners >   File "/usr/lib/python2.7/site-packages/fasteners/__init__.py", line > 23, in >     from fasteners.lock import locked  # noqa >   File "/usr/lib/python2.7/site-packages/fasteners/lock.py", line 24, > in >     from fasteners import _utils >   File "/usr/lib/python2.7/site-packages/fasteners/_utils.py", line 42, > in >     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 > >