summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-04 13:27:11 +0100
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-10 12:01:45 +0100
commit281fd9ad71f0e6276adcf4d058b4bcf09dd5e087 (patch)
tree7d6d6bd5647b56ac72ada5ea3570789163a7c7c8 /gnu/packages
parentf73ee73da72d137e15b0c19f3e3482733e9eaa5a (diff)
downloadguix-281fd9ad71f0e6276adcf4d058b4bcf09dd5e087.tar.gz
gnu: python-aiosqlite: Update to 0.17.0.
* gnu/packages/databases.scm (python-aiosqlite) [version]: Update to 0.17.0.
[arguments]: Run tests.
[propagated-inputs]: Add python-typing-extensions.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c814cf8954..8bc411ca51 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3237,15 +3237,25 @@ translate the complete SQLite API into Python.")
 (define-public python-aiosqlite
   (package
     (name "python-aiosqlite")
-    (version "0.12.0")
+    (version "0.17.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiosqlite" version))
        (sha256
         (base32
-         "1w8248yz85xyzvvh4jaxnc59fqil45aka6h82kn1rcih4rjxbnn1"))))
+         "0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (if tests?
+                          (invoke "python" "-m" "unittest" "aiosqlite.tests")
+                          (format #t "test suite not run~%"))
+                      #t)))))
+    (propagated-inputs
+     `(("python-typing-extensions" ,python-typing-extensions)))
     (native-inputs
      `(("python-aiounittest" ,python-aiounittest)))
     (home-page "https://github.com/jreese/aiosqlite")