Bump python libs, address insecure releases (#7550)

* Bump python libs, address insecure releases

Using
https://requires.io/github/mistercrunch/superset/requirements/?branch=apache_release_improv
to identify insecure, old releases we're using and bumping.

* redis <3.0

* fix new flakes
This commit is contained in:
Maxime Beauchemin
2019-05-28 21:03:49 -07:00
committed by GitHub
parent 2a2f395e94
commit fd5befee38
7 changed files with 27 additions and 30 deletions

View File

@@ -108,7 +108,7 @@ class DbEngineSpecsTestCase(SupersetTestCase):
'{...} errorMessage="Error while compiling statement: FAILED: '
'SemanticException [Error 10001]: Line 4'
':5 Table not found \'fact_ridesfdslakj\'", statusCode=3, '
'sqlState=\'42S02\', errorCode=10001)){...}')
"sqlState='42S02', errorCode=10001)){...}")
self.assertEquals((
'Error while compiling statement: FAILED: '
'SemanticException [Error 10001]: Line 4:5 '

View File

@@ -258,7 +258,7 @@ class TableVizTestCase(SupersetTestCase):
{
'expressionType': 'SQL',
'clause': 'WHERE',
'sqlExpression': 'value3 in (\'North America\')',
'sqlExpression': "value3 in ('North America')",
},
],
}
@@ -273,7 +273,7 @@ class TableVizTestCase(SupersetTestCase):
[{'op': '<', 'val': '10', 'col': 'SUM(value1)'}],
query_obj['extras']['having_druid'],
)
self.assertEqual('(value3 in (\'North America\'))', query_obj['extras']['where'])
self.assertEqual("(value3 in ('North America'))", query_obj['extras']['where'])
self.assertEqual('(SUM(value1) > 5)', query_obj['extras']['having'])
def test_adhoc_filters_overwrite_legacy_filters(self):
@@ -295,7 +295,7 @@ class TableVizTestCase(SupersetTestCase):
{
'expressionType': 'SQL',
'clause': 'WHERE',
'sqlExpression': 'value3 in (\'North America\')',
'sqlExpression': "value3 in ('North America')",
},
],
'having': 'SUM(value1) > 5',
@@ -311,7 +311,7 @@ class TableVizTestCase(SupersetTestCase):
[],
query_obj['extras']['having_druid'],
)
self.assertEqual('(value3 in (\'North America\'))', query_obj['extras']['where'])
self.assertEqual("(value3 in ('North America'))", query_obj['extras']['where'])
self.assertEqual('', query_obj['extras']['having'])
@patch('superset.viz.BaseViz.query_obj')