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 AA8D8385843E 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=1651931769; bh=ySnwCj36oFlNsJAWxIjb8Zeq+szPAkibGsH0V4NM1+8=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:From:To: References:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-szn-frgn:X-szn-frgc; b=JMCOUpNo9zPLGNMm8g6XUL8geY8sJ8amfJxt4mhrZ1WF1Vodkg00NlFnR5B0Dnvcl 0w76FJ4taB9cDs8Z8od5lneim0iz9p/UuD7jGTP87yYWuJqSGgJkroBXeYpow+oIf5 45wEztixNtxsOcIzRXX6J5Yrsrd17t5adMACvU9Q= Message-ID: <354014d0-d0ea-4c80-01a7-f063883f8f8c@seznam.cz> Date: Sat, 7 May 2022 15:55:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic? From: Libor Ukropec To: cygwin AT cygwin DOT com References: In-Reply-To: X-szn-frgn: <71a376e4-f6a5-409e-8d58-982d9dfa8e80> X-szn-frgc: <0> X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, BODY_8BITS, 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 List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 247DuWoX030622 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 >>      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