From 4a9ff9c4e94e82dee725e69f4b1d29eccf7a056e Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Tue, 19 Apr 2022 14:25:40 -0700 Subject: [PATCH] Add support for flask 2 (#1119) --- contrib/opencensus-ext-flask/CHANGELOG.md | 3 +++ contrib/opencensus-ext-flask/setup.py | 2 +- tox.ini | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/opencensus-ext-flask/CHANGELOG.md b/contrib/opencensus-ext-flask/CHANGELOG.md index 3b301655f..b708176bc 100644 --- a/contrib/opencensus-ext-flask/CHANGELOG.md +++ b/contrib/opencensus-ext-flask/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +- Add support for Flask 2 +([#1032](https://github.com/census-instrumentation/opencensus-python/pull/1032)) + ## 0.7.5 Released 2021-05-13 diff --git a/contrib/opencensus-ext-flask/setup.py b/contrib/opencensus-ext-flask/setup.py index 75616980c..6b2910b99 100644 --- a/contrib/opencensus-ext-flask/setup.py +++ b/contrib/opencensus-ext-flask/setup.py @@ -41,7 +41,7 @@ include_package_data=True, long_description=open('README.rst').read(), install_requires=[ - 'flask >= 0.12.3, < 2.0.0, != 1.1.3', + 'flask >= 0.12.3, < 3.0.0, != 1.1.3', 'opencensus >= 0.9.dev0, < 1.0.0', ], extras_require={}, diff --git a/tox.ini b/tox.ini index 3a4b401aa..fccb23156 100644 --- a/tox.ini +++ b/tox.ini @@ -59,7 +59,7 @@ deps = commands = py3{6,7,8,9}-unit: {[constants]unit-base-command} - py{27,34,35}-unit: {[constants]unit-base-command} --ignore=contrib/opencensus-ext-stackdriver + py{27,34,35}-unit: {[constants]unit-base-command} --ignore=contrib/opencensus-ext-stackdriver --ignore=contrib/opencensus-ext-flask ; TODO system tests lint: isort --check-only --diff --recursive .