Merge pull request #90 from samueldg/feature/support-python37

Feature/support python37
This commit is contained in:
Nicholas Charriere 2018-07-15 20:12:20 -07:00 committed by GitHub
commit 2b53eed348
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 15 deletions

View file

@ -4,6 +4,7 @@ python:
- "3.4" - "3.4"
- "3.5" - "3.5"
- "3.6" - "3.6"
# - "3.7" # TODO: Re-enable after https://github.com/travis-ci/travis-ci/issues/9815 is fixed
sudo: false sudo: false
install: install:
- pip install tox-travis - pip install tox-travis

View file

@ -1,4 +1,4 @@
FROM python:3.6 FROM python:3.7-slim
ENV APP_DIR=/usr/src/snappass ENV APP_DIR=/usr/src/snappass

View file

@ -104,7 +104,7 @@ Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run Sn
$ docker-compose up -d $ docker-compose up -d
This will pull all dependencies, i.e. Redis and appropriate Python version (3.6), then start up SnapPass and Redis server. SnapPass server is accessible at: http://localhost:5000 This will pull all dependencies, i.e. Redis and appropriate Python version (3.7), then start up SnapPass and Redis server. SnapPass server is accessible at: http://localhost:5000
We're Hiring! We're Hiring!
------------- -------------

View file

@ -1,6 +1,6 @@
pytest==3.5.1 pytest==3.6.3
pytest-cov==2.5.1 pytest-cov==2.5.1
mockredispy==2.9.3 mockredispy==2.9.3
coverage==4.2 coverage==4.5.1
flake8==3.0.4 flake8==3.5.0
tox==3.0.0 tox==3.1.2

View file

@ -1,8 +1,8 @@
Flask==0.11.1 Flask==1.0.2
Jinja2==2.7.1 Jinja2==2.10
MarkupSafe==0.18 MarkupSafe==1.0
Werkzeug==0.9.4 Werkzeug==0.14.1
itsdangerous==0.23 itsdangerous==0.24
redis==2.8.0 redis==2.10.6
cryptography==1.8.1 cryptography==2.2.2
mock==1.0.1 mock==2.0.0

View file

@ -31,6 +31,7 @@ setup(
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
zip_safe=False, zip_safe=False,

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27, py34, py35, py36, flake8 envlist = py27, py34, py35, py36, py37, flake8
[testenv] [testenv]
setenv = setenv =