mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-30 22:35:57 +02:00
gnu: python-webassets: Patch for Python 3.9.
* gnu/packages/python-web.scm (python-webassets)[arguments]: Add substitution.
This commit is contained in:
@@ -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")))
|
||||
|
||||
Reference in New Issue
Block a user