GNU bug report logs - #58792
[PATCH] gnu: python-filelock: Update to 3.8.0.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Tanguy Le Carrour <tanguy@HIDDEN>; Keywords: patch; dated Wed, 26 Oct 2022 07:14:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 58792 <at> debbugs.gnu.org:


Received: (at 58792) by debbugs.gnu.org; 5 Nov 2022 11:25:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 05 07:25:02 2022
Received: from localhost ([127.0.0.1]:55755 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1orHIM-0001Rj-75
	for submit <at> debbugs.gnu.org; Sat, 05 Nov 2022 07:25:02 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:50787)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1orHII-0001R7-Lg
 for 58792 <at> debbugs.gnu.org; Sat, 05 Nov 2022 07:24:59 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id E5865FF806;
 Sat,  5 Nov 2022 11:24:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1667647493;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=Qtydhl2C8oPVepmiFhN7TIQuH3C171qe7FNuFhP5dbE=;
 b=iWLWML5dIM53wxTlo+RnCnHFAwmddagMeWNI3eBPtSsHmX22Km85d0fFZPGAc5kUmQUCwu
 Gvg1uRnBVv6XazyWDnSVpI1ExCwVli7jVVt0pUyAVDl+kYfeSAwHibQerS8S4ghfZwAVkD
 g0SfZVl+t0ZZhJOSHdoUoiNzKY5TQJ5xA6USsnXKB6Q5iB/biT9Y8aNZtQ1SDEDONCXbTW
 TMydQlYRWDwiO53sJTPF9RBVDOYlc6vzi+sNlgt/B5zIbwlpfRBI9/tI00OrGIvOjfhP1k
 h1xrId0ZK36X9wtKEXcbICDL4DC8AKfVzumv3v4E4rZ+BLEymt14HRUNVoX/3g==
