guix-commits
[Top][All Lists]
Advanced

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

06/10: gnu: python-wtforms: Adjust for SQLAlchemy >= 1.4.


From: guix-commits
Subject: 06/10: gnu: python-wtforms: Adjust for SQLAlchemy >= 1.4.
Date: Wed, 15 Sep 2021 17:41:42 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 16110ba476d90d0fb5b2921eb57f42f8faa3623c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Sep 15 19:28:43 2021 +0200

    gnu: python-wtforms: Adjust for SQLAlchemy >= 1.4.
    
    * gnu/packages/python-web.scm (python-wtforms)[arguments]: Add phase to 
delete test.
---
 gnu/packages/python-web.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7856694..ac9245a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4163,6 +4163,12 @@ addon modules.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'delete-bundled-test
+           (lambda _
+             ;; Delete test copied from a third party package that fails
+             ;; with newer SQLAlchemy.  This can be removed for 3.0.
+             ;; See <https://github.com/wtforms/wtforms/issues/696>.
+             (delete-file "tests/ext_sqlalchemy.py")))
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
              (when tests?



reply via email to

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