guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit c69e6c7a768eca37097ce9d7fc279ff1c391368b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Mar 14 00:10:45 2026 +0000
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
---
gnu/packages/python-xyz.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0fc1325bca..5600637027 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25219,13 +25219,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