diff --git a/examples/app.py b/examples/app.py index 5f77e14..79d4a62 100644 --- a/examples/app.py +++ b/examples/app.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016 CERN. +# Copyright (C) 2016, 2017 CERN. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as @@ -62,7 +62,7 @@ cd static npm install cd .. - npm install -g node-sass clean-css requirejs uglify-js + npm install -g node-sass@3.8.0 clean-css@3.4.24 requirejs uglify-js 5. Collect static files and build bundles diff --git a/examples/requirements.txt b/examples/requirements.txt index 7d2b5d7..f6bc453 100644 --- a/examples/requirements.txt +++ b/examples/requirements.txt @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016 CERN. +# Copyright (C) 2016, 2017 CERN. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as @@ -24,5 +24,6 @@ -e ..[all] invenio-assets>=1.0.0a4,<1.1 +invenio-i18n==1.0.0b1 invenio-pidstore>=1.0.0a7,<1.1 invenio-theme>=1.0.0a9,<1.1 diff --git a/setup.py b/setup.py index d157d2a..fc7cc94 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016 CERN. +# Copyright (C) 2016, 2017 CERN. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as @@ -68,7 +68,7 @@ install_requires = [ 'Flask>=0.11.1', 'Flask-BabelEx>=0.9.2', - 'dojson>=1.2.0', + 'dojson>=1.3.0', 'invenio-jsonschemas>=1.0.0a2', 'invenio-records-rest>=1.0.0a9', 'invenio-records-ui>=1.0.0a6', diff --git a/tests/test_example_app.py b/tests/test_example_app.py index 259ab98..daec895 100644 --- a/tests/test_example_app.py +++ b/tests/test_example_app.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016 CERN. +# Copyright (C) 2016, 2017 CERN. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as @@ -72,7 +72,8 @@ def test_example_app(): # Download javascript and css libraries for cmd in ['FLASK_APP=app.py flask npm', 'cd static && npm install && cd ..', - 'npm install -g node-sass clean-css requirejs uglify-js', + 'npm install -g node-sass@3.8.0 clean-css@3.4.24' + ' requirejs uglify-js', 'FLASK_APP=app.py flask collect -v', 'FLASK_APP=app.py flask assets build']: exit_status = subprocess.call(cmd, shell=True)