From 1239d9a79c776cf60922b2e59a67283fa15353cf Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 25 Mar 2026 21:53:59 +0000 Subject: gnu: python-pytest-pycodestyle: Update to 2.5.0. * gnu/packages/python-check.scm (python-pytest-pycodestyle): Update to 2.5.0. [source]: Switch to git-fetch. [arguments] : Enable. [propagated-inputs]: Remove python-py and python-pytest. [native-inputs]: Remove python-pytest-isort and python-wheel; add python-pytest. Relates-to: https://codeberg.org/guix/guix/issues/7475 Change-Id: I2a7b179d58d26f1486c199b24f5432aeba61089b --- gnu/packages/python-check.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index cc2dfe5275..1464202e08 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3627,23 +3627,22 @@ allows you to use all four.") (define-public python-pytest-pycodestyle (package (name "python-pytest-pycodestyle") - (version "2.4.1") + (version "2.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "pytest_pycodestyle" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/henry0312/pytest-pycodestyle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1jdm5arsh150fvph0960kycb1cwj728mksfwxb65bbbl4zaypkr7")))) + (base32 "1zkzxz37s9ki822q8rfj5wyxwl5wxxna4xjnmb452i1l29rxmysz")))) (build-system pyproject-build-system) - (arguments - (list - ;; XXX: pytest failed to import 'py.io', while python can. - #:tests? #f)) - (propagated-inputs - (list python-py python-pycodestyle python-pytest)) (native-inputs - (list python-pytest-isort python-setuptools python-wheel)) + (list python-pytest + python-setuptools)) + (propagated-inputs + (list python-pycodestyle)) (home-page "https://github.com/henry0312/pytest-pycodestyle") (synopsis "Pytest plugin to run pycodestyle") (description "This package provides a plugin to run @code{pycodestyle} -- cgit v1.3