[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/18: gnu: python-flasgger: Update to 0.9.5.
From: |
guix-commits |
Subject: |
16/18: gnu: python-flasgger: Update to 0.9.5. |
Date: |
Mon, 12 Dec 2022 09:26:00 -0500 (EST) |
rekado pushed a commit to branch wip-python-graphviz
in repository guix.
commit 34687b7e161baa565159d153b615760ea148f8a2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 11 15:37:40 2022 +0100
gnu: python-flasgger: Update to 0.9.5.
* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.5.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'prepare-check phase; disable
"test_swag" test via #:test-flags.
[native-inputs]: Add python-apispec-webframeworks and python-flask-jwt.
---
gnu/packages/python-xyz.scm | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6983e4411..e273e71fa0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21073,7 +21073,7 @@ web frameworks.")
(define-public python-flasgger
(package
(name "python-flasgger")
- (version "0.6.3")
+ (version "0.9.5")
(source
(origin
(method git-fetch)
@@ -21082,29 +21082,35 @@ web frameworks.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0yydxsyjnc0clbrjqb1n7587l6cdqvwdagwxk5hkx01qwdfbkvpn"))))
- (build-system python-build-system)
+ (base32 "0a2djgfq905a4in16068qz0ikg88dm4nbckaamhaz2v9khllr0bi"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (substitute* "Makefile"
- (("flake8 flasgger --ignore=F403")
- "flake8 flasgger --ignore=E731,F403"))
- (invoke "py.test"))))))
+ (list
+ ;; This test fails due to missing fixtures
+ #:test-flags '(list "-k" "not test_swag")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-check
+ (lambda _
+ ;; This requires a dummy package "flasgger_package" to be
installed.
+ (delete-file "examples/package_example.py")
+ ;; These fail with an internal server error
+ (for-each delete-file '("examples/marshmallow_apispec.py"
+ "examples/validation.py")))))))
(propagated-inputs
(list python-flask python-pyyaml python-jsonschema python-mistune
python-six))
(native-inputs
- (list python-decorator
+ (list python-apispec
+ python-apispec-webframeworks
+ python-decorator
python-flake8
+ python-flask-jwt
python-flask-restful
python-flex
- python-pytest
- python-pytest-cov
python-marshmallow
- python-apispec))
+ python-pytest
+ python-pytest-cov))
(home-page "https://github.com/rochacbruno/flasgger/")
(synopsis "Extract Swagger specs from your Flask project")
(description "@code{python-flasgger} allows extracting Swagger specs
- 17/18: gnu: seqmagick: Update to 0.8.4., (continued)
- 17/18: gnu: seqmagick: Update to 0.8.4., guix-commits, 2022/12/12
- 02/18: gnu: python-hyperopt: Update to 0.2.7., guix-commits, 2022/12/12
- 04/18: gnu: python-hicmatrix: Update to 16., guix-commits, 2022/12/12
- 08/18: gnu: python-bokeh: Skip failing PIL test., guix-commits, 2022/12/12
- 06/18: gnu: python-hicexplorer: Update to 3.7.2., guix-commits, 2022/12/12
- 15/18: gnu: python-pyjwt: Update to 2.6.0., guix-commits, 2022/12/12
- 10/18: gnu: python-apsw: Update to 3.40.0.0., guix-commits, 2022/12/12
- 11/18: gnu: python-cgatcore: Update to 0.6.14., guix-commits, 2022/12/12
- 13/18: gnu: python-marshmallow: Update to 3.19.0., guix-commits, 2022/12/12
- 14/18: gnu: python-apispec: Update to 6.0.2., guix-commits, 2022/12/12
- 16/18: gnu: python-flasgger: Update to 0.9.5.,
guix-commits <=
- 18/18: gnu: cnvkit: Update to 0.9.9., guix-commits, 2022/12/12