guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f8134478f260e6615f3f8ae335168e611b82747c
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 8 15:31:05 2025 +0100

    gnu: python-pykwalify: Update to 1.8.0.
    
    * gnu/packages/python-xyz.scm (python-pykwalify): Update to 1.8.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Disable test flags.
    [native-inputs]: Add python-pytest, python-setuptools and
    python-testfixtures.
    [propagated-inputs]: Add python-ruamel.yaml.
    [synopsis]: Improve style.
    
    Change-Id: Idaeb4ba631f492c937d4d7f6abe4731a9f290d42
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f157ac34d4..198535bc0a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29019,21 +29019,29 @@ structure.")
 (define-public python-pykwalify
   (package
     (name "python-pykwalify")
-    (version "1.7.0")
+    (version "1.8.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pykwalify" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/grokzen/pykwalify";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1cnfzkg1b01f825ikpw2fhjclf9c8akxjfrbd1vc22x1lg2kk2vy"))))
-    (build-system python-build-system)
-    (arguments '(#:tests? #f))          ;missing dependencies
+        (base32 "1x46ray74hzqmsicq2qikxhdihyyz9himjmc5gvlvd8vzqr1gi8p"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; XXX: yaml safe_dump() has been removed.
+      #~(list "--ignore=tests/test_unicode.py"
+              "--deselect=tests/test_core.py::TestCore::test_core_files")))
+    (native-inputs
+     (list python-pytest python-setuptools python-testfixtures))
     (propagated-inputs
-     (list python-dateutil python-docopt python-pyyaml))
+     (list python-dateutil python-docopt python-pyyaml python-ruamel.yaml))
     (home-page "https://github.com/grokzen/pykwalify";)
-    (synopsis
-     "Python lib/cli for JSON/YAML schema validation")
+    (synopsis "Python lib/cli for JSON/YAML schema validation")
     (description
      "This package provides a parser, schema validator, and data binding tool
 for YAML and JSON.")

Reply via email to