guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 7d4e4c2dc1271f6e9fd1f87ee8cb6d3e5543ff41
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jul 12 22:43:57 2025 +0100
gnu: python-covdefaults: Update to 2.3.0.
* gnu/packages/python-check.scm (python-covdefaults): Update to 2.3.0.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Add python-coverage.
[native-inputs]: Remove python-coverage; add python-setuptools.
Change-Id: Ic962c330b1c13fedc8b86f97c7138f1b533912f0
---
gnu/packages/python-check.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 469e5e9897..7544f60010 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -397,7 +397,7 @@ code quality.")
(define-public python-covdefaults
(package
(name "python-covdefaults")
- (version "1.1.0")
+ (version "2.3.0")
(source
(origin
;; The PyPI tarball does not include tests.
@@ -407,16 +407,17 @@ code quality.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "11a24c0wzv01n55fy4kdpnyqna4m9k0mp58kmhiaks34xw4k37hq"))))
- (build-system python-build-system)
+ (base32 "1b34zkn7g66iavjxdy8hg25ab56bafgsqizf6l1anszncayal6px"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ ;; 88 passed, 1 deselected
+ ;; AttributeError: type object 'Plugins' has no attribute 'load_plugins'
+ (list #:test-flags #~(list "-k" "not test_coverage_init")))
(native-inputs
- (list python-coverage python-pytest))
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-coverage))
(home-page "https://github.com/asottile/covdefaults")
(synopsis "Coverage plugin to provide opinionated default settings")
(description