From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 66397@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#66397] [PATCH 1/3] gnu: Fix python-tortoise-orm's sanity-check.
Date: Sat, 7 Oct 2023 23:39:36 +0200 [thread overview]
Message-ID: <fd60dc2bdabf20b750bd000c5b34becd85505fc0.1696714778.git.goodoldpaul@autistici.org> (raw)
In-Reply-To: <bbc5bdf9-f91c-8134-39ce-2fc63ac555a2@autistici.org>
* gnu/packages/databases.scm (python-aiosqlite-0.17): New variable;
(python-tortoise-orm)[propagated-inputs]: use it.
---
gnu/packages/databases.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b5077583c3..f458af2e1a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3087,7 +3087,7 @@ (define-public python-tortoise-orm
(arguments '(#:tests? #f))
(propagated-inputs
(list python-aiomysql
- python-aiosqlite
+ python-aiosqlite-0.17
python-asyncmy
python-asyncpg
python-ciso8601
@@ -3777,6 +3777,34 @@ (define-public python-aiosqlite
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~%"))
+ #t)))))
+ (propagated-inputs
+ (list python-typing-extensions))
+ (native-inputs
+ (list python-flit-core python-aiounittest))))
+
(define-public python-databases
(package
(name "python-databases")
base-commit: 00a28bc435606dc98925fbae1ebe314881f35c90
--
2.41.0
next prev parent reply other threads:[~2023-10-07 21:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 21:17 [bug#66397] [PATCH] Fix and update python-tortoise-orm paul via Guix-patches via
2023-10-07 21:39 ` Giacomo Leidi via Guix-patches via [this message]
2023-10-07 21:39 ` [bug#66397] [PATCH 2/3] gnu: python-pypika-tortoise: Update to 0.1.6 Giacomo Leidi via Guix-patches via
2023-10-07 21:39 ` [bug#66397] [PATCH 3/3] gnu: python-tortoise-orm: Update to 0.20.0 Giacomo Leidi via Guix-patches via
2023-10-23 22:01 ` bug#66397: [PATCH] Fix and update python-tortoise-orm Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd60dc2bdabf20b750bd000c5b34becd85505fc0.1696714778.git.goodoldpaul@autistici.org \
--to=guix-patches@gnu.org \
--cc=66397@debbugs.gnu.org \
--cc=goodoldpaul@autistici.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).