mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 11:26:55 -05:00
gnu: python-wtforms: Adjust for SQLAlchemy >= 1.4.
* gnu/packages/python-web.scm (python-wtforms)[arguments]: Add phase to delete test.
This commit is contained in:
parent
d0e23782df
commit
16110ba476
1 changed files with 6 additions and 0 deletions
|
@ -4163,6 +4163,12 @@ (define-public python-wtforms
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'delete-bundled-test
|
||||||
|
(lambda _
|
||||||
|
;; Delete test copied from a third party package that fails
|
||||||
|
;; with newer SQLAlchemy. This can be removed for 3.0.
|
||||||
|
;; See <https://github.com/wtforms/wtforms/issues/696>.
|
||||||
|
(delete-file "tests/ext_sqlalchemy.py")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
|
Loading…
Reference in a new issue