Drop wsproto version checking
@@ -4,7 +4,6 @@ from urllib.parse import unquote
import h11
import wsproto
-from packaging import version
from wsproto import ConnectionType, events
from wsproto.connection import ConnectionState
from wsproto.extensions import PerMessageDeflate
@@ -13,10 +12,6 @@ from wsproto.utilities import RemoteProtocolError
from uvicorn.logging import TRACE_LOG_LEVEL
from uvicorn.protocols.utils import get_local_addr, get_remote_addr, is_ssl
-assert version.parse(wsproto.__version__) >= version.parse(
- "0.13"
-), "Uvicorn requires wsproto version 0.13 or higher"
-
class WSProtocol(asyncio.Protocol):
def __init__(self, config, server_state, _loop=None):
