gnu: python-apispec: Update to 6.7.1.

* gnu/packages/python-xyz.scm (python-apispec): Update to 6.7.1. Adjut
indentation.
[arguments]<test-flags>: Enable all tests.
[propagated-inputs]: Remove python-packaging; add python-marshmallow and
python-pyyaml.
[native-inputs]: Remove python-flake8, python-flake8-bugbear,
python-marshmallow, python-pyyaml, python-setuptools, and python-wheel;
add python-flit-core and python-openapi-spec-validator.

Change-Id: I0ab67f9ea7da59eab17beff9fd221616ccd569a7
This commit is contained in:
Sharlatan Hellseher 2024-11-17 22:53:06 +00:00
parent 045fcc78ca
commit 39c7419798
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -26122,37 +26122,27 @@ datatypes to and from native Python datatypes.")
(define-public python-apispec (define-public python-apispec
(package (package
(name "python-apispec") (name "python-apispec")
(version "6.0.2") (version "6.7.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "apispec" version)) (uri (pypi-uri "apispec" version))
(sha256 (sha256
(base32 (base32 "0cxr10m3gj7nmipi3blsj31jz6qfjbfzjrwsnxaxzzhgyipqn6y0"))))
"11vqxwdxmm7qmyhdbxk4gnx37nbzmn266ah92gi4pvzd76vq0vg7"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
;; Disable validation tests since they require
;; the optional 'prance' library which is not
;; yet in Guix.
#:test-flags '(list "-k" "not openapi_tools_validate")))
(propagated-inputs
(list python-packaging))
(native-inputs (native-inputs
(list python-flake8 (list python-flit-core
python-flake8-bugbear
python-marshmallow
python-mypy python-mypy
python-pytest python-openapi-spec-validator
python-pyyaml python-pytest))
python-setuptools (propagated-inputs
python-wheel)) (list python-marshmallow
python-pyyaml))
(home-page "https://github.com/marshmallow-code/apispec") (home-page "https://github.com/marshmallow-code/apispec")
(synopsis "Swagger/OpenAPI specification generator") (synopsis "Swagger/OpenAPI specification generator")
(description "@code{python-apispec} is a pluggable API specification (description
generator. It currently supports the OpenAPI specification, formerly known as "@code{python-apispec} is a pluggable API specification generator. It
Swagger.") currently supports the OpenAPI specification, formerly known as Swagger.")
(license license:expat))) (license license:expat)))
(define-public python-apispec-webframeworks (define-public python-apispec-webframeworks