Package: guix-patches;
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 10 May 2024 07:50:01 UTC
Severity: normal
Tags: patch
View this message in rfc822 format
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [bug#70858] [PATCH python-team v4 01/52] gnu: Remove python-pytest-pep8. Date: Tue, 25 Feb 2025 08:46:16 +0100
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. * gnu/packages/python-science.scm (python-opt-einsum)[native-inputs]: Remove python-pytest-pep8. --- gnu/packages/check.scm | 35 +------------------------------ gnu/packages/machine-learning.scm | 3 +-- gnu/packages/python-science.scm | 2 +- 3 files changed, 3 insertions(+), 37 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 98f950142d..a0388da61d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3087,39 +3087,6 @@ (define-public python-pytest-mypy-testing 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") @@ -3198,7 +3165,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest python-pytest-pep8)) + (list python-coverage python-pytest)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 9cda6fe943..59a8445f23 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3904,7 +3904,7 @@ (define-public python-keras-applications (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") @@ -4074,7 +4074,6 @@ (define-public python-keras python-pandas python-pytest python-pytest-cov - python-pytest-pep8 python-pytest-timeout python-pytest-xdist python-pyux diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 30e2c9ba61..844bddf3ce 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3815,7 +3815,7 @@ (define-public python-opt-einsum (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs (list python-numpy)) - (native-inputs (list python-pytest python-pytest-cov python-pytest-pep8)) + (native-inputs (list python-pytest python-pytest-cov)) (home-page "https://github.com/dgasmith/opt_einsum") (synopsis "Optimizing numpys einsum function") (description -- 2.48.1 -- Best regards, Nicolas Graves
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.