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

commit daaa5c83466ba534bfd5ec4109bc4d68f08146d6
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Nov 23 14:37:13 2024 +0000

    gnu: python-loguru: Update to 0.7.2.
    
    * gnu/packages/python-xyz.scm (python-loguru): Update to 0.7.2.
    [native-inputs]: Remove python-colorama, python-mypy, python-pre-commit,
    python-pytest-cov, python-sphinx, python-sphinx-autobuild,
    python-sphinx-rtd-theme, and python-tox; add python-pytest-xdist.
    
    Change-Id: I6dac12d1dabd7987e5e0239630d8e896924df633
---
 gnu/packages/python-xyz.scm | 44 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 35661ec6bd..0a92c72e54 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34032,34 +34032,30 @@ older versions of Python and so are packaged here.")
 (define-public python-loguru
   (package
     (name "python-loguru")
-    (version "0.7.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "loguru" version))
-              (sha256
-               (base32
-                "1q83kr9zwwxchgyzf8gc6wi68ch5391mwzfxb5wlvs3axly0a4hn"))))
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "loguru" version))
+       (sha256
+        (base32 "1b2ipp8di3y10gd7kiin9fyazv5rijbfwh3383yk8psi48ssawg6"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
-      ;; All of these fail with: error: Cannot find implementation or library
-      ;; stub for module named "loguru"
-      '(list "--ignore=tests/typesafety/test_logger.yml")))
-    (propagated-inputs (list python-colorama))
-    (native-inputs (list python-colorama
-                         python-freezegun
-                         python-mypy
-                         python-pre-commit
-                         python-pytest
-                         python-pytest-cov
-                         python-pytest-mypy-plugins
-                         python-sphinx
-                         python-sphinx-autobuild
-                         python-sphinx-rtd-theme
-                         python-tox
-                         python-setuptools
-                         python-wheel))
+      #~(list"--numprocesses" (number->string (parallel-job-count))
+             ;; All of these fail with: error: Cannot find implementation or
+             ;; library stub for module named "loguru"
+             "--ignore=tests/typesafety/test_logger.yml")))
+    (native-inputs
+     (list python-freezegun
+           python-pytest
+           python-pytest-mypy-plugins
+           python-pytest-xdist
+           python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-colorama))
     (home-page "https://github.com/Delgan/loguru";)
     (synopsis "Python logging made (stupidly) simple")
     (description "Python logging made (stupidly) simple")

Reply via email to