guix-commits
[Top][All Lists]
Advanced

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

03/37: gnu: python-flask: Update to 1.1.1.


From: guix-commits
Subject: 03/37: gnu: python-flask: Update to 1.1.1.
Date: Mon, 16 Mar 2020 10:46:20 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 15af040cc35895e779397ab42f53561666d9301a
Author: Marius Bakke <address@hidden>
AuthorDate: Mon Mar 16 03:27:50 2020 +0100

    gnu: python-flask: Update to 1.1.1.
    
    * gnu/packages/python-web.scm (python-flask): Update to 1.1.1.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d1e09fc..985d03f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1728,20 +1728,22 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.0.3")
+    (version "1.1.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "1wxnhjlxwwjhjxmghykjhllpahv5pkdc5hln4ab6nab43s26sz5d"))))
+                "0ljdjgyjn7vh8ic1n1dc2l1cl421i6pr3kx5sz2w5irhyfbg3y8k"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (invoke "python" "-m" "pytest"))))))
+             (setenv "PYTHONPATH" (string-append "./build/lib:"
+                                                 (getenv "PYTHONPATH")))
+             (invoke "pytest" "-vv" "tests"))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs



reply via email to

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