From 668eee4437c4224a84a3c0274bb7c905d2a5b6a4 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Tue, 30 Jul 2024 10:08:18 +0200 Subject: [PATCH] build(python): use optional deps instead of `tests_require` (#815) Closes reanahub/reana#814 --- setup.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index d58cb23e..23b0453c 100644 --- a/setup.py +++ b/setup.py @@ -17,16 +17,14 @@ readme = open("README.md").read() history = open("CHANGELOG.md").read() -tests_require = [ - "pytest-reana>=0.9.2,<0.10.0", -] - extras_require = { "docs": [ "myst-parser", "Sphinx>=1.5.1", ], - "tests": tests_require, + "tests": [ + "pytest-reana>=0.9.2,<0.10.0", + ], "benchmark": [ "pandas>=1.1.5", "matplotlib>=3.3.4", @@ -77,7 +75,6 @@ python_requires=">=3.8", extras_require=extras_require, install_requires=install_requires, - tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Web Environment",