guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit de7e1fe328c8400cbf1c993aa1f2d4389680154f
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 19:08:13 2025 +0100

    gnu: python-aiosqlite: Update to 0.21.0.
    
    * gnu/packages/databases.scm (python-aiosqlite): Update to 0.21.0.
    [source, synopsis]: Run guix style.
    [arguments]: Drop <#:phases> in favor of <#:test-backend>.
    [native-inputs]: Remove python-coverage, python-mypy.
    
    Change-Id: I2a9a66a1a1386ff44b440c18dac8345bb136e7a2
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/databases.scm | 36 +++++++++++++-----------------------
 1 file changed, 13 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 12af3b10dc..8403b86d0a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4630,31 +4630,21 @@ into Python.")
 (define-public python-aiosqlite
   (package
     (name "python-aiosqlite")
-    (version "0.18.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/omnilib/aiosqlite";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1a8sggh1wwbpl46k5qcfmp97s9hjysna0x7mwwc53kyfm0m95wf8"))))
+    (version "0.21.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/omnilib/aiosqlite";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1njzxi130bbix53wl0gcsvryk1b2cazq0s2701jbkf6nvr3ywpyy"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (replace 'check
-                          (lambda* (#:key tests? #:allow-other-keys)
-                            (when tests?
-                              (invoke "python" "-m" "coverage" "run" "-m"
-                                      "aiosqlite.tests")
-                              (invoke "python" "-m" "coverage" "report")))))))
-    (native-inputs (list python-flit-core
-                         python-coverage
-                         python-mypy))
+    (arguments (list #:test-backend #~'unittest))
+    (native-inputs (list python-flit-core))
     (home-page "https://github.com/jreese/aiosqlite";)
-    (synopsis
-     "Asyncio bridge for sqlite3")
+    (synopsis "Asyncio bridge for sqlite3")
     (description
      "The package aiosqlite replicates the standard sqlite3 module, but with
 async versions of all the standard connection and cursor methods, and context

Reply via email to