From c70f57c7022ad0a80724941dee5563b917e2b73a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 6 Jan 2026 14:09:53 +0000 Subject: [PATCH] gnu: python-tortoise-orm: Update to 0.25.3. * gnu/packages/databases.scm (python-tortoise-orm): Update to 0.25.3. [arguments] : Skip only one test, run them in parallel. [propagated-inputs]: Remove python-asyncmy, and python-rapidjson; add python-anyio, python-asyncodbc, python-orjson, python-psycopg, python-psycopg-pool, and python-pyodbc. [native-inputs]: Remove python-ayncodbc, python-psycopg, python-psycopg-pool, python-pyodbc, and python-poetry-core; add python-cython, and python-pdm-backend, python-pytest-xdist. Change-Id: I4e2c7b8f083bd649c313c26b77c0dd2110a9689c Signed-off-by: Rutherther --- gnu/packages/databases.scm | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index d2625dff3096668895956140284e887456390960..25824e102b75332f37274cdec23493e6a2140960 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3897,47 +3897,47 @@ 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, 104 skipped, 4 xfailed, 9 warnings #: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 ")))) + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) + "--ignore=tests/benchmarks/" + ;; FileNotFoundError: [Errno 2] No such file or directory: 'uvx' + "--deselect=tests/test_version.py::test_added_by_poetry_v2"))) (native-inputs - (list python-asyncodbc + (list python-cython python-fastapi - python-poetry-core - python-psycopg - python-psycopg-pool + python-pdm-backend python-pydantic - python-pyodbc - python-pytest)) + python-pytest + python-pytest-xdist)) (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 + ;; [optional] + python-aiomysql ;tortoise/backends/mysql/client.py + python-asyncodbc ;tortoise/backends/odbc/client.py + python-asyncpg ;tortoise/backends/asyncpg/client.py + python-ciso8601 + python-orjson + python-psycopg ;tortoise/backends/psycopg/client.py + python-psycopg-pool ; + python-pyodbc ;tortoise/backends/oracle/client.py python-uvloop)) (home-page "https://github.com/tortoise/tortoise-orm") (synopsis "Asynchronous Object Relational Mapper (ORM) for Python")