rdobuilder c07474
From dd3e11fbaa0705e52ac58088f543403521dfe58c Mon Sep 17 00:00:00 2001
rdobuilder c07474
From: Carl George <carlwgeorge@gmail.com>
rdobuilder c07474
Date: Fri, 30 Aug 2024 14:32:00 -0500
rdobuilder c07474
Subject: [PATCH] Include pytest in test extra
rdobuilder c07474
rdobuilder c07474
Fedora uses the test extra to automatically generate build-time
rdobuilder c07474
dependencies, so including pytest in this extra allows removal of an
rdobuilder c07474
explicit BuildRequires in the RPM spec file.
rdobuilder c07474
---
rdobuilder c07474
 setup.py | 2 +-
rdobuilder c07474
 1 file changed, 1 insertion(+), 1 deletion(-)
rdobuilder c07474
rdobuilder c07474
diff --git a/setup.py b/setup.py
rdobuilder c07474
index 8781948..f6a31f6 100644
rdobuilder c07474
--- a/setup.py
rdobuilder c07474
+++ b/setup.py
rdobuilder c07474
@@ -39,7 +39,7 @@
rdobuilder c07474
     download_url="https://github.com/websocket-client/websocket-client/releases",
rdobuilder c07474
     python_requires=">=3.8",
rdobuilder c07474
     extras_require={
rdobuilder c07474
-        "test": ["websockets"],
rdobuilder c07474
+        "test": ["pytest", "websockets"],
rdobuilder c07474
         "optional": ["python-socks", "wsaccel"],
rdobuilder c07474
         "docs": ["Sphinx >= 6.0", "sphinx_rtd_theme >= 1.1.0", "myst-parser >= 2.0.0"],
rdobuilder c07474
     },
rdobuilder c07474
-- 
rdobuilder c07474
2.46.0
rdobuilder c07474