gnu: python-wtforms: Don't run style and coverage tests.

Such tests are fragile and does not affect functionality of the package.

* gnu/packages/python-web.scm (python-wtforms)[arguments]: In the check phase,
disable code coverage and pep8.
[native-inputs]: Remove PYTHON-COVERAGE and PYTHON-PEP8.
[source](uri): While at it, remove redundant '.tar.gz' argument to PYPI-URI.
This commit is contained in:
Marius Bakke 2021-09-15 19:30:21 +02:00
parent 16110ba476
commit 16236cda58
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4155,7 +4155,7 @@ (define-public python-wtforms
(source
(origin
(method url-fetch)
(uri (pypi-uri "WTForms" version ".tar.gz"))
(uri (pypi-uri "WTForms" version))
(sha256
(base32
"17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
@ -4174,11 +4174,9 @@ (define-public python-wtforms
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "compile_catalog")
(invoke "coverage" "run" "tests/runtests.py" "--with-pep8")))))))
(invoke "python" "tests/runtests.py")))))))
(native-inputs
`(("python-coverage" ,python-coverage)
("python-dateutil" ,python-dateutil)
("python-pep8" ,python-pep8)
`(("python-dateutil" ,python-dateutil)
("python-sqlalchemy" ,python-sqlalchemy)))
(propagated-inputs
`(("python-babel" ,python-babel)