From 8dd2235cbc08f11036a898342e00bc2a5f13f79d Mon Sep 17 00:00:00 2001 From: Morgan Fainberg Date: Mon, 11 Jun 2018 09:49:05 -0700 Subject: [PATCH] Add Flask-RESTful and update flask minimum(s) Keystone's move to flask requires more than the general Flask library as Keystone is a RESTful (ish) API. We will be using Flask-RESTful for the easier mechanism to implment a REST API than standard flask blueprints. This also increases the base flask minimum requirements to unblock requirements updates (flask has been updated in g-r to minimum of 1.0.2) Partial-Bug: #1776504 Change-Id: I398acad439f4e525df3ca4e17fdd3e3ba90d58cc --- lower-constraints.txt | 3 ++- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 7a59da1eaf..a95eaf1516 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -28,7 +28,8 @@ fasteners==0.14.1 fixtures==3.0.0 flake8-docstrings==0.2.1.post1 flake8==2.5.5 -Flask===0.10 +Flask===1.0.2 +Flask-RESTful===0.3.5 freezegun==0.3.6 future==0.16.0 futurist==1.6.0 diff --git a/requirements.txt b/requirements.txt index 8df8b6a823..83ad7ef5ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,8 @@ Babel!=2.4.0,>=2.3.4 # BSD pbr!=2.1.0,>=2.0.0 # Apache-2.0 WebOb>=1.7.1 # MIT Routes>=2.3.1 # MIT -Flask!=0.11,<1.0 # BSD +Flask!=0.11,>=1.0.2 # BSD +Flask-RESTful>=0.3.5 # BSD cryptography>=2.1 # BSD/Apache-2.0 six>=1.10.0 # MIT SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT