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.
This commit is contained in:
Lars-Dominik Braun 2021-03-04 13:27:11 +01:00
parent f73ee73da7
commit 281fd9ad71
No known key found for this signature in database
GPG key ID: 421377011A378446

View file

@ -3237,15 +3237,25 @@ (define-public python2-apsw
(define-public python-aiosqlite (define-public python-aiosqlite
(package (package
(name "python-aiosqlite") (name "python-aiosqlite")
(version "0.12.0") (version "0.17.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "aiosqlite" version)) (uri (pypi-uri "aiosqlite" version))
(sha256 (sha256
(base32 (base32
"1w8248yz85xyzvvh4jaxnc59fqil45aka6h82kn1rcih4rjxbnn1")))) "0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph"))))
(build-system python-build-system) (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 (native-inputs
`(("python-aiounittest" ,python-aiounittest))) `(("python-aiounittest" ,python-aiounittest)))
(home-page "https://github.com/jreese/aiosqlite") (home-page "https://github.com/jreese/aiosqlite")