Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 4a9ff9c

Browse files
authored
Add support for flask 2 (#1119)
1 parent b956080 commit 4a9ff9c

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
@@ -59,7 +59,7 @@ deps =
5959

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

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

0 commit comments

Comments
 (0)