guix-commits
[Top][All Lists]
Advanced

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

06/37: gnu: python-flask-wtf: Update to 0.14.3.


From: guix-commits
Subject: 06/37: gnu: python-flask-wtf: Update to 0.14.3.
Date: Mon, 16 Mar 2020 10:46:21 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 8f29817ed523dd4e5dbd459ecb94dbd1cab6a4fc
Author: Marius Bakke <address@hidden>
AuthorDate: Mon Mar 16 03:43:25 2020 +0100

    gnu: python-flask-wtf: Update to 0.14.3.
    
    * gnu/packages/python-web.scm (python-flask-wtf): Update to 0.14.3.
    [arguments]: Remove obsolete phase.  Override check phase.
    [native-inputs]: Remove PYTHON-NOSE.  Add PYTHON-PYTEST.
---
 gnu/packages/python-web.scm | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b87764b..6d4204b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1770,31 +1770,29 @@ presume or force a developer to use a particular tool 
or library.")
 (define-public python-flask-wtf
   (package
     (name "python-flask-wtf")
-    (version "0.13.1")
+    (version "0.14.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Flask-WTF" version))
        (sha256
         (base32
-         "04l5743j2dici46038sqlzvf0xzpg8rf7s9ld2x24xv7f4idg990"))))
+         "086pvg2x69n0nczcq7frknfjd8am1zdy8qqpva1sanwb02hf65yl"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'drop-failing-test
+         (replace 'check
            (lambda _
-             ;; FIXME: This file tries resolving an external server, which
-             ;; fails. Try to patch out the offending section instead of
-             ;; deleting the whole thing.
-             (delete-file "tests/test_recaptcha.py")
-             #t)))))
+             (setenv "PYTHONPATH" (string-append "./build/lib:"
+                                                 (getenv "PYTHONPATH")))
+             (invoke "pytest" "-vv"))))))
     (propagated-inputs
      `(("python-flask-babel" ,python-flask-babel)
        ("python-babel" ,python-babel)
        ("python-wtforms" ,python-wtforms)))
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/lepture/flask-wtf";)
     (synopsis "Simple integration of Flask and WTForms")
     (description "Flask-WTF integrates Flask and WTForms, including CSRF, file



reply via email to

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