From f3c9881ce64c1b0fd2e8eb0c7a9d9347e494fcf5 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 19:25:49 -0400 Subject: [PATCH] Update dependency versions --- .travis.yml | 3 ++- Dockerfile | 4 +++- requirements-dev.txt | 4 ++-- requirements.txt | 8 ++++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 94d574a..6ecba00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ env: matrix: - DOCKER_PYTHON_VERSION=3.5 - DOCKER_PYTHON_VERSION=3.6 + - DOCKER_PYTHON_VERSION=3.7 before_script: - export PYTHON_VERSION=${DOCKER_PYTHON_VERSION} @@ -21,4 +22,4 @@ deploy: on: repo: c-w/gutenberg-http tags: true - condition: ${DOCKER_PYTHON_VERSION} = 3.6 + condition: ${DOCKER_PYTHON_VERSION} = 3.7 diff --git a/Dockerfile b/Dockerfile index 8ed1e7e..cb6fc4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PYTHON_VERSION=3.6 +ARG PYTHON_VERSION=3.7 FROM python:${PYTHON_VERSION}-alpine AS builder WORKDIR /app @@ -6,6 +6,8 @@ WORKDIR /app RUN apk add --no-cache db-dev \ && apk add --no-cache build-base +RUN pip install -U pip setuptools wheel + COPY requirements.txt . RUN pip install -r requirements.txt \ && pip wheel -r requirements.txt -w /deps diff --git a/requirements-dev.txt b/requirements-dev.txt index fc987f3..e442524 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ -flake8==3.7.7 +flake8==3.7.8 nose2==0.9.1 -mypy==0.701 +mypy==0.720 diff --git a/requirements.txt b/requirements.txt index 9c4b220..7cade28 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -Flask-Caching==1.7.1 -Gutenberg==0.7.0 +Flask-Caching==1.7.2 +Gutenberg==0.8.0 Jinja2==2.10.1 applicationinsights==0.11.9 click==7.0 -flask-cors==3.0.7 -flask==1.0.2 +flask-cors==3.0.8 +flask==1.1.1 gunicorn==19.9.0