[bug#77400,03/26] gnu: python-databricks-cli: Update to 0.18.0.

Message ID 20250331061901.22670-3-ngraves@ngraves.fr
State New
Headers
Series Some further updates |

Commit Message

Nicolas Graves March 31, 2025, 6:18 a.m. UTC
  * gnu/packages/python-web.scm (python-databricks-cli): Update to
0.18.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style, use gexps.
[native-inputs]: Add python-setuptools, python-wheel.
---
 gnu/packages/python-web.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
  

Patch

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 95dd7a126c..5ef6f2ce38 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3328,7 +3328,7 @@  (define-public python-cssselect
 (define-public python-databricks-cli
   (package
     (name "python-databricks-cli")
-    (version "0.17.0")
+    (version "0.18.0")
     (home-page "https://github.com/databricks/databricks-cli")
     (source (origin
               (method git-fetch)
@@ -3336,19 +3336,21 @@  (define-public python-databricks-cli
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qwbxnx64kw7lrzlyx3hfbnjxpc19cqvvj0gcrkqpyjsgd08vja0"))))
-    (build-system python-build-system)
+                "1avag4kwqk2f24r5i0vcmhm6s1gsw6maykhlyj2ixz0qc05pjzvl"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      (invoke "pytest" "tests" "-vv"))))))
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda _
+                            (invoke "pytest" "tests" "-vv"))))))
     (native-inputs
      ;; For tests.
      (list python-decorator
            python-mock
            python-pytest
-           python-requests-mock))
+           python-requests-mock
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-click
            python-oauthlib