Skip to content

Add required flask-appbuilder to setup - #5091

Merged
mistercrunch merged 1 commit into
apache:0.25from
xrmx:fixappbuilderdep025
Jun 4, 2018
Merged

mistercrunch merged 1 commit into
apache:0.25from
xrmx:fixappbuilderdep025

Conversation

@xrmx

@xrmx xrmx commented May 28, 2018 •

Copy link
Copy Markdown
Contributor

1.10.0 is needed to run superset db upgrade:

Traceback (most recent call last):
  File "/home/rm/superset/venv/bin/superset", line 12, in <module>
    from superset.cli import manager
  File "/home/rm/superset/venv/lib/python3.4/site-packages/superset/__init__.py", line 169, in <module>
    update_perms=utils.get_update_perms_flag(),
TypeError: __init__() got an unexpected keyword argument 'update_perms'

1.10.0 is needed to run superset db upgrade:
Traceback (most recent call last):
  File "/home/rm/superset/venv/bin/superset", line 12, in <module>
    from superset.cli import manager
  File "/home/rm/superset/venv/lib/python3.4/site-packages/superset/__init__.py", line 169, in <module>
    update_perms=utils.get_update_perms_flag(),
TypeError: __init__() got an unexpected keyword argument 'update_perms'
@xrmx
xrmx force-pushed the fixappbuilderdep025 branch from 177e8d4 to 896f64b Compare May 28, 2018 16:37
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #5091 into 0.25 will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             0.25    #5091   +/-   ##
=======================================
  Coverage   77.04%   77.04%           
=======================================
  Files          44       44           
  Lines        8562     8562           
=======================================
  Hits         6597     6597           
  Misses       1965     1965

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a3fc4c...896f64b. Read the comment docs.

@mistercrunch

Copy link
Copy Markdown
Member

Given the current approach, I think we should >=1.10.0 and pin in requirements.txt, though I'm not very big on this new approach as it's brittle. Any backward compatible change to a lib is pretty much guaranteed to break our vanilla pip install superset .

The downside of pinning is potentially missing out on bug fixes and security updates.

@xrmx

xrmx commented May 30, 2018

Copy link
Copy Markdown
Contributor Author

Something like >=1.10.0, <1.11.0 or >=1.10.0,<2.0?

@xrmx xrmx mentioned this pull request Jun 4, 2018
@mistercrunch
mistercrunch merged commit b79f6d9 into apache:0.25 Jun 4, 2018
@mistercrunch

Copy link
Copy Markdown
Member

Oh looks like this was targeting 0.25, I'll merge mine in master.

cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
1.10.0 is needed to run superset db upgrade:
Traceback (most recent call last):
  File "/home/rm/superset/venv/bin/superset", line 12, in <module>
    from superset.cli import manager
  File "/home/rm/superset/venv/lib/python3.4/site-packages/superset/__init__.py", line 169, in <module>
    update_perms=utils.get_update_perms_flag(),
TypeError: __init__() got an unexpected keyword argument 'update_perms'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants