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.
This commit is contained in:
Marius Bakke 2021-05-22 18:37:32 +02:00
parent 3ef5ee3ffb
commit 9df9a878c0
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -18605,25 +18605,26 @@ ignoring formatting changes.")
(define-public python-tqdm (define-public python-tqdm
(package (package
(name "python-tqdm") (name "python-tqdm")
(version "4.43.0") (version "4.60.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "tqdm" version)) (uri (pypi-uri "tqdm" version))
(sha256 (sha256
(base32 (base32
"093v4c2x5hpigv47zvyxl8wh10y2yd2gvz3l9vchn0zsp8hv2pzk")))) "1bjpy4mjg6ryp0ijvqi77vgs76l5hh3zrv3x4vmcwxrlbswvvppb"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda _
(add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv" "-k" "not perf"))))))
;; This invokation is taken from tox.ini.
(invoke "nosetests" "--ignore-files=\"test_perf.py\""
"-d" "-v" "tqdm/"))))))
(native-inputs (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") (home-page "https://github.com/tqdm/tqdm")
(synopsis "Fast, extensible progress meter") (synopsis "Fast, extensible progress meter")
(description (description