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
This commit is contained in:
Sharlatan Hellseher 2024-11-16 21:58:06 +00:00
parent a6a3bee731
commit 9db9ef5781
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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