guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: python-tqdm: Update to 4.60.0.


From: guix-commits
Subject: 02/03: gnu: python-tqdm: Update to 4.60.0.
Date: Sat, 22 May 2021 14:04:30 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 9df9a878c0a8f0c4503432bb38b16a74d1fa523d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat May 22 18:37:32 2021 +0200

    gnu: python-tqdm: Update to 4.60.0.
    
    * gnu/packages/python-xyz.scm (python-tqdm): Update to 4.60.0.
    [native-inputs]: Remove PYTHON-NOSE.  Add PYTHON-PYTEST,
    PYTHON-PYTEST-ASYNCIO, PYTHON-PYTEST-TIMEOUT, PYTHON-SETUPTOOLS-SCM, and
    PYTHON-TOML.
    [arguments]: Use pytest instead of nosetests in check phase.
---
 gnu/packages/python-xyz.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07bc418..85b3b5a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18605,25 +18605,26 @@ ignoring formatting changes.")
 (define-public python-tqdm
   (package
     (name "python-tqdm")
-    (version "4.43.0")
+    (version "4.60.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "tqdm" version))
          (sha256
            (base32
-             "093v4c2x5hpigv47zvyxl8wh10y2yd2gvz3l9vchn0zsp8hv2pzk"))))
+             "1bjpy4mjg6ryp0ijvqi77vgs76l5hh3zrv3x4vmcwxrlbswvvppb"))))
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
                   (replace 'check
-                    (lambda* (#:key inputs outputs #:allow-other-keys)
-                      (add-installed-pythonpath inputs outputs)
-                      ;; This invokation is taken from tox.ini.
-                      (invoke "nosetests" "--ignore-files=\"test_perf.py\""
-                              "-d" "-v" "tqdm/"))))))
+                    (lambda _
+                      (invoke "pytest" "-vv" "-k" "not perf"))))))
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)
+       ("python-pytest-timeout" ,python-pytest-timeout)
+       ("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-toml" ,python-toml)))
     (home-page "https://github.com/tqdm/tqdm";)
     (synopsis "Fast, extensible progress meter")
     (description



reply via email to

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