From 4d748d344bb1891e2e32bf15db24131703d2f78c Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sat, 7 Oct 2023 23:39:38 +0200 Subject: gnu: python-tortoise-orm: Update to 0.20.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/databases.scm (python-tortoise-orm): Update to 0.20.0; [source]: switch to git-fetched origin; [build-system]: switch to pyproject-build-system; [native-inputs]: add poetry. Signed-off-by: Ludovic Courtès --- gnu/packages/databases.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e7413acdeb..4bc642aa17 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3077,17 +3077,22 @@ of PyMySQL. @code{aiomysql} tries to preserve the same API as the (define-public python-tortoise-orm (package (name "python-tortoise-orm") - (version "0.19.1") + (version "0.20.0") (source (origin - (method url-fetch) - (uri (pypi-uri "tortoise-orm" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/tortoise/tortoise-orm") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "17yk71dlx5ai98i6ivqgsplkwivdxackz9jfn6z42bpcdgbpiwhg")))) - (build-system python-build-system) + (base32 "19rgyvs2y9gn27x71y7djdz6rb6bszgvprv55q1hr4266wy6g999")))) + (build-system pyproject-build-system) ;; The test suite relies on asynctest, which is abandoned and doesn't ;; support Python >= 3.8. (arguments '(#:tests? #f)) + (native-inputs + (list poetry)) (propagated-inputs (list python-aiomysql python-aiosqlite-0.17 -- cgit v1.2.3