sharlatan pushed a commit to branch python-team
in repository guix.
commit 5e275d59d9a3e5dd356b7568fdb8323303eba297
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 26 20:43:45 2024 +0000
gnu: python-slotscheck: Update to 0.19.0.
* gnu/packages/python-check.scm (python-slotscheck): Update to 0.19.0.
Improve package style.
[source]{url}: Use direct string of URL instead of home-page field.
[native-inputs]: Remove python-pydantic; add python-ujson.
Change-Id: I9ea14cb694f9dd7e3330b9f8e015621053d70d0b
---
gnu/packages/python-check.scm | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index fa5c2f4af0..1e859d5d16 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2481,23 +2481,30 @@ behavior-driven development (TDD and BDD).")
(define-public python-slotscheck
(package
(name "python-slotscheck")
- (version "0.17.0")
- (home-page "https://github.com/ariebovenberg/slotscheck")
- (source (origin
- (method git-fetch)
- (uri (git-reference (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0k5jjabd219ndlssfqcdb5sn891ffrxzw84l5r8pirzy74i7znr4"))))
+ (version "0.19.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ariebovenberg/slotscheck")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lakwgk20aq92sqdwsswnll2w3y6p42x8abb9q8fc2qvw3xhw2vh"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Optional: ModuleNotFoundError: No module named 'mypyc'
+ #:test-flags #~(list "-k" "not test_extension_package")))
(native-inputs
(list python-poetry-core
- python-pydantic
python-pytest
- python-pytest-mock))
- (propagated-inputs (list python-click python-tomli))
+ python-pytest-mock
+ python-ujson))
+ (propagated-inputs
+ (list python-click
+ python-tomli))
+ (home-page "https://github.com/ariebovenberg/slotscheck")
(synopsis "Ensure @code{__slots__} are working properly")
(description
"@code{slotscheck} is a tool to validate Python class @code{__slots__}.")