guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit e9081958438447cef00b48ae0a87f61cdf003bf5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 3 22:27:18 2026 +0000
gnu: python-openapi-schema-validator: Update to 0.9.0.
* gnu/packages/python-web.scm (python-openapi-schema-validator): Update to
0.9.0.
[arguments]: Drop all.
[propagated-inputs]: Remove python-isodate; add
python-jsonschema-specifications,
python-pydantic, python-pydantic-settings, and python-referencing.
---
gnu/packages/python-web.scm | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0a5f4054a98..3c11a9761be 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9472,35 +9472,24 @@ OpenAI API.")
(define-public python-openapi-schema-validator
(package
(name "python-openapi-schema-validator")
- (version "0.6.2")
+ (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-schema-validator")
- (commit version)))
+ (url "https://github.com/p1c2u/openapi-schema-validator")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "0pgsm1x7lhc5ryj4l45ik8m5x9gqyi50dkflaiqqr4fnl0bsbx09"))))
+ (base32 "10lbhnbyql9x4bmaszq8b9hm4fhqkry5j2rdzk3p7c2rv5and9by"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- ;; This one returns 5 instead of 4 elements
- '(list "-k" "not test_array_prefixitems_invalid")
- #:phases
- #~(modify-phases %standard-phases
- ;; See
https://github.com/python-openapi/openapi-schema-validator/issues/204
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "pyproject.toml"
- (("jsonschema-specifications.*")
- "jsonschema-specifications = \">=2023.5.2\"\n")))))))
(native-inputs (list python-poetry-core python-pytest))
(propagated-inputs
- (list python-isodate
- python-jsonschema
+ (list python-jsonschema
+ python-jsonschema-specifications
+ python-pydantic
+ python-pydantic-settings
+ python-referencing
python-rfc3339-validator
python-strict-rfc3339))
(home-page "https://github.com/p1c2u/openapi-schema-validator")