guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/11: gnu: python-tortoise-orm: Update to 0.16.21.


From: guix-commits
Subject: 07/11: gnu: python-tortoise-orm: Update to 0.16.21.
Date: Wed, 10 Mar 2021 06:02:30 -0500 (EST)

lbraun pushed a commit to branch master
in repository guix.

commit e7a3ae1e85286288c723af8e0aae8500f1e91e01
Author: Lars-Dominik Braun <ldb@leibniz-psychology.org>
AuthorDate: Thu Mar 4 13:30:09 2021 +0100

    gnu: python-tortoise-orm: Update to 0.16.21.
    
    * gnu/packages/databases.scm (python-tortoise-orm) [version]: Update to 
0.16.21.
    [arguments]: Relax version requirements.
---
 gnu/packages/databases.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8bc411c..d8ebc77 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2642,17 +2642,25 @@ can autogenerate peewee models using @code{pwiz}, a 
model generator.")
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")
-    (version "0.16.7")
+    (version "0.16.21")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "tortoise-orm" version))
        (sha256
         (base32
-         "0wr7p4v0b16ypm9fcpwpl99kf491m6w3jkd13xcsgq13fy73fbqc"))))
+         "1dallk0q8q4v37klm0v3rppf2w8sjkqmypc1w8r9rraqxg1ylacp"))))
     (build-system python-build-system)
-    ;; Disable tests for now. They pull in a lot of dependencies.
-    (arguments `(#:tests? #f))
+    (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"))
+                      #t)))))
     (native-inputs
      `(("python-asynctest" ,python-asynctest)
        ("python-nose2" ,python-nose2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]