guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

352/361: gnu: python-apispec: Update to 6.7.1.


From: guix-commits
Subject: 352/361: gnu: python-apispec: Update to 6.7.1.
Date: Fri, 22 Nov 2024 06:01:13 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 60be0f944606ce69ea222486f2a99a4cd47bf24b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 22:53:06 2024 +0000

    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
---
 gnu/packages/python-xyz.scm | 32 +++++++++++---------------------
 1 file changed, 11 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7d470a6f8f..f9ac5ed383 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26016,37 +26016,27 @@ datatypes to and from native Python datatypes.")
 (define-public python-apispec
   (package
     (name "python-apispec")
-    (version "6.0.2")
+    (version "6.7.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "apispec" version))
        (sha256
-        (base32
-         "11vqxwdxmm7qmyhdbxk4gnx37nbzmn266ah92gi4pvzd76vq0vg7"))))
+        (base32 "0cxr10m3gj7nmipi3blsj31jz6qfjbfzjrwsnxaxzzhgyipqn6y0"))))
     (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
-     (list python-flake8
-           python-flake8-bugbear
-           python-marshmallow
+     (list python-flit-core
            python-mypy
-           python-pytest
-           python-pyyaml
-           python-setuptools
-           python-wheel))
+           python-openapi-spec-validator
+           python-pytest))
+    (propagated-inputs
+     (list python-marshmallow
+           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.")
+    (description
+     "@code{python-apispec} is a pluggable API specification generator.  It
+currently supports the OpenAPI specification, formerly known as Swagger.")
     (license license:expat)))
 
 (define-public python-apispec-webframeworks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]