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.
This commit is contained in:
Maxim Cournoyer 2021-11-04 22:22:54 -04:00
parent 374c6fd09c
commit b045f58771
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2701,48 +2701,35 @@ 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.16.21") (version "0.17.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "tortoise-orm" version)) (uri (pypi-uri "tortoise-orm" version))
(sha256 (sha256
(base32 (base32 "1gzgiypln7lck3p95vk3i8rdx1bjbmmlcpb8xpba8cjdjvlj0l0z"))))
"1dallk0q8q4v37klm0v3rppf2w8sjkqmypc1w8r9rraqxg1ylacp"))))
(build-system python-build-system) (build-system python-build-system)
(arguments ;; The test suite relies on asynctest, which is abandoned and doesn't
`(#:tests? #f ; Pypi does not have tests and Git snapshot depends on ;; support Python >= 3.8.
; poetry. (arguments '(#:tests? #f))
#: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)))
(propagated-inputs (propagated-inputs
`(("python-aiosqlite" ,python-aiosqlite) (list python-aiomysql
("python-pypika" ,python-pypika) python-aiosqlite
("python-ciso8601" ,python-ciso8601) python-asyncmy
("python-pytz" ,python-pytz) python-asyncpg
("python-typing-extensions" python-ciso8601
,python-typing-extensions))) python-iso8601
(home-page python-pypika-tortoise
"https://github.com/tortoise/tortoise-orm") python-pytz
(synopsis python-rapidjson
"Easy async ORM for python, built with relations in mind") python-uvloop))
(description (home-page "https://github.com/tortoise/tortoise-orm")
"Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) (synopsis "Asynchronous Object Relational Mapper (ORM) for Python")
inspired by Django. Tortoise ORM was build with relations in mind and (description "Tortoise ORM is an easy-to-use asyncio ORM (Object
admiration for the excellent and popular Django ORM. Its engraved in its Relational Mapper) inspired by Django. Tortoise ORM was built with relations
design that you are working not with just tables, you work with relational in mind and admiration for the excellent and popular Django ORM. It's
data.") engraved in its design that you are working not with just tables, you work
with relational data.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public sqlcipher (define-public sqlcipher