From: Tanguy Le Carrour <tanguy@HIDDEN>
To: 58792 <at> debbugs.gnu.org
Subject: [PATCH v3 2/2] gnu: python-virtualenv: Update to 20.16.5.
Date: Sat,  5 Nov 2022 12:24:35 +0100
Message-Id: <20221105112435.20540-2-tanguy@HIDDEN>
X-Mailer: git-send-email 2.38.0
In-Reply-To: <20221105112435.20540-1-tanguy@HIDDEN>
References: <20221105112435.20540-1-tanguy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58792
Cc: Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.16.5.
[arguments]<#:phases>: Add phase compatibility-fixes.
[propagated-inputs]: Add python-platformdirs.
---
 gnu/packages/python-xyz.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83e86b21fd..d6efd92bcf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4149,19 +4149,26 @@ (define-public python-vine
 (define-public python-virtualenv
   (package
     (name "python-virtualenv")
-    (version "20.3.1")
+    (version "20.16.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "virtualenv" version))
        (sha256
         (base32
-         "1nbhnpzswcf3lmzn5xabmfdd7ki8r2w2i37y6wml54di6qi1l48c"))))
+         "1nl09v092ap469krvgl5x9r78v99xy1k7fkp36imxp2gk6ws2zi2"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'compatibility-fixes
+           (lambda _
+             ;; We have an outdated version of distlib
+             (substitute* "setup.cfg" (("0.3.5") "0.3.1")))))))
     (native-inputs
      (list python-mock python-pytest python-setuptools-scm))
     (propagated-inputs
-     (list python-appdirs python-distlib python-filelock python-six))
+     (list python-appdirs python-distlib python-filelock python-platformdirs python-six))
     (home-page "https://virtualenv.pypa.io/")
     (synopsis "Virtual Python environment builder")
     (description
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.

Message received at 58792 <at> debbugs.gnu.org:


Received: (at 58792) by debbugs.gnu.org; 5 Nov 2022 11:25:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 05 07:25:00 2022
Received: from localhost ([127.0.0.1]:55753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1orHIJ-0001RR-Ss
	for submit <at> debbugs.gnu.org; Sat, 05 Nov 2022 07:25:00 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:36059)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1orHIE-0001R1-Mt
 for 58792 <at> debbugs.gnu.org; Sat, 05 Nov 2022 07:24:58 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id F10F1FF803;
 Sat,  5 Nov 2022 11:24:46 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1667647488;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=LChadcvqsznQRsAxFKCg141vCJacFDobSvo6SQSe2Zs=;
 b=KTAsER/Zrf+uEIq9KUk31SvhaM1lkOC/jMgA2rfjStIflGFqYZYLiM7hS7mjeaNsBuuyp0
 BbPNg3G2natJICS7OsQMl4ZKujD+4e3FuYB7qeBO6NDWyIGaCCOyczBYGhy2iGHLEU5LMa
 ewzWxcSdbQs3e0ago9RNE4CWw1njG3dBd0JKrdIatRiFsz59KgK3wz2yc0nB08bqSPDNGJ
 E0dklHUv3Pvu9JUu3I+V9Z5gzShOM3AbpTofo/zSodUI5fV2RnCLsYJ0Uko4EHuIk8c7C6
 IUCGfQJB6BderKoTCmMTo9b8zYtzGyj6Cxl4OQbpwgBzwy4t/BlZxo/5h0FWMQ==
From: Tanguy Le Carrour <tanguy@HIDDEN>
To: 58792 <at> debbugs.gnu.org
Subject: [PATCH v3 1/2] gnu: python-filelock: Update to 3.8.0.
Date: Sat,  5 Nov 2022 12:24:34 +0100
Message-Id: <20221105112435.20540-1-tanguy@HIDDEN>
X-Mailer: git-send-email 2.38.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58792
Cc: Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/python-xyz.scm (python-filelock): Update to 3.8.0.
[build-system]: Use pyproject-build-system.
[arguments]: Add a phase to fix compatibility issues with
python-setuptools-scm. [native-inputs]: Add python-setuptools-scm.
---
 gnu/packages/python-xyz.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 75e1dcc0cb..83e86b21fd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2114,15 +2114,25 @@ (define-public python-fb-re2
 (define-public python-filelock
   (package
     (name "python-filelock")
-    (version "3.0.12")
+    (version "3.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "filelock" version))
        (sha256
         (base32
-         "0ngzlvb5j8gqs2nxlp2b0jhzii792h66wsn694qm8kqixr225n0q"))))
-    (build-system python-build-system)
+         "1p2f1il288abcrjx002w25dzl9jd1392cfminv2rh8bgcsm7qi2m"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+                  (add-after 'unpack 'compatibility-fixes
+                    (lambda _
+                      ;; We have an outdated version of setuptools-scm
+                      (substitute* "pyproject.toml" (("7.0.5") "6.3.2")))))))
+    ;; Required for the version to be properly defined in METADATA
+    (native-inputs (list python-setuptools-scm))
     (home-page
      "https://github.com/benediktschmitt/py-filelock")
     (synopsis "Platform independent file lock")
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.

Message received at 58792 <at> debbugs.gnu.org:


