[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: python-aiomysql: Update to 0.17.8.
From: |
guix-commits |
Subject: |
08/13: gnu: python-aiomysql: Update to 0.17.8. |
Date: |
Fri, 5 Nov 2021 10:22:13 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 810115de152366fc6b6aaa06d2d21b819da1a052
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 4 22:22:54 2021 -0400
gnu: python-aiomysql: Update to 0.17.8.
* gnu/packages/databases.scm (python-aiomysql): Update to 0.17.8. Update
comment about why the tests are disabled.
[native-inputs]: Remove.
[propagated-inputs]{python-pypika, python-typing-extensions}: Remove.
{python-asyncmy, python-asyncpg, python-iso8601, python-pypika-tortoise}
{python-rapidjson, python-uvloop}: New propagated inputs.
[synopsis, description]: Reformat and modify slightly.
---
gnu/packages/databases.scm | 57 ++++++++++++++++++----------------------------
1 file changed, 22 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 911c103..768744b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2702,48 +2702,35 @@ of PyMySQL. @code{aiomysql} tries to preserve the same
API as the
(define-public python-tortoise-orm
(package
(name "python-tortoise-orm")
- (version "0.16.21")
+ (version "0.17.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tortoise-orm" version))
(sha256
- (base32
- "1dallk0q8q4v37klm0v3rppf2w8sjkqmypc1w8r9rraqxg1ylacp"))))
+ (base32 "1gzgiypln7lck3p95vk3i8rdx1bjbmmlcpb8xpba8cjdjvlj0l0z"))))
(build-system python-build-system)
- (arguments
- `(#:tests? #f ; Pypi does not have tests and Git snapshot depends on
- ; poetry.
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'relax-version-requirements
- (lambda _
- (substitute* "setup.py"
- (("pypika>=0\\.44\\.0,<0\\.45\\.0") "pypika")
- (("aiosqlite>=0.16.0,<0.17.0") "aiosqlite")
- (("pytz>=2020\\.4,<2021\\.0") "pytz")
- ;; Not required, since ciso8601 is used.
- (("'iso8601>=0\\.1\\.13,<0\\.2\\.0',") ""))
- #t)))))
- (native-inputs
- `(("python-asynctest" ,python-asynctest)
- ("python-nose2" ,python-nose2)))
+ ;; The test suite relies on asynctest, which is abandoned and doesn't
+ ;; support Python >= 3.8.
+ (arguments '(#:tests? #f))
(propagated-inputs
- `(("python-aiosqlite" ,python-aiosqlite)
- ("python-pypika" ,python-pypika)
- ("python-ciso8601" ,python-ciso8601)
- ("python-pytz" ,python-pytz)
- ("python-typing-extensions"
- ,python-typing-extensions)))
- (home-page
- "https://github.com/tortoise/tortoise-orm")
- (synopsis
- "Easy async ORM for python, built with relations in mind")
- (description
- "Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper)
-inspired by Django. Tortoise ORM was build with relations in mind and
-admiration for the excellent and popular Django ORM. It’s engraved in its
-design that you are working not with just tables, you work with relational
-data.")
+ (list python-aiomysql
+ python-aiosqlite
+ python-asyncmy
+ python-asyncpg
+ python-ciso8601
+ python-iso8601
+ python-pypika-tortoise
+ python-pytz
+ python-rapidjson
+ python-uvloop))
+ (home-page "https://github.com/tortoise/tortoise-orm")
+ (synopsis "Asynchronous Object Relational Mapper (ORM) for Python")
+ (description "Tortoise ORM is an easy-to-use asyncio ORM (Object
+Relational Mapper) inspired by Django. Tortoise ORM was built with relations
+in mind and admiration for the excellent and popular Django ORM. It's
+engraved in its design that you are working not with just tables, you work
+with relational data.")
(license license:asl2.0)))
(define-public sqlcipher
- branch core-updates-frozen-batched-changes updated (1f5cff2 -> 7274d69), guix-commits, 2021/11/05
- 02/13: gnu: icecat: Enable geckodriver., guix-commits, 2021/11/05
- 03/13: gnu: Add python-pypika-tortoise., guix-commits, 2021/11/05
- 01/13: gnu: osinfo-db-tools: Update to 1.9.0., guix-commits, 2021/11/05
- 06/13: gnu: Add python-asyncmy., guix-commits, 2021/11/05
- 07/13: gnu: Add python-aiomysql., guix-commits, 2021/11/05
- 11/13: gnu: python-wmctrl: Add missing python-attrs propagated inputs., guix-commits, 2021/11/05
- 13/13: gnu: conan: Update to 1.42.0., guix-commits, 2021/11/05
- 05/13: gnu: Add python-asyncpg., guix-commits, 2021/11/05
- 08/13: gnu: python-aiomysql: Update to 0.17.8.,
guix-commits <=
- 04/13: gnu: Add python-sphinxcontrib-asyncio., guix-commits, 2021/11/05
- 12/13: gnu: python-urllib3: Update to 1.26.7., guix-commits, 2021/11/05
- 10/13: gnu: python-asynctest: Delete package., guix-commits, 2021/11/05
- 09/13: gnu: python-pymodbus: Update to 2.5.3., guix-commits, 2021/11/05