Skip to content

Commit

Permalink
installation: fix invenio_upgrader dependency
Browse files Browse the repository at this point in the history
* FIX Adds missing `invenio_upgrader` dependency and amends past upgrade
  recipes following its separation into standalone package.

Signed-off-by: Tibor Simko <[email protected]>
  • Loading branch information
tiborsimko committed Aug 24, 2015
1 parent 4cc2bc9 commit 49ba349
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import warnings
from sqlalchemy import *
from invenio.ext.sqlalchemy import db
from invenio.modules.upgrader.api import op
from invenio_upgrader.api import op

depends_on = []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# along with Invenio; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

from invenio.modules.upgrader.api import op
from invenio_upgrader.api import op
from sqlalchemy.dialects import mysql

depends_on = [u'oauthclient_2014_03_02_initial']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

from sqlalchemy.dialects import mysql
from invenio.modules.upgrader.api import op
from invenio_upgrader.api import op


depends_on = ['oauthclient_2014_04_14_json_type_fix']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

from invenio.legacy.dbquery import run_sql
from invenio.modules.upgrader.api import op
from invenio_upgrader.api import op


depends_on = [u'oauthclient_2014_08_25_extra_data_nullable']
Expand Down
2 changes: 2 additions & 0 deletions requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
#
# -e git+git://github.com/mitsuhiko/werkzeug.git#egg=Werkzeug
# -e git+git://github.com/mitsuhiko/jinja2.git#egg=Jinja2

-e git+git://github.com/inveniosoftware/invenio-upgrader.git#egg=invenio-upgrader
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
# FIXME new oauthlib release after 0.7.2 has some compatible problems with
# the used Flask-Oauthlib version.
'oauthlib==0.7.2',
'invenio-upgrader>=0.1.0',
]

test_requirements = [
Expand Down

0 comments on commit 49ba349

Please sign in to comment.