gnu: python-databricks-cli: Update to 0.17.0.

* gnu/packages/python-web.scm (python-databricks-cli): Update to 0.17.0.
[arguments]: Enable previously failing test.
[propagated-inputs]: Remove PYTHON-CONFIGPARSER.  Add PYTHON-PYJWT.
This commit is contained in:
Marius Bakke 2022-06-21 23:32:56 +02:00
parent 964731ca52
commit ea8a7e8244
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -1808,7 +1808,7 @@ another XPath engine to find the matching elements in an XML or HTML document.")
(define-public python-databricks-cli (define-public python-databricks-cli
(package (package
(name "python-databricks-cli") (name "python-databricks-cli")
(version "0.14.1") (version "0.17.0")
(home-page "https://github.com/databricks/databricks-cli") (home-page "https://github.com/databricks/databricks-cli")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
@ -1816,21 +1816,25 @@ another XPath engine to find the matching elements in an XML or HTML document.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"03w19rzh72jll9phai23wp0c2mlv39qsrv50mhckziy39z60yxh8")))) "1qwbxnx64kw7lrzlyx3hfbnjxpc19cqvvj0gcrkqpyjsgd08vja0"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(invoke "pytest" "tests" "-vv" (invoke "pytest" "tests" "-vv"))))))
;; XXX: This fails with newer Pytest
;; (upstream uses Pytest 3..).
"-k" "not test_get_request_with_list"))))))
(native-inputs (native-inputs
(list ;; For tests. ;; For tests.
python-decorator python-mock python-pytest python-requests-mock)) (list python-decorator
python-mock
python-pytest
python-requests-mock))
(propagated-inputs (propagated-inputs
(list python-click python-configparser python-requests python-six (list python-click
python-oauthlib
python-pyjwt
python-requests
python-six
python-tabulate)) python-tabulate))
(synopsis "Command line interface for Databricks") (synopsis "Command line interface for Databricks")
(description (description