Skip to content

Commit

Permalink
global: centralise Flask dependency management
Browse files Browse the repository at this point in the history
* update travis.yml
* drop support for Python 2.7
  • Loading branch information
kpsherva committed Mar 12, 2020
1 parent 521db3a commit 94bc561
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ env:
- REQUIREMENTS=devel

python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"

matrix:
fast_finish: true
allow_failures:
- env: REQUIREMENTS=devel

before_install:
- "pip uninstall -y six"
- "travis_retry pip install --upgrade pip setuptools py"
- "travis_retry pip install twine wheel coveralls requirements-builder"
- "requirements-builder --level=min -e all setup.py > .travis-lowest-requirements.txt"
Expand All @@ -52,7 +53,8 @@ deploy:
password:
secure: "4SR3j9t+QSjyL5+bw7W11iN7/XdF6xEBWOdHD81rv6e4VKqURDctiZrmuDmtE3+//GZRpGyghNdVgkkkwG8h+XCz1lUOdwKJ9pMtwBZQrnJi/bLofN7kPwSlOIyli+cDDxnIkjuEP2iFpc4DP6I/gv9FKNYDTGMZ7XN1Ds0XDWBfxSfa4I/DxUSdJ0v3ZWrnaXQZkG4nd78+KwuSR5iY6v47Q7K32C8n7V36P2/TaNzS7ZKscjt7phMqUfOOcv+cqdirK/afhzfvhVFJkCpe8KB5Hy0JXHXa0aGSE+VEl7Kk3jdHVObYHp71gdwtFvBZBUe61Ts4Kqfuxe3MT0U2sCQb0xysoBikdUF3e85w0bcGKpHAn6qbDpRjwWzY08dIDraaQfqUWzahKKrVXrg2GXQR86BmZ7kQSSEl5LH3XgycUt6CyCy8h9aK/1sPqG86lZfEMxNibQ5e7RbMJB8FQfBu5Y7OfrVniKaKxuQxz5UpydDWkbmJrJRy20HG79C2G5gL6zHZ+BgZcHw3gP44GlkG0RdDg0jdO/ceHW/RBZpX3L76w2GbEJJ0irIgy30l3Yf15ThICirt1yxRzaRR6ZgIh7K17Wxw/xshTbX2Jq+WGNbxT8QRxyiAbbq2eYUhB/xAHtv3OYTynBOXYpw5yiZ0hDPyJHLMkANpNA9FdiM="
distributions: "sdist bdist_wheel"
skip_existing: true
on:
tags: true
python: "2.7"
python: "3.6"
condition: $REQUIREMENTS = release
1 change: 1 addition & 0 deletions requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
#
-e git+https://github.com/inveniosoftware/invenio-base.git#egg=invenio-base
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
],
'tests': tests_require,
'sentry': [
'raven[flask]>=5.10.2,<6',
'raven[flask]>=6',
'flask-celeryext>=0.2.2'],
'sentry-sdk':
['sentry-sdk[flask]>=0.10.2']
Expand All @@ -49,8 +49,7 @@
]

install_requires = [
'Flask>=0.11.1',
'six>=1.12.0',
'invenio-base>=1.2.2',
]

packages = find_packages()
Expand Down

0 comments on commit 94bc561

Please sign in to comment.