Skip to content

Fix deprecation warnings #867

@mvadari

Description

@mvadari

When running integration tests:

xrpl-py/xrpl/asyncio/clients/websocket_base.py:94: DeprecationWarning: websockets.client.connect is deprecated
  self._websocket = await websocket_client.connect(
xrpl-py/.venv/lib/python3.11/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
  warnings.warn(  # deprecated in 14.0 - 2024-11-09
xrpl-py/xrpl/asyncio/clients/websocket_base.py:135: DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated
  websocket_client.WebSocketClientProtocol, self._websocket
xrpl-py/xrpl/asyncio/clients/websocket_base.py:178: DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated
  await cast(websocket_client.WebSocketClientProtocol, self._websocket).send(
xrpl-py/xrpl/asyncio/clients/websocket_base.py:122: DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated
  await cast(websocket_client.WebSocketClientProtocol, self._websocket).close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions