From 16110ba476d90d0fb5b2921eb57f42f8faa3623c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 15 Sep 2021 19:28:43 +0200 Subject: 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 785669410b..ac9245ac7b 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 . + (delete-file "tests/ext_sqlalchemy.py"))) (replace 'check (lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests? -- cgit v1.2.3