Subject: [PATCH v4 38/52] gnu: python-isort: Remove python-black native-input.

From: Nicolas Graves <[email-masked]>
Date: Wed, 26 Feb 2025 04:10:46 +0100

* gnu/packages/python-xyz.scm (python-isort)
[native-inputs]: Remove python-black.
[arguments]: Adapt {test-flags} accordingly.
---
 gnu/packages/python-xyz.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 881d07045e..4dd1f92e05 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25908,15 +25908,15 @@ (define-public python-isort
      (list
       #:test-flags
       #~(list "tests/unit/"
-              "-k" (string-join
-                    (list
-                     "not test_gitignore"
-                     ;; See <https://github.com/PyCQA/isort/issues/2234>.
-                     "test_isort_should_warn_on_empty_custom_config_issue_1433"
-                     ;; Fails because of an unexpected linebreak.
-                     "test_black_pyi_file")
-                    " and not ")
-              "--ignore=tests/unit/test_deprecated_finders.py")
+              "-k"
+              (string-join
+               (list
+                "not test_gitignore"
+                ;; See <https://github.com/PyCQA/isort/issues/2234>.
+                "test_isort_should_warn_on_empty_custom_config_issue_1433")
+               " and not ")
+              "--ignore=tests/unit/test_deprecated_finders.py"
+              "--ignore=tests/unit/profiles/test_black.py")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'install 'install-example-plugins
@@ -25935,7 +25935,6 @@ (define-public python-isort
                        "install"  "--user" "--no-deps" example-whls)))))))
     (native-inputs
      (list python-colorama
-           python-black
            python-hypothesmith
            python-libcst-minimal
            python-natsort
-- 
2.48.1