[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: Fix python-tortoise-orm's sanity-check.
From: |
guix-commits |
Subject: |
07/09: gnu: Fix python-tortoise-orm's sanity-check. |
Date: |
Mon, 23 Oct 2023 18:04:05 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d146109d6863d18f6f99c643e04e99f51185e1b4
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Sat Oct 7 23:39:36 2023 +0200
gnu: Fix python-tortoise-orm's sanity-check.
* gnu/packages/databases.scm (python-aiosqlite-0.17): New variable;
(python-tortoise-orm)[propagated-inputs]: use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/databases.scm | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e25b88941a..86e5799283 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3088,7 +3088,7 @@ of PyMySQL. @code{aiomysql} tries to preserve the same
API as the
(arguments '(#:tests? #f))
(propagated-inputs
(list python-aiomysql
- python-aiosqlite
+ python-aiosqlite-0.17
python-asyncmy
python-asyncpg
python-ciso8601
@@ -3778,6 +3778,33 @@ async versions of all the standard connection and cursor
methods, and context
managers for automatically closing connections.")
(license license:expat)))
+(define-public python-aiosqlite-0.17
+ (package
+ (inherit python-aiosqlite)
+ (version "0.17.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 (package-name python-aiosqlite)
+ version))
+ (sha256
+ (base32
+ "1agh7b9g7rgryvb8flph85i8m80ai1rinpljxzlsrs0s0y616qgg"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "python" "-m" "unittest" "aiosqlite.tests")
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs
+ (list python-typing-extensions))
+ (native-inputs
+ (list python-flit-core python-aiounittest))))
+
(define-public python-databases
(package
(name "python-databases")
- branch master updated (cbd20d6274 -> 4d748d344b), guix-commits, 2023/10/23
- 02/09: gnu: cmake-minimal: Remove ‘hidden’ property., guix-commits, 2023/10/23
- 03/09: gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/Hurd., guix-commits, 2023/10/23
- 01/09: gnu: gcc@10: Update to 10.5.0., guix-commits, 2023/10/23
- 05/09: gnu: Add emacs-nerd-icons., guix-commits, 2023/10/23
- 06/09: gnu: Add emacs-imenu-anywhere., guix-commits, 2023/10/23
- 04/09: gnu: kokkos: Restrict builds to 64-bit architectures., guix-commits, 2023/10/23
- 07/09: gnu: Fix python-tortoise-orm's sanity-check.,
guix-commits <=
- 08/09: gnu: python-pypika-tortoise: Update to 0.1.6., guix-commits, 2023/10/23
- 09/09: gnu: python-tortoise-orm: Update to 0.20.0., guix-commits, 2023/10/23