From 4d80135c49c3e9503c8d6395e421fca5e6adb361 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 21 Mar 2026 00:54:59 +0100 Subject: gnu: python-flake8-isort: Update to 7.0.0. * gnu/packages/python-xyz.scm (python-flake8-isort): Update to 7.0.0. [source]: Switch to git-fetch. [arguments]<#:tests?, #:test-backend, #:test-flags>: Enable tests. [native-inputs]: Add python-pytest. Change-Id: I0c6253b8bd19c7087aa72584f307ebd804f2fabc Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 629635f47f0..84f4bcc7e4e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16527,22 +16527,21 @@ TODO notes checker plugin for flake8.") (define-public python-flake8-isort (package (name "python-flake8-isort") - (version "6.1.1") + (version "7.0.0") (source (origin - (method url-fetch) - (uri (pypi-uri "flake8_isort" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/gforcada/flake8-isort") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1cvh0d18scgq36gqa2vqbifjarln1r3axgq93lzc303ay0y2zy61")))) + (base32 "0d7j2ws59bm9143m69ah6h865i2pn97p4gjpwx6jrwi9sy26kj5z")))) (build-system pyproject-build-system) - (arguments - (list - #:tests? #f)) ; no tests in PiPY or git checkout - (native-inputs - (list python-hatchling)) - (propagated-inputs - (list python-flake8 - python-isort)) + (arguments (list #:test-backend #~'custom + #:test-flags #~(list "run_tests.py"))) + (native-inputs (list python-hatchling python-pytest)) + (propagated-inputs (list python-flake8 python-isort)) (home-page "https://github.com/gforcada/flake8-isort") (synopsis "Flake8 plugin integrating isort") (description -- cgit v1.3