mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-19 16:50:38 +02:00
gnu: python-flasgger: Fix tests.
* gnu/packages/python-xyz.scm (python-flasgger): [source] <snippet>: Apply upstream patch for Click 8.2 compatibility, see <https://github.com/flasgger/flasgger/pull/633>. [arguments] <test-flags>: Remove redundant option and run tests only in "tests" directory. Change-Id: I7fbe495dee922fd2aa67052cf445526adc5ab205
This commit is contained in:
@@ -25448,13 +25448,22 @@ web frameworks.")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "08dnn19swfa5lsscj38hil41b3xnqvwgwnx9q2vg9kv26bs1zcah"))))
|
||||
(base32 "08dnn19swfa5lsscj38hil41b3xnqvwgwnx9q2vg9kv26bs1zcah"))
|
||||
(patches
|
||||
(list
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/flasgger/flasgger/commit/"
|
||||
"08591b60e988c0002fcf1b1e9f98b78e041d2732.patch"))
|
||||
(sha256
|
||||
(base32 "0a9gprhbm4xjc5pg01agh6i99alkknah7z6281f0z8amjyss91rg")))))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "--ignore=tests/test_examples.py"
|
||||
"-k" "not test_swag")))
|
||||
"tests")))
|
||||
(propagated-inputs
|
||||
(list python-flask
|
||||
python-pyyaml
|
||||
|
||||
Reference in New Issue
Block a user