Received: (at 58792) by debbugs.gnu.org; 26 Oct 2022 13:45:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 26 09:45:25 2022
Received: from localhost ([127.0.0.1]:53758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ongij-0001BZ-6A
	for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 09:45:25 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:48853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1ongih-0001BI-Fd
 for 58792 <at> debbugs.gnu.org; Wed, 26 Oct 2022 09:45:23 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id A5C3C240003;
 Wed, 26 Oct 2022 13:45:17 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1666791918;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=+bF+WoBNn0Z6DZqf5M3QBT6/C1sJGqhoS+le/8QOrlc=;
 b=XF13srZzUrgSSA0WLKH0arfQgcmldw5YB7ftWA1k5AyMfnV4ccZFixXCEQcM+4TGLMkci6
 m3nKbApP0k8HvtRU7lj00oj5ga+DTfFxowS61ZfD0t09nkvs4GfROhP1y9/Wf0yu9tfEy+
 owPGLbFsoKpntXgBxV9QWRKv9IhNHeFj7so9V94H1SHxExt+CZ79iqV/ePbQfGfhCkuFD6
 L1tYqsUodQ1+qcrqvdkyalQH9o96K50Jmetpn6B/MVDipNCF+Frx/6p9Zni/Jmpum5v6VC
 cu8GJMUvetlvKvrt58jN5Pdz0misvJjgJVmYlKTnp2mXfHeSPkeF8YJiYCvZNw==
From: Tanguy Le Carrour <tanguy@HIDDEN>
To: 58792 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: python-virtualenv: Update to 20.16.5.
Date: Wed, 26 Oct 2022 15:44:35 +0200
Message-Id: <20221026134435.16235-2-tanguy@HIDDEN>
X-Mailer: git-send-email 2.38.0
In-Reply-To: <20221026134435.16235-1-tanguy@HIDDEN>
References: <20221026134435.16235-1-tanguy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58792
Cc: Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Regarding this patch, I tried and failed updating python-distlib.
I ran into a GPG key issue that I didn't know how to solve.

* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.16.5.
[arguments]<#:phases>: Add phase compatibility-fixes.
[propagated-inputs]: Add python-platformdirs.
---
 gnu/packages/python-xyz.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 655d4501b0..0fc6a2c885 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4056,19 +4056,26 @@ (define-public python-vine
 (define-public python-virtualenv
   (package
     (name "python-virtualenv")
-    (version "20.3.1")
+    (version "20.16.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "virtualenv" version))
        (sha256
         (base32
-         "1nbhnpzswcf3lmzn5xabmfdd7ki8r2w2i37y6wml54di6qi1l48c"))))
+         "1nl09v092ap469krvgl5x9r78v99xy1k7fkp36imxp2gk6ws2zi2"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'compatibility-fixes
+           (lambda _
+             ;; We have an outdated version of distlib
+             (substitute* "setup.cfg" (("0.3.5") "0.3.1")))))))
     (native-inputs
      (list python-mock python-pytest python-setuptools-scm))
     (propagated-inputs
-     (list python-appdirs python-distlib python-filelock python-six))
+     (list python-appdirs python-distlib python-filelock python-platformdirs python-six))
     (home-page "https://virtualenv.pypa.io/")
     (synopsis "Virtual Python environment builder")
     (description
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.

Message received at 58792 <at> debbugs.gnu.org:


Received: (at 58792) by debbugs.gnu.org; 26 Oct 2022 13:45:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 26 09:45:17 2022
Received: from localhost ([127.0.0.1]:53755 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ongia-0001B9-SF
	for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 09:45:17 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:43963)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1ongiY-0001As-Ez
 for 58792 <at> debbugs.gnu.org; Wed, 26 Oct 2022 09:45:15 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id AC30024000F;
 Wed, 26 Oct 2022 13:45:05 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1666791908;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=k2z4uP6GaGz5LHNyTPRg4h9rZ3FSjX4RGzvlvaJKVIY=;
 b=Ati0FLnVWPhGnvX/N6f+gwr5vVcjmp28iUSMNID+cyZukURKg8esneD2jTqyw0mN8iFrFg
 BPDYSU0s2FVI3KCYe0TbQH9GV9jEAvIloh69SZPOoFke0dXlUkqdMNDhLQ0aLRdJrE0jLD
 ES5i3SHoBFx+WDO/lCFRtoWrlgzlnIFR+NNy3WKZ9j+jOGOW458HdjGTGi0M0OGKvI1fds
 B/+cZtv01T+49wkEfUZENCSUWyxUVkZCZNgqFU8MygH1Rr2iDNEXeCjgEHVoNr1i6j4SPA
 4cw/uQMT2PjL9l5W1lNzsvw2IGjE/UbbGXnJDeAwV1U3oSXEw+4OECdI6YDsZQ==
From: Tanguy Le Carrour <tanguy@HIDDEN>
To: 58792 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: python-filelock: Update to 3.8.0.
Date: Wed, 26 Oct 2022 15:44:34 +0200
Message-Id: <20221026134435.16235-1-tanguy@HIDDEN>
X-Mailer: git-send-email 2.38.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58792
Cc: Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Guix,

This was less trivial than what I expected, indeed.
I'm adding python-virtualenv to the patch set as it now builds.

Unfortunately, I couldn't make it up to Poetry, because, for
unknown reasons (to me), building poetry with updated python-filelock
and python-virtualenv triggers a **LOT** of rebuilds! I `Ctrl+c` the
process when it started building things related to wayland and to
modem-manager!? If someone was kind enough to tell me why, it would be
very much appreciated!

Thanks

* gnu/packages/python-xyz.scm (python-filelock): Update to 3.8.0.
[arguments]<#:phases>: Build the package PyPA's style.
[native-inputs]: Add python-pypa-build, python-setuptools,
python-setuptools-scm.
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 08a33061a9..655d4501b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1978,15 +1978,47 @@ (define-public python-fb-re2
 (define-public python-filelock
   (package
     (name "python-filelock")
-    (version "3.0.12")
+    (version "3.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "filelock" version))
        (sha256
         (base32
-         "0ngzlvb5j8gqs2nxlp2b0jhzii792h66wsn694qm8kqixr225n0q"))))
+         "1p2f1il288abcrjx002w25dzl9jd1392cfminv2rh8bgcsm7qi2m"))))
     (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+                  (add-after 'unpack 'compatibility-fixes
+                    (lambda _
+                      ;; We have an outdated version of setuptools-scm
+                      (substitute* "pyproject.toml" (("7.0.5") "6.3.2"))))
+                  (replace 'build
+                    (lambda _
+                      (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
+                      ;; ZIP does not support timestamps before 1980.
+                      (setenv "SOURCE_DATE_EPOCH" "315532800")
+                      (invoke "python"
+                              "-m"
+                              "build"
+                              "--wheel"
+                              "--no-isolation"
+                              ".")))
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((whl (car (find-files "dist" "\\.whl$"))))
+                        (invoke "pip"
+                                "--no-cache-dir"
+                                "--no-input"
+                                "install"
+                                "--no-deps"
+                                "--prefix"
+                               #$output
+                                whl))))
+                  (delete 'check))))  ; pytest causes a circular dependency (?)
+    (native-inputs (list python-pypa-build python-setuptools python-setuptools-scm))
     (home-page
      "https://github.com/benediktschmitt/py-filelock")
     (synopsis "Platform independent file lock")
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.

Message received at 58792 <at> debbugs.gnu.org:


Received: (at 58792) by debbugs.gnu.org; 26 Oct 2022 08:03:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 26 04:03:30 2022
Received: from localhost ([127.0.0.1]:53206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1onbNq-0004gt-H9
	for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 04:03:30 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:54883)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1onbNo-0004ge-8t
 for 58792 <at> debbugs.gnu.org; Wed, 26 Oct 2022 04:03:29 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 1A580240009
 for <58792 <at> debbugs.gnu.org>; Wed, 26 Oct 2022 08:03:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1666771401;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=d4bnk8n73DrXPUW2lgLQFCmwVdLg6vBCqx+Rep6+9DI=;
 b=mdOeESMV7UYqijcO/xqlyHi3trwaip898Hb0GI7qaMXMv/695GdrD9GSuItFNXF18qOXPF
 GY+BXoBHWt632KfGg7O71VDXbdGLNmco9HjPym7h0OtZgTkyKLl3uLXex4Qcg4xbGJNZT2
 TA+xfCGX19d5EidLQNPhvqZEW0nMw3P6W4FTM8CxEMlZoRkxQYn3XvTPZSlfKpw7E5UnF9
 Lc3R2K9PuFdQPdBZZgymxpXfg7mUKjTKzTHIZWmdHvj4wdvI+1LCnA2hZTK/10hWVwLVP7
 xcIy4N7M8J+2KG654H2vziIGy07qJHoPeQMTfogkPJzL9Ma/xbK6jLGOx6SP4g==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
References: <20221026071312.4635-1-tanguy@HIDDEN>
 <handler.58792.B.166676841713051.ack <at> debbugs.gnu.org>
Subject: Re: bug#58792: Acknowledgement ([PATCH] gnu: python-filelock: Update
 to 3.8.0.)
