gnu: python-tortoise-orm: Update to 0.20.0.

* 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 <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2023-10-07 23:39:38 +02:00 committed by Ludovic Courtès
parent 1566c9cae1
commit 4d748d344b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -3077,17 +3077,22 @@ of PyMySQL. @code{aiomysql} tries to preserve the same API as the
(define-public python-tortoise-orm (define-public python-tortoise-orm
(package (package
(name "python-tortoise-orm") (name "python-tortoise-orm")
(version "0.19.1") (version "0.20.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "tortoise-orm" version)) (uri (git-reference
(url "https://github.com/tortoise/tortoise-orm")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "17yk71dlx5ai98i6ivqgsplkwivdxackz9jfn6z42bpcdgbpiwhg")))) (base32 "19rgyvs2y9gn27x71y7djdz6rb6bszgvprv55q1hr4266wy6g999"))))
(build-system python-build-system) (build-system pyproject-build-system)
;; The test suite relies on asynctest, which is abandoned and doesn't ;; The test suite relies on asynctest, which is abandoned and doesn't
;; support Python >= 3.8. ;; support Python >= 3.8.
(arguments '(#:tests? #f)) (arguments '(#:tests? #f))
(native-inputs
(list poetry))
(propagated-inputs (propagated-inputs
(list python-aiomysql (list python-aiomysql
python-aiosqlite-0.17 python-aiosqlite-0.17