summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-16 21:58:06 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:23:24 +0000
commit9db9ef57818b39b407e472be375f8113a8766670 (patch)
treedfb89535157b74ea433fc578ac1cdd840a5e6b20 /gnu/packages/python-xyz.scm
parenta6a3bee7317f05523db4def81ff1aae02c5efb48 (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7bc45be823..e03935d495 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25009,7 +25009,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)
@@ -25022,12 +25022,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
@@ -25045,8 +25052,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
@@ -25054,8 +25061,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