From: Tanguy LE CARROUR <tanguy@HIDDEN>
To: 58792 <at> debbugs.gnu.org
In-Reply-To: <handler.58792.B.166676841713051.ack <at> debbugs.gnu.org>
Date: Wed, 26 Oct 2022 10:03:18 +0200
Message-ID: <166677139827.9762.17717851787532695386@localhost>
User-Agent: alot/0.10
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58792
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Guix,

Contrary to what I said, this patch might not be trivial!

The resulting package exposes version 0.0.0, which seems to break every
package that depends on it!
The issue has been reported upstream [1][]. The solution would be to use
a different build system.

[1]: https://github.com/tox-dev/py-filelock/issues/133)

I'm working on it=E2=80=A6

--=20
Tanguy




Information forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Oct 2022 07:13:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 26 03:13:37 2022
Received: from localhost ([127.0.0.1]:53124 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1onabY-0003OR-MR
	for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 03:13:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:49796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1onabW-0003OJ-Fx
 for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 03:13:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tanguy@HIDDEN>)
 id 1onabV-0001Fw-QN
 for guix-patches@HIDDEN; Wed, 26 Oct 2022 03:13:34 -0400
Received: from relay11.mail.gandi.net ([217.70.178.231])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tanguy@HIDDEN>)
 id 1onabT-0008Q6-UT
 for guix-patches@HIDDEN; Wed, 26 Oct 2022 03:13:33 -0400
