Skip to content

Commit c657117

Browse files
authored
Set Werkzeug major version to 1 for Flask compatibility (#340)
* Set Werkzeug major version to 1 for Flask-Sockets compatibility
1 parent 1400f64 commit c657117

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"pytest-asyncio<1", # for async
1818
"aiohttp>=3,<4", # for async
1919
"Flask-Sockets>=0.2,<1",
20+
"Werkzeug<2", # Flask-Sockets is not yet compatible with the major version
2021
"black==20.8b1",
2122
]
2223

@@ -62,6 +63,7 @@
6263
"falcon>=2,<3",
6364
"fastapi<1",
6465
"Flask>=1,<2",
66+
"Werkzeug<2", # Flask is not yet compatible with the major version
6567
"pyramid>=1,<2",
6668
"sanic>=20,<21",
6769
"starlette>=0.13,<1",

0 commit comments

Comments
 (0)