guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

336/361: gnu: python-isort: Update to 5.13.2.


From: guix-commits
Subject: 336/361: gnu: python-isort: Update to 5.13.2.
Date: Thu, 21 Nov 2024 06:29:46 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 9c07e04be73253b825ba1c70b78eda863ed926b8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 16 21:58:06 2024 +0000

    gnu: python-isort: Update to 5.13.2.
    
    * gnu/packages/python-xyz.scm (python-isort): Update to 5.13.2.
    [arguments]<test-flags>: Disable one failing test.
    [native-inputs]: Sort alphabetically.
    
    Change-Id: I23975366b6bb5cc9caa6bf8d41ca9fc8597edabd
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb749d6a80..f749cb2c15 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24903,7 +24903,7 @@ package attempts to address the shortcomings of 
@code{isodate}.")
 (define-public python-isort
   (package
     (name "python-isort")
-    (version "5.12.0")
+    (version "5.13.2")
     (source
      (origin
        (method git-fetch)
@@ -24916,12 +24916,19 @@ package attempts to address the shortcomings of 
@code{isodate}.")
        (snippet '(for-each delete-file (find-files "." "\\.whl$")))
        (sha256
         (base32
-         "1vbwc4gpffclf6hw08lvvgqlvsgfjlw7gjsm28jfcrln2pixla7j"))))
+         "1d9cg5ms1qilhvpk2925zh87xgzd2ly29wywwxp0yisdddi8ln7z"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:test-flags '(list "tests/unit/" "-k" "not test_gitignore"
-                          "--ignore=tests/unit/test_deprecated_finders.py")
+      #: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")
+                    " and not ")
+              "--ignore=tests/unit/test_deprecated_finders.py")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'install 'install-example-plugins
@@ -24939,8 +24946,8 @@ package attempts to address the shortcomings of 
@code{isodate}.")
                 (apply invoke "pip" "--no-cache-dir" "--no-input"
                        "install"  "--user" "--no-deps" example-whls)))))))
     (native-inputs
-     (list python-black
-           python-colorama
+     (list python-colorama
+           python-black
            python-hypothesmith
            python-libcst-minimal
            python-natsort
@@ -24948,8 +24955,8 @@ package attempts to address the shortcomings of 
@code{isodate}.")
            python-poetry-core
            python-pylama
            python-pypa-build
-           python-pytest-mock
-           python-pytest))
+           python-pytest
+           python-pytest-mock))
     (home-page "https://github.com/PyCQA/isort";)
     (synopsis "Python utility/library to sort python imports")
     (description "@code{python-isort} is a python utility/library to sort



reply via email to

[Prev in Thread] Current Thread [Next in Thread]