guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6c2b1e48c25c8e0ebaa1019d74bbc165a8528711
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 22 19:07:45 2025 +0100

    gnu: python-kitchen: Update to 1.2.6.
    
    * gnu/packages/python-xyz.scm (python-kitchen): Update to 1.2.6.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Ignore failing-tests.
    <#:phases>: Add phase 'delete-broken-test-files.
    [native-inputs]: Add python-pynose, python-setuptools.
    [propagated-inpurs]: Remove python-chardet.
    [description]: Improve style.
    
    Change-Id: I3fad4736c6c828747cc6fcdf71ad7f3fc8226684
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 340224d81e..013c74b8c7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8193,22 +8193,40 @@ something else) to Python data-types.")
 (define-public python-kitchen
   (package
     (name "python-kitchen")
-    (version "1.2.5")
+    (version "1.2.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "kitchen" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/fedora-infra/kitchen";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1zakh6l0yjvwic9p0nkvmbidpnkygkxbigh2skmb5gccyrhbp7xg"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-chardet))
+        (base32 "1wf2m4yx5467vxg4scgzihb0q9q3k7fasgxanhrnxpp1a5l8l93n"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list "kitchen3"
+              ;; XXX: Unclear why these tests fail.
+              "-e" "test_invalid_fallback_no_raise"
+              "-e" "test_internal_generate_combining_table"
+              "-e" "test_lgettext"
+              "-e" "test_lngettext"
+              "-e" "test_easy_gettext_setup_non_unicode")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'delete-broken-test-files
+            (lambda _
+              (delete-file "kitchen3/tests/test__all__.py")
+              (delete-file "kitchen3/tests/test_deprecation_py3.py"))))))
+    (native-inputs (list python-pynose python-setuptools))
     (home-page "https://github.com/fedora-infra/kitchen";)
     (synopsis "Python API for snippets")
-    (description "@code{kitchen} module provides a python API for all sorts of
-little useful snippets of code that everybody ends up writing for their 
projects
-but never seem big enough to build an independent release.  Use kitchen and 
stop
+    (description
+     "@code{kitchen} module provides a python API for all sorts of little
+useful snippets of code that everybody ends up writing for their projects but
+never seem big enough to build an independent release.  Use kitchen and stop
 cutting and pasting that code over and over.")
     (license (list license:lgpl2.1+
                    ;; subprocess.py, test_subprocess.py,

Reply via email to