guix-commits
[Top][All Lists]
Advanced

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

79/195: gnu: python-openapi-core: Update to 0.19.1.


From: guix-commits
Subject: 79/195: gnu: python-openapi-core: Update to 0.19.1.
Date: Tue, 15 Oct 2024 03:29:47 -0400 (EDT)

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

commit f999f1b38a75a6e1103be1f2a770ad068e0f92e7
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 8aa9596048..ea6f1b4001 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2303,7 +2303,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)
@@ -2313,7 +2313,7 @@ compliance with the specification.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r"))))
+         "1fdz01wssgqh9dzc7qddl0fms2zivhalghzk63ynblss2r91yc8s"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -2322,10 +2322,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
@@ -2336,6 +2336,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]