GNU bug report logs - #70858
[PATCH 00/32] python-team: Remove native inputs

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 10 May 2024 07:50:01 UTC

Severity: normal

Tags: patch

Full log


Message #451 received at 70858 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70858 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH v4 38/52] gnu: python-isort: Remove python-black native-input.
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





This bug report was last modified 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.