Skip to content

Commit

Permalink
Update websockets requirement from <13.0,>=10.4 to >=10.4,<14.0 (#15025)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris White <chris@prefect.io>
  • Loading branch information
dependabot[bot] and cicdw authored Aug 21, 2024
1 parent 1e6bfe3 commit 98fe04b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ toml >= 0.10.0
typing_extensions >= 4.5.0, < 5.0.0
ujson >= 5.8.0, < 6.0.0
uvicorn >= 0.14.0, !=0.29.0
websockets >= 10.4, < 13.0
websockets >= 10.4, < 14.0

# additional dependencies of starlette, which we're currently vendoring
itsdangerous
Expand Down
3 changes: 2 additions & 1 deletion src/prefect/testing/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ async def events_server(
) -> AsyncGenerator[WebSocketServer, None]:
server: WebSocketServer

async def handler(socket: WebSocketServerProtocol, path: str) -> None:
async def handler(socket: WebSocketServerProtocol) -> None:
path = socket.path
recorder.connections += 1
if puppeteer.refuse_any_further_connections:
raise ValueError("nope")
Expand Down

0 comments on commit 98fe04b

Please sign in to comment.