From 76ba800cf54f20cabcd2bc633fea37a72cf92d6c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Sep 2025 15:46:51 +0100 Subject: [PATCH] gnu: python-bandit: Update to 1.8.6. * gnu/packages/python-check.scm (python-bandit): Update to 1.8.6. [arguments] : Disable for now. [propagated-inputs]: Remove python-gitpython, python-jschema-to-python, and python-sarif-om. [native-inputs]: Remove python-beautifulsoup4, python-fixtures, python-stestr, python-testscenarios, python-testtools, and python-wheel. Change-Id: Ib333f89b750e02bcaa22f599f8b3d4ba9164e6b9 --- gnu/packages/python-check.scm | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7b6cff865d4..98e13286ebc 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -303,33 +303,21 @@ Avocado machine readable outputs this one is streamlined (per test results). (define-public python-bandit (package (name "python-bandit") - (version "1.8.3") + (version "1.8.6") (source (origin (method url-fetch) (uri (pypi-uri "bandit" version)) (sha256 - (base32 "0fhr0rsvh44ix31dwxjw8aj0wklj95368djwk0i98c2dcpmpp17m")))) + (base32 "0sz5lkg9anqz6ir157xr8ng9ymgj37ymbplkhl3w4qb9zhjrrznv")))) (build-system pyproject-build-system) (arguments - (list - #:test-flags - ;; XXX: Two tests fail. - #~(list "--exclude-regex" "test_no_arguments|test_help_arg"))) + (list #:tests? #f)) ;tests require complex setup and networking (native-inputs - (list python-beautifulsoup4 - python-fixtures - python-setuptools - python-stestr - python-testscenarios - python-testtools - python-wheel)) + (list python-setuptools)) (propagated-inputs - (list python-gitpython - python-jschema-to-python - python-pyyaml + (list python-pyyaml python-rich - python-sarif-om python-stevedore)) (home-page "https://github.com/PyCQA/bandit") (synopsis "Security oriented static analyser for python code")