summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-01-20 16:18:19 +0000
committerStephen Finucane <stephenfin@redhat.com>2020-04-08 12:47:01 +0000
commit58784943f73b00b2c7f32dfe1f7206c526ab94f5 (patch)
treef2043cb85c0c0ab604dffd7ca62c8e0461a7d5cd /requirements.txt
parente487b05f7e451af4f29699c3b34d9d2cc1b1205a (diff)
downloadnova-58784943f73b00b2c7f32dfe1f7206c526ab94f5.tar.gz
api: Add framework for extra spec validation
Add the validation framework necessary to verify extra specs along with the definitions for every extra spec we currently recognize in-tree. None of this is currently used since we don't have the API microversions wired up, but that will come in a future patch. Note that we must add the H238 hacking check to the ignore list here, since this includes our first use of Python 3-type classes without the explicit 'object' subclass. This can be removed when that check is removed from hacking. Part of blueprint flavor-extra-spec-validators Change-Id: Ib64a1348cce1dca995746214616c4f33d9d664bd Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index ec11b519eb..099f7cabd7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -71,3 +71,4 @@ python-dateutil>=2.5.3 # BSD
zVMCloudConnector>=1.3.0;sys_platform!='win32' # Apache 2.0 License
futurist>=1.8.0 # Apache-2.0
openstacksdk>=0.35.0 # Apache-2.0
+dataclasses>=0.7;python_version=='3.6' # Apache 2.0 License