From 474dc182b71e7729a52ea000fbf02a650f33b454 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 20 Mar 2025 21:58:44 +0100 Subject: [PATCH] gnu: python-werkzeug-1.0: Do not abort on warnings. * gnu/packages/python-web.scm (python-werkzeug-1.0)[arguments]: Remove custom 'check phase; do not raise errors when warnings are printed. Change-Id: Ia13e63f6504e5254e35625528ad3ed8e00355528 --- gnu/packages/python-web.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 28720eaed89..3e506186ac2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6537,13 +6537,13 @@ addon modules.") "0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c")) (patches (search-patches "python-werkzeug-tests.patch")))) (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest")))))) + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'ignore-warnings + (lambda _ + (substitute* "setup.cfg" + ((" error.*") ""))))))) (propagated-inputs (list python-requests)) (native-inputs