aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-16 20:23:49 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-03-16 20:29:23 +0000
commite651a7d730daa5579907f4331d02438ab56dd7e8 (patch)
tree8e4cd957e8a748ecc7f9cb9c078f3e4b9beeba41
parentaa06cb2819dae2d84000eaebaf847e6a863f8e2b (diff)
downloadguix-e651a7d730daa5579907f4331d02438ab56dd7e8.tar.gz
guix-e651a7d730daa5579907f4331d02438ab56dd7e8.zip
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
-rw-r--r--gnu/packages/python-check.scm37
1 files changed, 20 insertions, 17 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e76f2950a2..ccacdc86fb 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3298,29 +3298,32 @@ interactions, which will update them to correspond to the new API.")
(define-public python-vulture
(package
(name "python-vulture")
- (version "2.7")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "vulture" version))
- (sha256
- (base32
- "0cl0v3dadxvff0pgq1j120m064a3nmnbjjylkmcxp7zd2jh81yv7"))))
+ (version "2.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "vulture" version))
+ (sha256
+ (base32 "05c4kfg6s2zf7lzplq53ihjf19knf3pmpv4nnzmdwf0i5a87g0nb"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "tests" "-k"
- ;; skip test that uses python-pint
- ;; pint has many dependencies
- "not test_whitelists_with_python")))))))
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ (list
+ ;; Skip test that uses python-pint pint has many
+ ;; dependencies.
+ "not test_whitelists_with_python"
+ ;; FileNotFoundError: [Errno 2] No such file or
+ ;; directory: 'pytype'
+ "test_pytype")
+ " and not "))))
(native-inputs
(list python-pytest
- python-pytest-cov
python-setuptools
python-wheel))
- (propagated-inputs (list python-toml))
+ (propagated-inputs
+ (list python-toml))
(home-page "https://github.com/jendrikseipp/vulture")
(synopsis "Find dead Python code")
(description