guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 162d72fe07f8872f5a3f2caa996e24437d08c81d
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Mon Aug 25 20:19:40 2025 +0200

    gnu: python-pytest-pydocstyle: Update to 2.4.0.
    
    * gnu/packages/python-check.scm (python-pytest-pydocstyle): Update to 2.4.0.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-pytest, python-pytest-isort,
    python-pytest-pycodestyle, python-setuptools, python-wheel.
    [description]: Run guix style.
---
 gnu/packages/python-check.scm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index efb4882fcd..7d6878fa3e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2743,7 +2743,7 @@ for the @code{pytest} framework.")
 (define-public python-pytest-pydocstyle
   (package
     (name "python-pytest-pydocstyle")
-    (version "2.2.0")
+    (version "2.4.0")
     (source
      (origin
        (method git-fetch)
@@ -2752,17 +2752,23 @@ for the @code{pytest} framework.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0w6fivz4nb4b70wzmi5sk17qs9pd05rnh03fmch6v00r3dmfpk39"))))
-    (build-system python-build-system)
+        (base32 "08jaz92pzq6lqg64jbl9f6j0gdb622wl0qb2llfcy82grx2vv09q"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f)) ; test requires the package itself
-    (propagated-inputs
-     (list python-pydocstyle
-           python-pytest))              ;apparently required
+     (list
+      ;; XXX: pytest failed to import 'py.io', while python can.
+      #:tests? #f))
+    (native-inputs
+     (list python-pytest
+           python-pytest-isort
+           python-pytest-pycodestyle
+           python-setuptools
+           python-wheel))
+    (propagated-inputs (list python-pydocstyle python-pytest)) ;apparently 
required
     (home-page "https://github.com/henry0312/pytest-pydocstyle";)
     (synopsis "Pytest plugin to run @command{pydocstyle}")
-    (description "This package provides a Pytest plugin to run
-@command{pydocstyle}.")
+    (description
+     "This package provides a Pytest plugin to run @command{pydocstyle}.")
     (license license:expat)))
 
 (define-public python-pytest-pylint

Reply via email to