Skip to content

Commit 59807b4

Browse files
lzcheninirudebwoy
authored andcommitted
Add support for flask 2 (census-instrumentation#1119)
1 parent 79177cd commit 59807b4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

contrib/opencensus-ext-flask/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- Add support for Flask 2
6+
([#1032](https://github.com/census-instrumentation/opencensus-python/pull/1032))
7+
58
## 0.7.5
69
Released 2021-05-13
710

contrib/opencensus-ext-flask/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
include_package_data=True,
4242
long_description=open('README.rst').read(),
4343
install_requires=[
44-
'flask >= 0.12.3, < 2.0.0, != 1.1.3',
44+
'flask >= 0.12.3, < 3.0.0, != 1.1.3',
4545
'opencensus >= 0.9.dev0, < 1.0.0',
4646
],
4747
extras_require={},

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ deps =
6060

6161
commands =
6262
py3{6,7,8,9}-unit: {[constants]unit-base-command}
63-
py{27,34,35}-unit: {[constants]unit-base-command} --ignore=contrib/opencensus-ext-stackdriver
63+
py{27,34,35}-unit: {[constants]unit-base-command} --ignore=contrib/opencensus-ext-stackdriver --ignore=contrib/opencensus-ext-flask
6464

6565
; TODO system tests
6666
lint: isort --check-only --diff --recursive .

0 commit comments

Comments
 (0)