Subject: [PATCH python-team v4 02/52] gnu: Remove python-pep8.

From: Nicolas Graves <[email-masked]>
Date: Tue, 25 Feb 2025 08:49:42 +0100

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1e8d813682..e2d2013f47 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7398,7 +7398,6 @@ (define-public d-feet
            itstool
            libxml2
            pkg-config
-           python-pep8
            xorg-server-for-tests))
     (inputs
      (list bash-minimal
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2063dceeea..38612df7c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3235,8 +3235,6 @@ (define-public python-shortuuid
         (base32
          "1f8i4zwj5vmpzbz6b17bljy4399gx5aq7vsyw63sz2qgyjcd73yh"))))
     (build-system python-build-system)
-    (native-inputs
-     (list python-pep8))
     (home-page "https://github.com/skorokithakis/shortuuid")
     (synopsis "Generator library for concise, unambiguous and URL-safe UUIDs")
     (description
@@ -15746,29 +15744,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")
@@ -25902,7 +25877,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/")
@@ -25928,7 +25903,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

-- 
Best regards,
Nicolas Graves