Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lark_oapi/ws/tests/test_websockets_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def fake_post(url, *, headers=None, json=None):


@pytest.mark.asyncio
async def test_connect_disables_websockets_15_automatic_proxy(monkeypatch):
async def test_connect_disables_websockets_15_and_16_automatic_proxy(monkeypatch):
captured = {}

async def fake_connect(uri, *, proxy=True):
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"requests>=2.25",
"requests_toolbelt>=0.9",
"pycryptodome>=3.9",
"websockets>=11,<16",
# websockets 16 requires Python >=3.10; pip selects an older compatible
# release when installing the SDK on Python 3.8 or 3.9.
"websockets>=11,<17",
"httpx>=0.24,<1.0",
],
extras_require={
Expand Down