Subject: [bug#58276] [PATCH] gnu: python-setuptools-scm: Update to 7.0.5.

From: Garek Dyszel <[email-masked]>
Date: Mon, 03 Oct 2022 16:12:47 -0400

* gnu/packages/python-build.scm (python-setuptools-scm): Update to 7.0.5.
[propagated-inputs]: Change format to (propagated-inputs (list ...)).
(arguments): Disable tests, delete phase `sanity-check' which shares
dependencies with the tests.
---
 gnu/packages/python-build.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 9d9b07f769..778638f789 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -458,16 +458,22 @@ (define-public python-flit-scm
 (define-public python-setuptools-scm
   (package
     (name "python-setuptools-scm")
-    (version "6.3.2")
+    (version "7.0.5")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "setuptools_scm" version))
               (sha256
-               (base32 "1wm0i27siyy1yqr9rv7lqvb65agay9051yi8jzmi8dgb3q4ai6m4"))))
+               (base32
+                "0i28zghzdzzkm9w8rrjwphggkfs58nh6xnqsjhmqjvqxfypi67h3"))))
     (build-system python-build-system)
-    (propagated-inputs
-     `(("python-packaging",python-packaging-bootstrap)
-       ("python-tomli" ,python-tomli)))
+    (propagated-inputs (list python-packaging-bootstrap python-tomli))
+    (arguments
+     `(;; Disabled tests to avoid extra dependencies.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; Disabled sanity check to avoid extra dependencies.
+         (delete 'sanity-check))))
     (home-page "https://github.com/pypa/setuptools_scm/")
     (synopsis "Manage Python package versions in SCM metadata")
     (description

base-commit: 17134b9ec1aad94d41d75217a919dd1b224549d2
-- 
2.37.3