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: 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: From: Libor Ukropec In-Reply-To: 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit 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 >     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 > > -- 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