diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-06-06 16:06:30 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-06-07 09:11:53 -0400 |
commit | 53a0e405ff37ac24dd9baf6114ca71cae4268fee (patch) | |
tree | e24e12561ea44d13cb6ba113dcc635a457fb3aa0 /gnu | |
parent | 86a915433bfb9eccdcfa6239f95cd3acb87892ff (diff) | |
download | guix-53a0e405ff37ac24dd9baf6114ca71cae4268fee.tar guix-53a0e405ff37ac24dd9baf6114ca71cae4268fee.tar.gz |
gnu: python-flask-combo-jsonapi: Skip failing test.
* gnu/packages/python-web.scm (python-flask-combo-jsonapi)
[phases]{check}: Skip
test_get_list_with_simple_filter_relationship_custom_qs_api test.
[native-inputs]: Normalize indentation.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-web.scm | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bfbae3ce07..80ed6a27b1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7067,17 +7067,22 @@ provides well-defined APIs to talk to websites lacking one.") (base32 "07fhcjiyif80z1vyh35za29sqx1mmqh568jrbrrs675j4a797sj1")))) (build-system python-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'loosen-requirements - (lambda _ - ;; Don't pin specific versions of dependencies. - (substitute* "requirements.txt" - (("^sqlalchemy[=<>].*") "sqlalchemy\n") - (("^marshmallow[=<>].*") "marshmallow\n") - (("^Flask[=<>].*") "Flask\n")))) - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'loosen-requirements + (lambda _ + ;; Don't pin specific versions of dependencies. + (substitute* "requirements.txt" + (("^sqlalchemy[=<>].*") "sqlalchemy\n") + (("^marshmallow[=<>].*") "marshmallow\n") + (("^Flask[=<>].*") "Flask\n")))) + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "-k" + ;; The following test fails for unknown reasons (see: + ;; https://github.com/AdCombo/flask-combo-jsonapi/issues/66). + "not test_get_list_with_simple_filter_\ +relationship_custom_qs_api")))))) (propagated-inputs (list python-flask python-marshmallow @@ -7088,7 +7093,9 @@ provides well-defined APIs to talk to websites lacking one.") python-simplejson python-six)) (native-inputs - (list python-coverage python-coveralls python-pytest + (list python-coverage + python-coveralls + python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") |