diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-06-25 23:32:15 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-06-26 00:42:02 -0300 |
| commit | 6924e9bcc266485b728d8aa255cdddb727ea1fed (patch) | |
| tree | 26cde54862f79fcbef56a91fe7f68552d9307c2f /gnu | |
| parent | 261047e2b48348dd209e77b1084b763eda14c7a6 (diff) | |
gnu: litecli: Update to 1.15.0.
* gnu/packages/databases.scm (litecli): Update to 1.15.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
<#:phases>: Add new phase 'relax-sqlparse' after 'unpack'.
[native-inputs]: Remove python-mock. Add python-setuptools,
python-wheel.
Change-Id: I325bd9190f953b58cf17e943172b4665baeb3066
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/databases.scm | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 99fd787a491..f835a2e76a9 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -43,7 +43,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> ;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> -;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2020, 2025 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2021, 2024 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021, 2024 Greg Hogan <code@greghogan.com> @@ -808,14 +808,31 @@ replacement for the @code{python-memcached} library.") (define-public litecli (package (name "litecli") - (version "1.9.0") + (version "1.15.0") (source (origin (method url-fetch) (uri (pypi-uri "litecli" version)) (sha256 - (base32 "1897divrdqlhl1p5jvvm29rg3d99f48s58na7hgdzm1x13x2rbr1")))) - (build-system python-build-system) + (base32 "0yfdafh21k8fls85rgyfn03xxn6x5hqcnmlq1v3jvmxjaxzrk19j")))) + (build-system pyproject-build-system) + (arguments + (list + ;; These tests depend on python-llm (not packaged) + #:test-flags #~(list "-k" (string-append + "not test_refresh_called_once" + " and not test_refresh_called_twice" + " and not test_refresh_with_callbacks" + " and not test_llm_command_known_subcommand")) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'relax-sqlparse + (lambda _ + (substitute* "pyproject.toml" + ;; Currently we have 0.4.3 and it is fine. Remove this + ;; line when sqlparse is updated. + (("sqlparse>=0.4.4") "sqlparse") + ;; Also remove python-pip from sanity-check. + (("\"pip\",") ""))))))) (propagated-inputs (list python-cli-helpers python-click @@ -824,7 +841,7 @@ replacement for the @code{python-memcached} library.") python-pygments python-sqlparse)) (native-inputs - (list python-mock python-pytest)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://litecli.com") (synopsis "CLI for SQLite databases") (description |
