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

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Wed, 26 Oct 2022 07:14:01 UTC

Severity: normal

Tags: patch

Done: Tanguy LE CARROUR <tanguy <at> bioneland.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 58792 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [bug#58792] [PATCH v3 1/2] gnu: python-filelock: Update to 3.8.0.
Date: Sat,  5 Nov 2022 12:24:34 +0100
* 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





This bug report was last modified 1 year and 86 days ago.

Previous Next


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