summaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-23 21:02:46 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:49 +0100
commit99edd73ffbfea79bf29df29ffd2745daf6aaade6 (patch)
tree2ee537bcfd7a15095e03502d6e1cdb81d477f8b3 /gnu/packages/databases.scm
parentcfe402d5ef95a959f15313b4403c4cab0fcd1e85 (diff)
gnu: python-tortoise-orm: Update to 0.22.2.
* gnu/packages/databases.scm (python-tortoise-orm): Update to 0.22.2. [arguments]<#:tests?>: Enable them. <#:test-flags>: Disable failing tests. [native-inputs]: Add python-asyncodbc, python-fastapi, python-psycopg, python-psycopg-pool, python-pydantic-2, python-pyodbc, python-pytest; replace poetry with python-poetry-core. [propagated-inputs]: Unpin python-aiosqlite. Change-Id: If11a7fa77af8b3c40e447f5ae699156cb8fac9d9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5d1b29cff02..b148f4f8397 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3766,7 +3766,7 @@ of PyMySQL. @code{aiomysql} tries to preserve the same API as the
(define-public python-tortoise-orm
(package
(name "python-tortoise-orm")
- (version "0.20.0")
+ (version "0.22.2")
(source
(origin
(method git-fetch)
@@ -3775,16 +3775,31 @@ of PyMySQL. @code{aiomysql} tries to preserve the same API as the
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "19rgyvs2y9gn27x71y7djdz6rb6bszgvprv55q1hr4266wy6g999"))))
+ (base32 "1xzwywvb3898hm41vwkzn785ziqprxh6lcf0lpmrgfcsc9qnnhzk"))))
(build-system pyproject-build-system)
- ;; The test suite relies on asynctest, which is abandoned and doesn't
- ;; support Python >= 3.8.
- (arguments '(#:tests? #f))
+ (arguments
+ (list
+ #: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 "))))
(native-inputs
- (list poetry))
+ (list python-asyncodbc
+ python-fastapi
+ python-poetry-core
+ python-psycopg
+ python-psycopg-pool
+ python-pydantic-2
+ python-pyodbc
+ python-pytest))
(propagated-inputs
(list python-aiomysql
- python-aiosqlite-0.17
+ python-aiosqlite
python-asyncmy
python-asyncpg
python-ciso8601