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")
|
||||
|
2
tox.ini
2
tox.ini
@ -12,7 +12,7 @@ deps =
|
||||
pytest-cov
|
||||
pytest-sanic
|
||||
pytest-sugar
|
||||
aiohttp>=2.3
|
||||
aiohttp>=2.3,<=3.2.1
|
||||
chardet<=2.3.0
|
||||
beautifulsoup4
|
||||
gunicorn
|
||||
|
Loading…
x
Reference in New Issue
Block a user