From 2316f95a49909ad4b2bd363a59a155bc6ee11a97 Mon Sep 17 00:00:00 2001 From: melanie witt Date: Tue, 20 Apr 2021 20:28:40 +0000 Subject: [PATCH] Add 'cryptography' package to test-requirements.txt When running the functional tests locally: tox -efunctional the following error is raised from 6 tests in the placement.tests.functional.db.test_migrations module: RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods This adds the 'cryptography' package to the list of required packages for tests. Story: 2008832 Task: 42317 Change-Id: I78fbdd723be089364b8ee61432eeb74ed6f24094 --- lower-constraints.txt | 1 + test-requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/lower-constraints.txt b/lower-constraints.txt index ab7e115f3..e6a552bc7 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -4,6 +4,7 @@ attrs==17.4.0 bandit==1.1.0 colorama==0.3.9 coverage==4.0 +cryptography==2.7 debtcollector==1.19.0 decorator==3.4.0 extras==1.0.0 diff --git a/test-requirements.txt b/test-requirements.txt index bbcc35fff..29383c0d2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -19,6 +19,7 @@ bandit>=1.1.0 # Apache-2.0 gabbi>=1.35.0 # Apache-2.0 # placement functional tests +cryptography>=2.7 wsgi-intercept>=1.7.0 # MIT License # needed to generate osprofiler config options