[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: python-apispec: Update to 6.0.2.
From: |
guix-commits |
Subject: |
03/07: gnu: python-apispec: Update to 6.0.2. |
Date: |
Sun, 11 Dec 2022 09:40:06 -0500 (EST) |
rekado pushed a commit to branch wip-python-graphviz
in repository guix.
commit 7d2c7e770909c2e33fd975ded2dd402083825c19
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 11 13:45:51 2022 +0100
gnu: python-apispec: Update to 6.0.2.
* gnu/packages/python-xyz.scm (python-apispec): Update to 6.0.2.
[build-system]: Use pyproject-build-system.
[arguments]: Disable test through test-flags, not by replacing the 'check
phase.
[propagated-inputs]: Remove python-pyyaml; add python-packaging.
[native-inputs]: Add python-flake8, python-flake8-bugbear, python-mypy,
python-pre-commit, and python-pyyaml.
---
gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++------------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 270aff8408..c566a289be 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20916,33 +20916,36 @@ datatypes to and from native Python datatypes.")
(define-public python-apispec
(package
(name "python-apispec")
- (version "4.0.0")
+ (version "6.0.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "apispec" version))
- (sha256
+ (method url-fetch)
+ (uri (pypi-uri "apispec" version))
+ (sha256
(base32
- "12n4w5zkn4drcn8izq68vmixmqvz6abviqkdn4ip0kaax3jjh3in"))))
- (build-system python-build-system)
+ "11vqxwdxmm7qmyhdbxk4gnx37nbzmn266ah92gi4pvzd76vq0vg7"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"
- ;; Disable validation tests since they require
- ;; the optional 'prance' library which is not
- ;; yet in Guix.
- "-k" "not openapi_tools_validate"))))))
+ (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-pyyaml))
+ (list python-packaging))
(native-inputs
- (list python-pytest python-marshmallow))
+ (list python-flake8
+ python-flake8-bugbear
+ python-marshmallow
+ python-mypy
+ python-pre-commit
+ python-pytest
+ python-pyyaml))
(home-page "https://github.com/marshmallow-code/apispec")
(synopsis "Swagger/OpenAPI specification generator")
(description "@code{python-apispec} is a pluggable API specification
- generator. It currently supports the OpenAPI specification, formerly
known
- as Swagger.")
+generator. It currently supports the OpenAPI specification, formerly known as
+Swagger.")
(license license:expat)))
(define-public python-flasgger
- branch wip-python-graphviz updated (c085711c77 -> 496a4beb09), guix-commits, 2022/12/11
- 02/07: gnu: python-marshmallow: Update to 3.19.0., guix-commits, 2022/12/11
- 04/07: gnu: Add python-apispec-webframeworks., guix-commits, 2022/12/11
- 05/07: gnu: Add python-flask-jwt., guix-commits, 2022/12/11
- 01/07: gnu: python-flask-restful: Update to 0.3.9., guix-commits, 2022/12/11
- 06/07: gnu: python-pyjwt: Update to 2.6.0., guix-commits, 2022/12/11
- 07/07: gnu: python-flasgger: Update to 0.9.5., guix-commits, 2022/12/11
- 03/07: gnu: python-apispec: Update to 6.0.2.,
guix-commits <=