darylerwin opened a new issue #4894: Install fresh 025rc1 - gives me TypeError: make_declarative_base() takes at most 2 arguments (3 given) URL: https://github.com/apache/incubator-superset/issues/4894 Make sure these boxes are checked before submitting your issue - thank you! - [ x] I have checked the superset logs for python stacktraces and included it here as text if any - [x ] I have reproduced the issue with at least the latest released version of superset - [ x] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version 0.25rc1 ### Expected results Should be a valid install? ### Actual results Traceback (most recent call last): File "/home/derwin/venvbeta/bin/superset", line 12, in <module> from superset.cli import manager File "/home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/__init__.py", line 89, in <module> db = SQLA(app) File "/home/derwin/venvbeta/local/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 677, in __init__ self.Model = self.make_declarative_base(model_class, metadata) TypeError: make_declarative_base() takes at most 2 arguments (3 given) ### Steps to reproduce virtualenv venvbeta . ./venvbeta/bin/activate pip install --upgrade setuptools pip pip install mysqlclient pip install redis pip install pybigquery pip install --upgrade https://github.com/airbnb/superset/tarball/0.25.0rc1 cd venvbeta cd bin cp /home/derwin/myvenv/bin/superset_config.py . superset db upgrade /home/derwin/venvbeta/local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/api.py:405: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. return declarative_base(**kw) Loaded your LOCAL configuration at [/home/derwin/venvbeta/bin/superset_config.pyc] /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models /home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/security.py:11: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0. from flask_appbuilder.security.sqla import models as ab_models Traceback (most recent call last): File "/home/derwin/venvbeta/bin/superset", line 12, in <module> from superset.cli import manager File "/home/derwin/venvbeta/local/lib/python2.7/site-packages/superset/__init__.py", line 89, in <module> db = SQLA(app) File "/home/derwin/venvbeta/local/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 677, in __init__ self.Model = self.make_declarative_base(model_class, metadata) TypeError: make_declarative_base() takes at most 2 arguments (3 given) Can someone point me to what I messed up? ubuntu 14 I think with python 2.7.12
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services