guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit ee9832925781b8b6b8c9a6d5fc8f57d2658e8bcf
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, 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
---
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 d0202a74ee..864ac625e3 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")