aboutsummaryrefslogtreecommitdiff
path: root/.guix
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-09-06 13:12:34 +0300
committerFrederick Muriuki Muriithi2023-09-06 13:12:34 +0300
commitcb4a2d60d85601ca9557cc274da351938e13fb8f (patch)
tree64a92f6c20df398244c5d93faae51c4cb02e3610 /.guix
parent09d9c0c6140fdca183703c96a65a570eec3c8573 (diff)
downloadgn-auth-cb4a2d60d85601ca9557cc274da351938e13fb8f.tar.gz
Update yoyo-migration and mypy
Update the dependencies to enable the use of Python-3.10
Diffstat (limited to '.guix')
-rw-r--r--.guix/modules/gn-auth.scm33
1 files changed, 17 insertions, 16 deletions
diff --git a/.guix/modules/gn-auth.scm b/.guix/modules/gn-auth.scm
index ec8e4a5..9da988b 100644
--- a/.guix/modules/gn-auth.scm
+++ b/.guix/modules/gn-auth.scm
@@ -20,6 +20,7 @@
#:use-module (gnu packages databases)
;; Packages from guix-bioinformatics
+ #:use-module (gn packages python)
#:use-module (gn packages python-web))
(define %source-dir (dirname (dirname (current-source-directory))))
@@ -47,23 +48,23 @@
(when tests?
(invoke "pytest" "-k" "unit_test")))))))
(native-inputs
- (list python-mypy
- python-pytest
- python-pylint
- python-hypothesis
- python-pytest-mock
- python-mypy-extensions))
+ `(("python-mypy" ,python-mypy-0.981)
+ ("python-pytest" ,python-pytest)
+ ("python-pylint" ,python-pylint)
+ ("python-hypothesis" ,python-hypothesis)
+ ("python-pytest-mock" ,python-pytest-mock)
+ ("python-mypy-extensions" ,python-mypy-extensions)))
(propagated-inputs
- (list gunicorn
- python-flask
- python-redis
- python-authlib
- python-pymonad
- yoyo-migrations
- python-bcrypt ;; remove after removing all references
- python-mysqlclient
- python-argon2-cffi
- python-email-validator))
+ `(("gunicorn" ,gunicorn)
+ ("python-flask" ,python-flask)
+ ("python-redis" ,python-redis)
+ ("python-authlib" ,python-authlib)
+ ("python-pymonad" ,python-pymonad)
+ ("yoyo-migrations" ,yoyo-migrations-8.2.0)
+ ("python-bcrypt" ,python-bcrypt) ;; remove after removing all references
+ ("python-mysqlclient" ,python-mysqlclient)
+ ("python-argon2-cffi" ,python-argon2-cffi)
+ ("python-email-validator" ,python-email-validator)))
(home-page "https://github.com/genenetwork/gn-auth")
(synopsis "Authentication and Authorisation server for GeneNetwork services")
(description "Authentication and Authorisation server for GeneNetwork services.")