sharlatan pushed a commit to branch python-team
in repository guix.
commit 25588436d21863da9517dccfbbb3ffa0a3262ecb
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Feb 27 15:27:02 2025 +0100
gnu: Remove python-pytest-pep8.
This package is outdated.
* gnu/packages/check.scm (python-pytest-pep8): Delete variable.
(python-pytest-flakes)[native-inputs]: Remove python-pytest-pep8.
* gnu/packages/machine-learning.scm (python-keras,
python-keras-applications)[native-inputs]: Remove python-pytest-pep8.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/check.scm | 33 ---------------------------------
gnu/packages/machine-learning.scm | 3 +--
2 files changed, 1 insertion(+), 35 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 050e78744c..78dbfee00c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3109,39 +3109,6 @@ produces a given output. As mypy can be told to display
the type of an
expression this allows you to check mypys type interference.")
(license (list license:expat license:asl2.0))))
-(define-public python-pytest-pep8
- (package
- (name "python-pytest-pep8")
- (version "1.0.6")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pytest-pep8" version))
- (sha256
- (base32
- "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; Fails with recent pytest and pep8. See upstream issues #8
and #12.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-dependencies
- (lambda _
- (substitute* "setup.py"
- (("'pytest-cache', ") "")))) ; Included in recent pytest
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v")))))))
- (native-inputs
- (list python-pytest))
- (propagated-inputs
- (list python-pep8))
- (home-page "https://bitbucket.org/pytest-dev/pytest-pep8")
- (synopsis "Py.test plugin to check PEP8 requirements")
- (description "Pytest plugin for checking PEP8 compliance.")
- (license license:expat)))
-
(define-public python-pytest-perf
(package
(name "python-pytest-perf")
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 9c58cc298f..ccb9f45876 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3972,7 +3972,7 @@ project, and it will potentially also do the same for the
Lime project.")
(propagated-inputs
(list python-h5py python-numpy))
(native-inputs
- (list python-pytest python-pytest-cov python-pytest-pep8
+ (list python-pytest python-pytest-cov
python-pytest-xdist))
(home-page "https://github.com/keras-team/keras-applications")
(synopsis "Reference implementations of popular deep learning models")
@@ -4142,7 +4142,6 @@ with image data, text data, and sequence data.")
python-pandas
python-pytest
python-pytest-cov
- python-pytest-pep8
python-pytest-timeout
python-pytest-xdist
python-pyux