summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-04-06 10:57:19 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-04-06 10:57:19 +0200
commit14392c77896561c5846c0f3a0588720792d61e95 (patch)
tree251f3ca3898c0613e7284748b21e9d7b3f618fb6
parentab0ed26eb70931e04c921ceef313ca67e3c6d61c (diff)
downloadguix-14392c77896561c5846c0f3a0588720792d61e95.tar.gz
gnu: python-tortoise-orm: Fix dependencies.
* gnu/packages/databases.scm (python-tortoise-orm) [propagated-inputs]:
Add missing dependency.
[arguments]: Relax pytz version requirement, remove iso8601 requirement.
-rw-r--r--gnu/packages/databases.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 130e94d535..ce7afa82d0 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2469,7 +2469,10 @@ can autogenerate peewee models using @code{pwiz}, a model generator.")
                     (lambda _
                       (substitute* "setup.py"
                         (("pypika>=0\\.44\\.0,<0\\.45\\.0") "pypika")
-                        (("aiosqlite>=0.16.0,<0.17.0") "aiosqlite"))
+                        (("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)
@@ -2478,6 +2481,7 @@ can autogenerate peewee models using @code{pwiz}, a model generator.")
      `(("python-aiosqlite" ,python-aiosqlite)
        ("python-pypika" ,python-pypika)
        ("python-ciso8601" ,python-ciso8601)
+       ("python-pytz" ,python-pytz)
        ("python-typing-extensions"
         ,python-typing-extensions)))
     (home-page