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

commit 6330d33a2ae18c22f87e7df1f754d4f64fd42e53
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 6 14:09:53 2026 +0000

    gnu: python-tortoise-orm: Update to 0.25.3.
    
    * gnu/packages/databases.scm (python-tortoise-orm): Update to 0.25.3.
    [arguments] <test-flags>: Skip only one test.
    [propagated-inputs]: Remove python-aiomysql, python-asyncmy,
    python-asyncpg, python-ciso8601, python-rapidjson, and python-uvloop;
    add python-anyio.
    [native-inputs]: Remove python-poetry-core; add python-pdm-backend,
    python-aiomysql, and python-asyncpg.
    
    Change-Id: I4e2c7b8f083bd649c313c26b77c0dd2110a9689c
---
 gnu/packages/databases.scm | 47 ++++++++++++++++++++--------------------------
 1 file changed, 20 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d5e368a954..5d272063f9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3897,48 +3897,41 @@ of PyMySQL.  @code{aiomysql} tries to preserve the same 
API as the
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")
-    (version "0.22.2")
+    (version "0.25.3")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/tortoise/tortoise-orm";)
-             (commit version)))
+              (url "https://github.com/tortoise/tortoise-orm";)
+              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1xzwywvb3898hm41vwkzn785ziqprxh6lcf0lpmrgfcsc9qnnhzk"))))
+        (base32 "1b1a20cnhaj7rcdp5l1r5nvd6x1amybgynwpd3cnskpvzqjinsyl"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 1280 passed, 120 skipped, 1 deselected, 4 xfailed, 1 warning
       #:test-flags
-      #~(list "-k" (string-join
-                    (list "not test_enum"  ; Fixed in the next release.
-                          ;; tortoise.exceptions.OperationalError
-                          "test_delete"
-                          "test_delete_limit"
-                          "test_delete_limit_order_by"
-                          "test_update_with_limit_ordering")
-                    " and not "))))
+      ;; FileNotFoundError: [Errno 2] No such file or directory: 'uvx'
+      #~(list "--deselect=tests/test_version.py::test_added_by_poetry_v2")))
     (native-inputs
-     (list python-asyncodbc
-           python-fastapi
-           python-poetry-core
-           python-psycopg
-           python-psycopg-pool
+     (list python-fastapi
+           python-pdm-backend
            python-pydantic
-           python-pyodbc
-           python-pytest))
+           python-pytest
+           ;; [optional]
+           python-aiomysql     ;tortoise/backends/mysql/client.py
+           python-asyncodbc    ;tortoise/backends/odbc/client.py
+           python-asyncpg      ;tortoise/backends/asyncpg/client.py
+           python-psycopg      ;tortoise/backends/psycopg/client.py
+           python-psycopg-pool ;
+           python-pyodbc))     ;tortoise/backends/oracle/client.py
     (propagated-inputs
-     (list python-aiomysql
-           python-aiosqlite
-           python-asyncmy
-           python-asyncpg
-           python-ciso8601
+     (list python-aiosqlite
+           python-anyio
            python-iso8601
            python-pypika-tortoise
-           python-pytz
-           python-rapidjson
-           python-uvloop))
+           python-pytz))
     (home-page "https://github.com/tortoise/tortoise-orm";)
     (synopsis "Asynchronous Object Relational Mapper (ORM) for Python")
     (description "Tortoise ORM is an easy-to-use asyncio ORM (Object

Reply via email to