From 846bd3d083eaf5e243367245daeaef0d0a0b65ce Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 1 Dec 2021 00:57:54 +0100 Subject: gnu: python-webassets: Patch for Python 3.9. * gnu/packages/python-web.scm (python-webassets)[arguments]: Add substitution. --- gnu/packages/python-web.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 98e3e6a8d5..811650de24 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3762,8 +3762,12 @@ for Flask.") (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases - (add-before 'check 'disable-some-tests + (add-before 'check 'adjust-tests (lambda _ + ;; Fix for Python 3.9 compatibility. + (substitute* "tests/test_script.py" + (("self\\.t\\.isAlive") + "self.t.is_alive")) ;; This test requires 'postcss' and 'babel' which are ;; not yet available in Guix. (delete-file "tests/test_filters.py"))) -- cgit 1.4.1