aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-08 09:46:49 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:18:43 +0000
commita10ee797b2424cf9c73c1ec0a5f351fee8e01eb6 (patch)
treeb6652a8a05473c2b339c69e0a79ce776b8d71198
parent9b414c783532304eb9f061f04504fb16b2206b9a (diff)
downloadguix-a10ee797b2424cf9c73c1ec0a5f351fee8e01eb6.tar.gz
guix-a10ee797b2424cf9c73c1ec0a5f351fee8e01eb6.zip
gnu: python-openapi-core: Update to 0.19.1.
* gnu/packages/python-web.scm (python-openapi-core): Update to 0.19.1. [arguments]: Enable one test that no longer fails, disable others that do. [propagated-inputs]: Add python-aiohttp. Change-Id: I0a793911f795e18750009e7834b7e1f6d7152282
-rw-r--r--gnu/packages/python-web.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 689c0478b3..017bcf5087 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2316,7 +2316,7 @@ compliance with the specification.")
(define-public python-openapi-core
(package
(name "python-openapi-core")
- (version "0.14.2")
+ (version "0.19.1")
(source
(origin
(method git-fetch)
@@ -2326,7 +2326,7 @@ compliance with the specification.")
(file-name (git-file-name name version))
(sha256
(base32
- "1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r"))))
+ "1fdz01wssgqh9dzc7qddl0fms2zivhalghzk63ynblss2r91yc8s"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2335,10 +2335,10 @@ compliance with the specification.")
;; Ignore Pytest configuration in setup.cfg that adds
;; unwanted flake8 and coverage options.
"-c" "/dev/null"
- ;; This tests fails due to changes in Pytest; fixed
- ;; but not yet released upstream
- ;; (https://github.com/p1c2u/openapi-core/issues/158).
- "-k" "not test_string_format_invalid_value")))
+ "-k" (string-append
+ ;; Type mismatches
+ "not TestFlaskOpenAPIRequest"
+ " and not TestFlaskOpenAPIResponse"))))
(native-inputs (list python-django
python-falcon
python-flask
@@ -2349,6 +2349,7 @@ compliance with the specification.")
python-responses))
(propagated-inputs
(list python-attrs
+ python-aiohttp
python-dictpath
python-isodate
python-jsonschema