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
This commit is contained in:
Ricardo Wurmus 2024-05-08 09:46:49 +02:00 committed by Sharlatan Hellseher
parent 9b414c7835
commit a10ee797b2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2316,7 +2316,7 @@ compliance with the specification.")
(define-public python-openapi-core (define-public python-openapi-core
(package (package
(name "python-openapi-core") (name "python-openapi-core")
(version "0.14.2") (version "0.19.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2326,7 +2326,7 @@ compliance with the specification.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r")))) "1fdz01wssgqh9dzc7qddl0fms2zivhalghzk63ynblss2r91yc8s"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -2335,10 +2335,10 @@ compliance with the specification.")
;; Ignore Pytest configuration in setup.cfg that adds ;; Ignore Pytest configuration in setup.cfg that adds
;; unwanted flake8 and coverage options. ;; unwanted flake8 and coverage options.
"-c" "/dev/null" "-c" "/dev/null"
;; This tests fails due to changes in Pytest; fixed "-k" (string-append
;; but not yet released upstream ;; Type mismatches
;; (https://github.com/p1c2u/openapi-core/issues/158). "not TestFlaskOpenAPIRequest"
"-k" "not test_string_format_invalid_value"))) " and not TestFlaskOpenAPIResponse"))))
(native-inputs (list python-django (native-inputs (list python-django
python-falcon python-falcon
python-flask python-flask
@ -2349,6 +2349,7 @@ compliance with the specification.")
python-responses)) python-responses))
(propagated-inputs (propagated-inputs
(list python-attrs (list python-attrs
python-aiohttp
python-dictpath python-dictpath
python-isodate python-isodate
python-jsonschema python-jsonschema