~ruther/guix-local

de961c303b52fb32892a887dad161621d5c65449 — Nicolas Graves 1 year, 5 months ago ae7d115
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 <sharlatanus@gmail.com>
2 files changed, 1 insertions(+), 35 deletions(-)

M gnu/packages/check.scm
M gnu/packages/machine-learning.scm
M gnu/packages/check.scm => gnu/packages/check.scm +0 -33
@@ 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")

M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +1 -2
@@ 4161,7 4161,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")


@@ 4331,7 4331,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