Support websockets 8.x as well as 7.x (#1687)

Sanic currently requires websockets 7.x, but it's straightforward to
also support the more recent 8.x.
This commit is contained in:
Simon
2019-10-02 07:03:10 +01:00
committed by 7
parent c54a8b10bb
commit 134c414fe5
2 changed files with 4 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ requirements = [
uvloop,
ujson,
"aiofiles>=0.3.0",
"websockets>=7.0,<8.0",
"websockets>=7.0,<9.0",
"multidict>=4.0,<5.0",
"requests-async==0.5.0",
]