gnu: python-vulture: Update to 2.14.

* gnu/packages/python-check.scm (python-vulture): Update to 2.14.
[arguments] <test-flags>: Move test skip logic here and skip one more
test.
<phases>: Use default 'check.
[native-inputs]: Remove python-pytest-cov.

Change-Id: I9f0737317b216c690a64301bec840dd33ea021d4
This commit is contained in:
Sharlatan Hellseher 2025-03-16 20:23:49 +00:00
parent aa06cb2819
commit e651a7d730
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3298,29 +3298,32 @@ interactions, which will update them to correspond to the new API.")
(define-public python-vulture (define-public python-vulture
(package (package
(name "python-vulture") (name "python-vulture")
(version "2.7") (version "2.14")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "vulture" version)) (method url-fetch)
(sha256 (uri (pypi-uri "vulture" version))
(base32 (sha256
"0cl0v3dadxvff0pgq1j120m064a3nmnbjjylkmcxp7zd2jh81yv7")))) (base32 "05c4kfg6s2zf7lzplq53ihjf19knf3pmpv4nnzmdwf0i5a87g0nb"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list
(replace 'check #:test-flags
(lambda* (#:key tests? #:allow-other-keys) #~(list "-k" (string-join
(when tests? (list
(invoke "pytest" "-vv" "tests" "-k" ;; Skip test that uses python-pint pint has many
;; skip test that uses python-pint ;; dependencies.
;; pint has many dependencies "not test_whitelists_with_python"
"not test_whitelists_with_python"))))))) ;; FileNotFoundError: [Errno 2] No such file or
;; directory: 'pytype'
"test_pytype")
" and not "))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-wheel)) python-wheel))
(propagated-inputs (list python-toml)) (propagated-inputs
(list python-toml))
(home-page "https://github.com/jendrikseipp/vulture") (home-page "https://github.com/jendrikseipp/vulture")
(synopsis "Find dead Python code") (synopsis "Find dead Python code")
(description (description