From 9316f9ce3bf32ab57a11c486a59e78cd6f876746 Mon Sep 17 00:00:00 2001 From: hamistao Date: Mon, 13 Jan 2025 09:30:20 -0300 Subject: [PATCH] setup: Switch `ws4py` for `websockets` This keeps `ws4py` as an optional dependency for tests, since we use it to tests backwards compatibility with user provided `ws4py` client objects. Signed-off-by: hamistao --- setup.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 8fe9f4d4..d6827b5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,14 +15,14 @@ classifier = Programming Language :: Python :: 3 [options] -python_requires = >= 3.8 +python_requires = >= 3.9 packages = find: install_requires = cryptography >= 3.2 python-dateutil >= 2.4.2 requests >= 2.20.0 requests-toolbelt >= 0.8.0 - ws4py != 0.3.5, >= 0.3.4 # 0.3.5 is broken for websocket support + websockets >= 14.0 [options.extras_require] testing = @@ -36,6 +36,7 @@ testing = # Python 3.12 no longer installs `setuptools` in venv # but mock-services depends on it for `pkg_resources` setuptools + ws4py >= 0.3.5 format = black flake8