Fix failed build and add websockets version specifier (#1239)
* add websockets version constraint * fix failed build
This commit is contained in:
parent
2f30f4f69f
commit
baa689ad43
|
@ -2,4 +2,4 @@ aiofiles
|
|||
httptools
|
||||
ujson; sys_platform != "win32" and implementation_name == "cpython"
|
||||
uvloop; sys_platform != "win32" and implementation_name == "cpython"
|
||||
websockets
|
||||
websockets>=4.0,<5.0
|
||||
|
|
2
setup.py
2
setup.py
|
@ -60,7 +60,7 @@ requirements = [
|
|||
uvloop,
|
||||
ujson,
|
||||
'aiofiles>=0.3.0',
|
||||
'websockets>=4.0',
|
||||
'websockets>=4.0,<5.0',
|
||||
]
|
||||
if strtobool(os.environ.get("SANIC_NO_UJSON", "no")):
|
||||
print("Installing without uJSON")
|
||||
|
|
Loading…
Reference in New Issue
Block a user