Received: (Authenticated sender: tanguy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id B779F10000E;
 Wed, 26 Oct 2022 07:13:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org;
 s=gm1; t=1666768408;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=Oko83GwG64OC/ldoeqtXrJ16z+6SlvGBQkRmML7nPDA=;
 b=GU3FSKhn5xmNrMWLlGS6qZ8mfHUKDMtDqpbts8rl9luzrLl+JPXzr4LgkjXLhGoiVG9JSm
 HD4Neduu1b9f5ygOh/tdZJ5GDikOSflOZjEx41fr+3R9AIVfprHQRYLHfu6DmC9Vmu5ZtH
 MYH8yPKXSPIoLRMXRJzm0+KLqAz7yEhtBAd4Z6Si6CyI/+bCEk2uvDlOXANV52cl03zemM
 6ZLhYGA636gtIBCXo3pF7+9taLfQkwG4HAeLT7JTdEiHh8uA74jrUuuihVfr4jEUxUEtZj
 2UfuVLgG3a3cd5/P67IAk2ysFkxvkuaZInnWjkbgxmJzsU/r3yQ4PY6x+J2vkw==
From: Tanguy Le Carrour <tanguy@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: python-filelock: Update to 3.8.0.
Date: Wed, 26 Oct 2022 09:13:12 +0200
Message-Id: <20221026071312.4635-1-tanguy@HIDDEN>
X-Mailer: git-send-email 2.38.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=217.70.178.231; envelope-from=tanguy@HIDDEN;
 helo=relay11.mail.gandi.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
Cc: Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Hi Guix,

This patch is trivial, but it triggers 5,000+ package rebuilds.
I need it in order to upgrade `python-virtualenv` (I'm still working on it)
… which I need to upgrade `poetry`.

Regards,


* gnu/packages/python-xyz.scm (python-filelock): Update to 3.8.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 08a33061a9..eacb54d406 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1978,14 +1978,14 @@ (define-public python-fb-re2
 (define-public python-filelock
   (package
     (name "python-filelock")
-    (version "3.0.12")
+    (version "3.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "filelock" version))
        (sha256
         (base32
-         "0ngzlvb5j8gqs2nxlp2b0jhzii792h66wsn694qm8kqixr225n0q"))))
+         "1p2f1il288abcrjx002w25dzl9jd1392cfminv2rh8bgcsm7qi2m"))))
     (build-system python-build-system)
     (home-page
      "https://github.com/benediktschmitt/py-filelock")
-- 
2.38.0





Acknowledgement sent to Tanguy Le Carrour <tanguy@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#58792; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 5 Nov 2022 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.