summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-03-21 00:54:59 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-28 22:00:00 +0000
commit4d80135c49c3e9503c8d6395e421fca5e6adb361 (patch)
tree97ca4adf16d22ac6cbf11ff55924ab2af6e97679
parentb850e968e98cc98a5ab20a405c95625cbb55b63f (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 11 insertions, 12 deletions
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