Upgrade voluptuous to 0.10.5 (#7107)
* Upgrade voluptuous to 0.10.5 * Fix tests
This commit is contained in:
1 parent
7ff1ded0b5
commit
1f4f2d7086
5 files changed
+7
-8
No files matched your search
@@ -454,10 +454,9 @@ def _identify_config_schema(module):
|
||||
except (AttributeError, KeyError):
|
||||
return (None, None)
|
||||
t_schema = str(schema)
|
||||
if (t_schema.startswith('<function ordered_dict') or
|
||||
t_schema.startswith('<Schema({<function slug')):
|
||||
if t_schema.startswith(('{', '<function ordered_dict')):
|
||||
return ('dict', schema)
|
||||
if t_schema.startswith('All(<function ensure_list'):
|
||||
if t_schema.startswith(('[', 'All(<function ensure_list')):
|
||||
return ('list', schema)
|
||||
return '', schema
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ pyyaml>=3.11,<4
|
||||
pytz>=2017.02
|
||||
pip>=7.1.0
|
||||
jinja2>=2.9.5
|
||||
voluptuous==0.9.3
|
||||
voluptuous==0.10.5
|
||||
typing>=3,<4
|
||||
aiohttp==2.0.7
|
||||
async_timeout==1.2.0
|
||||
|
||||
Reference in new issue
Block a user