mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-webassets: Patch for Python 3.9.
* gnu/packages/python-web.scm (python-webassets)[arguments]: Add substitution.
This commit is contained in:
parent
9f5b9d18d8
commit
846bd3d083
1 changed files with 5 additions and 1 deletions
|
@ -3762,8 +3762,12 @@ for Flask.")
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
(add-before 'check 'disable-some-tests
|
(add-before 'check 'adjust-tests
|
||||||
(lambda _
|
(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
|
;; This test requires 'postcss' and 'babel' which are
|
||||||
;; not yet available in Guix.
|
;; not yet available in Guix.
|
||||||
(delete-file "tests/test_filters.py")))
|
(delete-file "tests/test_filters.py")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue