From 90e0c5b04577ab413ebb615cb2f366003d8c3f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Guimar=C3=A3es=20de=20Medeiros?= Date: Fri, 24 Jul 2020 17:37:24 +0200 Subject: [PATCH] Bump bandit version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: I005962a63341bb8585141dfe5dcff3ea79560b87 Signed-off-by: Moisés Guimarães de Medeiros --- oslo_versionedobjects/tests/test_exception.py | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oslo_versionedobjects/tests/test_exception.py b/oslo_versionedobjects/tests/test_exception.py index b2962629..2aac16b9 100644 --- a/oslo_versionedobjects/tests/test_exception.py +++ b/oslo_versionedobjects/tests/test_exception.py @@ -40,7 +40,7 @@ class ExceptionTestCase(test.TestCase): notifier.reset_mock() # wrap_exception() must reraise the exception - self.assertRaises(ValueError, + self.assertRaises(ValueError, # nosec test.raise_exc, context, exc, admin_password="xxx") # wrap_exception() strips admin_password from args diff --git a/test-requirements.txt b/test-requirements.txt index 5bb79dc2..ccb1dc6e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,4 +11,4 @@ stestr>=2.0.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD # Bandit security code scanner -bandit>=1.1.0,<1.6.0 # Apache-2.0 +bandit>=1.6.0,<1.7.0 # Apache-2.0