guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit a1dbdd82c53bbc8f6c738985828a0f14f3d168d1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 3 22:32:10 2026 +0000
gnu: python-openapi-spec-validator: Update to 0.9.0.
* gnu/packages/python-web.scm (python-openapi-spec-validator): Update to
0.9.0.
[arguments] <test-flags>: Rework ignored tests option.
[propagated-inputs]: Remove python-requests and python-setuptools; add
python-pydantic and python-pydantic-settings.
---
gnu/packages/python-web.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 777907c075e..d1def8012c4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7985,23 +7985,24 @@ JSON Schema Specification Draft 2020-12.
(define-public python-openapi-spec-validator
(package
(name "python-openapi-spec-validator")
- (version "0.7.1")
+ (version "0.9.0")
(source
(origin
- (method git-fetch) ;no tests in pypi release
+ (method git-fetch)
(uri (git-reference
- (url "https://github.com/p1c2u/openapi-spec-validator")
- (commit version)))
+ (url "https://github.com/p1c2u/openapi-spec-validator")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "0s5yd4dbr6knwd2g1g4v2931k14n1lm80l11n2ija18yfis8yisz"))))
+ (base32 "1f96n1c12rdflp0wizl7b6id8g8r7ikylz3wlna1k1z5fm4jhiya"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; These tests attempt to fetch resources from the Internet
- #:test-flags '(list "--ignore-glob=tests/integration/validation/**"
- "-k" "not example")))
+ ;; tests: 71 passed
+ #:test-flags
+ ;; Network access is required.
+ #~(list "--ignore=tests/integration/test_shortcuts.py"
+ "--ignore=tests/integration/validation/test_validators.py")))
(native-inputs
(list python-poetry-core
python-pytest))
@@ -8010,9 +8011,9 @@ JSON Schema Specification Draft 2020-12.
python-jsonschema-path
python-lazy-object-proxy
python-openapi-schema-validator
- python-pyyaml
- python-requests
- python-setuptools))
+ python-pydantic
+ python-pydantic-settings
+ python-pyyaml))
(home-page "https://github.com/p1c2u/openapi-spec-validator")
(synopsis "OpenAPI spec validator")
(description "OpenAPI Spec Validator is a Python library that validates an