guix-commits
[Top][All Lists]
Advanced

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

108/361: gnu: python-openapi-spec-validator: Update to 0.7.1.


From: guix-commits
Subject: 108/361: gnu: python-openapi-spec-validator: Update to 0.7.1.
Date: Thu, 21 Nov 2024 06:29:00 -0500 (EST)

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

commit e01e13980927c59e2928e19ec6145ddc2cd1d4c7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 00:32:22 2024 +0200

    gnu: python-openapi-spec-validator: Update to 0.7.1.
    
    * gnu/packages/python-web.scm (python-openapi-spec-validator): Update to
    0.7.1.
    [arguments]: Update test selection.
    [propagated-inputs]: Add python-jsonschema-path and 
python-lazy-object-proxy.
    
    Change-Id: Ie10257a90b495addf3ea890cf9b3c71c6f14da8f
---
 gnu/packages/python-web.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5d3bc03d95..d6829cf8c5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2264,7 +2264,7 @@ JSON Schema Specification Draft 2020-12.
 (define-public python-openapi-spec-validator
   (package
     (name "python-openapi-spec-validator")
-    (version "0.4.0")
+    (version "0.7.1")
     (source
      (origin
        (method git-fetch)               ;no tests in pypi release
@@ -2274,22 +2274,26 @@ JSON Schema Specification Draft 2020-12.
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1q09sjh4hsc0c8yqbd97h5mp6rwh427y6zyn8kv8wljk6sa0fs4q"))))
+         "0s5yd4dbr6knwd2g1g4v2931k14n1lm80l11n2ija18yfis8yisz"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; The example tests attempt to fetch resources from the Internet
-      ;; (see: https://github.com/p1c2u/openapi-spec-validator/issues/151).
-      #:test-flags #~'("-k" "not Example and not Exampe")
+      ;; These tests attempt to fetch resources from the Internet
+      #:test-flags '(list "--ignore-glob=tests/integration/validation/**"
+                          "-k" "not example")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-coverage-pytest-options
             (lambda _
               (substitute* "pyproject.toml"
                 (("^--cov.*") "")))))))
-    (native-inputs (list python-poetry-core python-pytest))
+    (native-inputs
+     (list python-poetry-core
+           python-pytest))
     (propagated-inputs
      (list python-jsonschema
+           python-jsonschema-path
+           python-lazy-object-proxy
            python-openapi-schema-validator
            python-pyyaml
            python-requests



reply via email to

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