~ruther/guix-local

846bd3d083eaf5e243367245daeaef0d0a0b65ce — Marius Bakke 4 years ago 9f5b9d1
gnu: python-webassets: Patch for Python 3.9.

* gnu/packages/python-web.scm (python-webassets)[arguments]: Add
substitution.
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +5 -1
@@ 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")))