mirror of https://github.com/apache/superset.git
Bump some of the requirements-dev.txt (#6700)
* Bump some of the requirements-dev.txt * addressing comments
This commit is contained in:
parent
4c658444e4
commit
e03e276571
|
@ -1,95 +0,0 @@
|
||||||
{% extends "!layout.html" %}
|
|
||||||
|
|
||||||
{% set bootswatch_css_custom = ['_static/docs.css'] %}
|
|
||||||
|
|
||||||
{%- block content %}
|
|
||||||
{{ navBar() }}
|
|
||||||
{% if pagename == 'index' %}
|
|
||||||
<div id="carousel" class="carousel slide" data-ride="carousel">
|
|
||||||
<!-- Indicators -->
|
|
||||||
<ol class="carousel-indicators">
|
|
||||||
<li data-target="#carousel" data-slide-to="0" class="active"></li>
|
|
||||||
<li data-target="#carousel" data-slide-to="1"></li>
|
|
||||||
<li data-target="#carousel" data-slide-to="2"></li>
|
|
||||||
<li data-target="#carousel" data-slide-to="3"></li>
|
|
||||||
<li data-target="#carousel" data-slide-to="4"></li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<!-- Wrapper for slides -->
|
|
||||||
<div class="carousel-inner" role="listbox">
|
|
||||||
<div class="item active text-center">
|
|
||||||
<img src="_static/img/dash.png">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<div>
|
|
||||||
<h1>Superset</h1>
|
|
||||||
<p>
|
|
||||||
an open source data visualization platform
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img src="_static/img/bubble.png">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>Explore your data
|
|
||||||
</h2>
|
|
||||||
<p>
|
|
||||||
Intuitively navigate your data while slicing, dicing, and
|
|
||||||
visualizing through a rich set of widgets
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img src="_static/img/dash.png">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>Create and share dashboards</h2>
|
|
||||||
<p>Assemble many data visualization "slices" into a rich collection</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img src="_static/img/cloud.png">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>Extend</h2>
|
|
||||||
<p>Join the community and take part in extending the widget library</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img src="_static/img/servers.jpg">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>Connect</h2>
|
|
||||||
<p>
|
|
||||||
Access data from MySql, Presto.db, Postgres, RedShift, Oracle, MsSql,
|
|
||||||
SQLite, and more through the SqlAlchemy integration. You can also
|
|
||||||
query realtime data blazingly fast out of Druid.io
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- Controls -->
|
|
||||||
<div>
|
|
||||||
<a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
|
|
||||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
|
|
||||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Next</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<hr/>
|
|
||||||
<div class="container">
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Superset</h1>
|
|
||||||
<p>
|
|
||||||
is an open source data visualization platform that provides easy
|
|
||||||
exploration of your data and allows you to create and share
|
|
||||||
beautiful charts and dashboards
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class="container mainbody">
|
|
||||||
{% block body %}{% endblock %}
|
|
||||||
</div>
|
|
||||||
{%- endblock %}
|
|
|
@ -1,2 +1,2 @@
|
||||||
sphinx==1.7.1
|
sphinx==1.8.1
|
||||||
sphinx-rtd-theme==0.2.4
|
sphinx-rtd-theme==0.3.1
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
console_log==0.2.10
|
console_log==0.2.10
|
||||||
python-dotenv==0.10.1
|
|
||||||
flake8-commas==2.0.0
|
flake8-commas==2.0.0
|
||||||
flake8-import-order==0.18
|
flake8-import-order==0.18
|
||||||
flake8-quotes==1.0.0
|
flake8-quotes==1.0.0
|
||||||
flake8==3.5.0
|
flake8==3.6.0
|
||||||
flask-cors==3.0.3
|
flask-cors==3.0.6
|
||||||
ipdb==0.11
|
ipdb==0.11
|
||||||
mysqlclient==1.3.13
|
mysqlclient==1.3.13
|
||||||
pip-tools==3.1.0
|
pip-tools==3.1.0
|
||||||
psycopg2-binary==2.7.5
|
psycopg2-binary==2.7.5
|
||||||
pycodestyle==2.3.1
|
pycodestyle==2.4.0
|
||||||
pylint==1.9.2
|
pylint==1.9.2
|
||||||
|
python-dotenv==0.10.1
|
||||||
redis==2.10.6
|
redis==2.10.6
|
||||||
statsd==3.2.2
|
statsd==3.3.0
|
||||||
tox==3.1.2
|
tox==3.5.3
|
||||||
|
|
|
@ -1000,7 +1000,7 @@ class HiveEngineSpec(PrestoEngineSpec):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def patch(cls):
|
def patch(cls):
|
||||||
from pyhive import hive
|
from pyhive import hive # pylint: disable=no-name-in-module
|
||||||
from superset.db_engines import hive as patched_hive
|
from superset.db_engines import hive as patched_hive
|
||||||
from TCLIService import (
|
from TCLIService import (
|
||||||
constants as patched_constants,
|
constants as patched_constants,
|
||||||
|
@ -1163,7 +1163,7 @@ class HiveEngineSpec(PrestoEngineSpec):
|
||||||
@classmethod
|
@classmethod
|
||||||
def handle_cursor(cls, cursor, query, session):
|
def handle_cursor(cls, cursor, query, session):
|
||||||
"""Updates progress information"""
|
"""Updates progress information"""
|
||||||
from pyhive import hive
|
from pyhive import hive # pylint: disable=no-name-in-module
|
||||||
unfinished_states = (
|
unfinished_states = (
|
||||||
hive.ttypes.TOperationState.INITIALIZED_STATE,
|
hive.ttypes.TOperationState.INITIALIZED_STATE,
|
||||||
hive.ttypes.TOperationState.RUNNING_STATE,
|
hive.ttypes.TOperationState.RUNNING_STATE,
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
# pylint: disable=C,R,W
|
# pylint: disable=C,R,W
|
||||||
from pyhive import hive
|
from pyhive import hive # pylint: disable=no-name-in-module
|
||||||
from TCLIService import ttypes
|
from TCLIService import ttypes
|
||||||
from thrift import Thrift
|
from thrift import Thrift
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,7 @@ class DummyStatsLogger(BaseStatsLogger):
|
||||||
|
|
||||||
def decr(self, key):
|
def decr(self, key):
|
||||||
logging.debug((
|
logging.debug((
|
||||||
Fore.CYAN + '[stats_logger] (decr) ' + key +
|
Fore.CYAN + '[stats_logger] (decr) ' + key + Style.RESET_ALL))
|
||||||
Style.RESET_ALL))
|
|
||||||
|
|
||||||
def timing(self, key, value):
|
def timing(self, key, value):
|
||||||
logging.debug((
|
logging.debug((
|
||||||
|
|
|
@ -2129,10 +2129,10 @@ class BaseDeckGLViz(BaseViz):
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
p = Point(s)
|
p = Point(s)
|
||||||
|
return (p.latitude, p.longitude) # pylint: disable=no-member
|
||||||
except Exception:
|
except Exception:
|
||||||
raise SpatialException(
|
raise SpatialException(
|
||||||
_('Invalid spatial point encountered: %s' % s))
|
_('Invalid spatial point encountered: %s' % s))
|
||||||
return (p.latitude, p.longitude)
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def reverse_geohash_decode(geohash_code):
|
def reverse_geohash_decode(geohash_code):
|
||||||
|
|
|
@ -549,7 +549,7 @@ class CoreTests(SupersetTestCase):
|
||||||
def test_fetch_datasource_metadata(self):
|
def test_fetch_datasource_metadata(self):
|
||||||
self.login(username='admin')
|
self.login(username='admin')
|
||||||
url = (
|
url = (
|
||||||
'/superset/fetch_datasource_metadata?' +
|
'/superset/fetch_datasource_metadata?'
|
||||||
'datasourceKey=1__table'
|
'datasourceKey=1__table'
|
||||||
)
|
)
|
||||||
resp = self.get_json_resp(url)
|
resp = self.get_json_resp(url)
|
||||||
|
|
Loading…
Reference in New Issue