From 3b4da7eadc7cef069d9942d0c53c08bbcc9f343f Mon Sep 17 00:00:00 2001 From: Irene Bandera Moreno Date: Mon, 16 Sep 2024 13:09:33 +0200 Subject: [PATCH] Refactor setup.py for proper Python Test Execution (#124) * Update setup.py to include test dependencies in extras_require Signed-off-by: Irene Bandera * Remove deprecated warning message for Fast DDS v3.0.0 release Signed-off-by: Irene Bandera --------- Signed-off-by: Irene Bandera --- README.md | 5 ----- py_utils/setup.py | 7 +++++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b18f6ad2..af868098 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,6 @@

- -> [!WARNING] -> **In preparation for Fast DDS v3.0.0, eProsima/dev-utils' master branch is undergoing major changes entailing API breaks.** -> **Until Fast DDS v3.0.0 is released, it is strongly advisable to use the latest stable branch, [0.x](https://github.com/eProsima/dev-utils/tree/0.x), which uses Fast DDS 2.14.x**. - The packages that conform this repository are: * **CMake utils**: `cmake_utils` CMake utilities to build packages. diff --git a/py_utils/setup.py b/py_utils/setup.py index 4691cc90..1f522719 100644 --- a/py_utils/setup.py +++ b/py_utils/setup.py @@ -30,7 +30,10 @@ maintainer_email='raul@eprosima.com', description=description, license='Apache License, Version 2.0', - tests_require=['pytest'], - test_suite='test', + extras_require={ + 'test': [ + 'pytest', # Add your testing dependencies here + ], + }, entry_points={}, )