Subject: [bug#70858] [PATCH v5 02/48] gnu: Remove python-pep8.

From: Nicolas Graves <[email-masked]>
Date: Thu, 27 Feb 2025 15:27:03 +0100

* gnu/packages/python-xyz.scm (python-pep8): Delete variable.
(python-cliapp, python-ttystatus)[native-inputs]: Remove python-pep8.
* gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-pep8.
---
 gnu/packages/python-xyz.scm | 27 ++-------------------------
 gnu/packages/radio.scm      |  1 -
 2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0cb681f401..33e58fb205 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15790,29 +15790,6 @@ (define-public python-sentry-sdk
 application monitoring and error tracking software.")
     (license license:bsd-2)))
 
-(define-public python-pep8
-  ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
-  ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-  ;; some dependents' test suites, and nothing more.
-  (package
-    (name "python-pep8")
-    (version "1.7.0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "pep8" version))
-        (sha256
-          (base32
-           "002rkl4lsn6x2mxmf8ar00l0m8i3mzrc6pnzz77blyksmpsxa4x1"))
-        (patches (search-patches "python-pep8-stdlib-tokenize-compat.patch"))))
-    (build-system python-build-system)
-    (home-page "https://pep8.readthedocs.org/")
-    (synopsis "Python style guide checker")
-    (description
-     "This tools checks Python code against some of the style conventions in
-PEP 8.")
-    (license license:expat)))
-
 (define-public python-pep8-naming
   (package
     (name "python-pep8-naming")
@@ -25906,7 +25883,7 @@ (define-public python-cliapp
        ;; fails due to deprecation warnings, etc.
        #:tests? #f))
     (native-inputs
-     (list python-coverage-test-runner python-pep8))
+     (list python-coverage-test-runner))
     (propagated-inputs
      (list python-pyaml))
     (home-page "https://liw.fi/cliapp/")
@@ -25932,7 +25909,7 @@ (define-public python-ttystatus
        (file-name (git-file-name name version))))
     (build-system python-build-system)
     (native-inputs
-     (list python-coverage-test-runner python-pep8))
+     (list python-coverage-test-runner))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index cda2f1907c..d2c8bee76b 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -3272,7 +3272,6 @@ (define-public chirp
       (native-inputs
        (list python-mock
              python-mox3
-             python-pep8
              python-pytest
              python-pytest-mock
              python-pyyaml
-- 
2.48.1