guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

111/231: gnu: python-openapi-core: Update to 0.19.1.


From: guix-commits
Subject: 111/231: gnu: python-openapi-core: Update to 0.19.1.
Date: Tue, 15 Oct 2024 17:11:10 -0400 (EDT)

sharlatan pushed a commit to branch python-team-old
in repository guix.

commit 8651419de6dba0b68ee5cf55e90b3ae67de83443
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 09:46:49 2024 +0200

    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
---
 gnu/packages/python-web.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 492befcb4f..dd1e005b72 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2273,7 +2273,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)
@@ -2283,7 +2283,7 @@ compliance with the specification.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r"))))
+         "1fdz01wssgqh9dzc7qddl0fms2zivhalghzk63ynblss2r91yc8s"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -2292,10 +2292,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
@@ -2306,6 +2306,7 @@ compliance with the specification.")
                          python-responses))
     (propagated-inputs
      (list python-attrs
+           python-aiohttp
            python-dictpath
            python-isodate
            python-jsonschema



reply via email to

[Prev in Thread] Current Thread [Next in Thread]