From ac7e4d826eda13dfce1a42a3ef2894459ff2c1e4 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 23 Apr 2025 22:02:19 +0100 Subject: gnu: python-bandit: Move to python-check. * gnu/packages/openstack.scm (python-bandit): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I8e10caee78a1d5922626f30d48cfe2bbe6b2ab2e --- gnu/packages/openstack.scm | 47 ---------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'gnu/packages/openstack.scm') diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index e1d93604dd2..9c5c2d40944 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -52,53 +52,6 @@ #:use-module (guix packages) #:use-module (srfi srfi-1)) -(define-public python-bandit - (package - (name "python-bandit") - (version "1.8.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "bandit" version)) - (sha256 - (base32 "0fhr0rsvh44ix31dwxjw8aj0wklj95368djwk0i98c2dcpmpp17m")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - ;; Two tets fail. - #~(list "--exclude-regex" "test_no_arguments|test_help_arg") - #:phases - #~(modify-phases %standard-phases - ;; TODO: Implement in pypproject-build-system's test-backends. - (replace 'check - (lambda* (#:key tests? test-flags #:allow-other-keys) - (when tests? - (apply invoke "stestr" "run" test-flags))))))) - (native-inputs - (list python-beautifulsoup4 - python-fixtures - python-setuptools - python-stestr - python-testscenarios - python-testtools - python-wheel)) - (propagated-inputs - (list python-gitpython - python-jschema-to-python - python-pyyaml - python-rich - python-sarif-om - python-stevedore)) - (home-page "https://github.com/PyCQA/bandit") - (synopsis "Security oriented static analyser for python code") - (description - "Bandit is a tool designed to find common security issues in Python code. -To do this Bandit processes each file, builds an AST from it, and runs -appropriate plugins against the AST nodes. Once Bandit has finished scanning -all the files it generates a report.") - (license asl2.0))) - (define-public python-cliff (package (name "python-cliff") -- cgit v1.3