Code Review
/
vfc
/
nfvo
/
catalog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1e53935
)
Fix drf_yasg importing issue
41/91641/2
author
Olivia.Zhan
<zhan.jie1@zte.com.cn>
Thu, 18 Jul 2019 03:53:40 +0000
(11:53 +0800)
committer
Olivia.Zhan
<zhan.jie1@zte.com.cn>
Thu, 18 Jul 2019 05:42:55 +0000
(13:42 +0800)
ImportError: Could not import 'drf_yasg.generators.OpenAPISchemaGenerator' for API setting 'DEFAULT_GENERATOR_CLASS'. ModuleNotFoundError: No module named 'packaging'.
Issue-ID: VFC-1429
Signed-off-by: Olivia.Zhan <zhan.jie1@zte.com.cn>
Change-Id: I304c4752581a4161da7f686cba75a0ab877cbb47
requirements.txt
patch
|
blob
|
history
diff --git
a/requirements.txt
b/requirements.txt
index
bf2fb3c
..
4b13645
100644
(file)
--- a/
requirements.txt
+++ b/
requirements.txt
@@
-26,7
+26,7
@@
unittest_xml_reporting==1.12.0
nfv-toscaparser==1.1.2.dev2
# for auto swagger
-drf-yasg
>=1.2.2
+drf-yasg
==1.16.0
flex>=6.11.1
swagger-spec-validator>=2.1.0