How To Install python3-stestr on Fedora 36

In this tutorial we learn how to install python3-stestr in Fedora 36. python3-stestr is A test runner runner similar to testrepository

Introduction

In this tutorial we learn how to install python3-stestr on Fedora 36.

What is python3-stestr

stestr is a fork of the testrepository that concentrates on being a dedicated test runner for python projects. The generic abstraction layers which enabled testr to work with any subunit emitting runner are gone. stestr hard codes python-subunit-isms into how it works.

We can use yum or dnf to install python3-stestr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-stestr.

Install python3-stestr on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-stestr using dnf by running the following command:

sudo dnf -y install python3-stestr

Install python3-stestr on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-stestr using yum by running the following command:

sudo yum -y install python3-stestr

How To Uninstall python3-stestr on Fedora 36

To uninstall only the python3-stestr package we can use the following command:

sudo dnf remove python3-stestr

python3-stestr Package Contents on Fedora 36

/usr/bin/stestr
/usr/bin/stestr-3
/usr/bin/stestr-3.10
/usr/lib/python3.10/site-packages/stestr
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/stestr-3.2.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/stestr/__init__.py
/usr/lib/python3.10/site-packages/stestr/__main__.py
/usr/lib/python3.10/site-packages/stestr/__pycache__
/usr/lib/python3.10/site-packages/stestr/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/bisect_tests.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/bisect_tests.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/colorizer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/colorizer.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/config_file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/config_file.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/output.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/output.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/results.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/results.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/scheduler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/scheduler.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/selection.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/selection.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/subunit_trace.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/subunit_trace.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/test_processor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/test_processor.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/testlist.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/testlist.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/user_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/user_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/bisect_tests.py
/usr/lib/python3.10/site-packages/stestr/cli.py
/usr/lib/python3.10/site-packages/stestr/colorizer.py
/usr/lib/python3.10/site-packages/stestr/commands
/usr/lib/python3.10/site-packages/stestr/commands/__init__.py
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/failing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/failing.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/history.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/history.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/init.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/init.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/last.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/last.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/list.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/list.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/load.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/load.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/run.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/run.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/slowest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/commands/__pycache__/slowest.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/commands/failing.py
/usr/lib/python3.10/site-packages/stestr/commands/history.py
/usr/lib/python3.10/site-packages/stestr/commands/init.py
/usr/lib/python3.10/site-packages/stestr/commands/last.py
/usr/lib/python3.10/site-packages/stestr/commands/list.py
/usr/lib/python3.10/site-packages/stestr/commands/load.py
/usr/lib/python3.10/site-packages/stestr/commands/run.py
/usr/lib/python3.10/site-packages/stestr/commands/slowest.py
/usr/lib/python3.10/site-packages/stestr/config_file.py
/usr/lib/python3.10/site-packages/stestr/output.py
/usr/lib/python3.10/site-packages/stestr/repository
/usr/lib/python3.10/site-packages/stestr/repository/__init__.py
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/abstract.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/abstract.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/file.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/memory.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/memory.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/sql.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/sql.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/repository/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/repository/abstract.py
/usr/lib/python3.10/site-packages/stestr/repository/file.py
/usr/lib/python3.10/site-packages/stestr/repository/memory.py
/usr/lib/python3.10/site-packages/stestr/repository/sql.py
/usr/lib/python3.10/site-packages/stestr/repository/util.py
/usr/lib/python3.10/site-packages/stestr/results.py
/usr/lib/python3.10/site-packages/stestr/scheduler.py
/usr/lib/python3.10/site-packages/stestr/selection.py
/usr/lib/python3.10/site-packages/stestr/subunit_runner
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__init__.py
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/program.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/program.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/run.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/__pycache__/run.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/subunit_runner/program.py
/usr/lib/python3.10/site-packages/stestr/subunit_runner/run.py
/usr/lib/python3.10/site-packages/stestr/subunit_trace.py
/usr/lib/python3.10/site-packages/stestr/test_processor.py
/usr/lib/python3.10/site-packages/stestr/testlist.py
/usr/lib/python3.10/site-packages/stestr/tests
/usr/lib/python3.10/site-packages/stestr/tests/__init__.py
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_bisect_return_codes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_bisect_return_codes.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_bisect_tests.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_bisect_tests.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_config_file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_config_file.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_load.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_load.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_output.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_output.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_return_codes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_return_codes.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_run.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_run.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_scheduler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_scheduler.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_selection.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_selection.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_slowest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_slowest.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_subunit_trace.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_subunit_trace.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_test_processor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_test_processor.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_user_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_user_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_user_config_return_codes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_user_config_return_codes.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/__pycache__/test_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/base.py
/usr/lib/python3.10/site-packages/stestr/tests/files
/usr/lib/python3.10/site-packages/stestr/tests/files/__init__.py
/usr/lib/python3.10/site-packages/stestr/tests/files/__pycache__
/usr/lib/python3.10/site-packages/stestr/tests/files/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/files/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/files/bisect-fail-serial-tests
/usr/lib/python3.10/site-packages/stestr/tests/files/failing-tests
/usr/lib/python3.10/site-packages/stestr/tests/files/passing-tests
/usr/lib/python3.10/site-packages/stestr/tests/files/setup.cfg
/usr/lib/python3.10/site-packages/stestr/tests/files/stestr.yaml
/usr/lib/python3.10/site-packages/stestr/tests/files/testr-conf
/usr/lib/python3.10/site-packages/stestr/tests/files/tox.ini
/usr/lib/python3.10/site-packages/stestr/tests/repository
/usr/lib/python3.10/site-packages/stestr/tests/repository/__init__.py
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_file.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_sql.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_sql.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/__pycache__/test_util.cpython-310.pyc
/usr/lib/python3.10/site-packages/stestr/tests/repository/test_file.py
/usr/lib/python3.10/site-packages/stestr/tests/repository/test_sql.py
/usr/lib/python3.10/site-packages/stestr/tests/repository/test_util.py
/usr/lib/python3.10/site-packages/stestr/tests/sample_streams
/usr/lib/python3.10/site-packages/stestr/tests/sample_streams/all_skips.subunit
/usr/lib/python3.10/site-packages/stestr/tests/sample_streams/failure.subunit
/usr/lib/python3.10/site-packages/stestr/tests/sample_streams/successful.subunit
/usr/lib/python3.10/site-packages/stestr/tests/test_bisect_return_codes.py
/usr/lib/python3.10/site-packages/stestr/tests/test_bisect_tests.py
/usr/lib/python3.10/site-packages/stestr/tests/test_config_file.py
/usr/lib/python3.10/site-packages/stestr/tests/test_load.py
/usr/lib/python3.10/site-packages/stestr/tests/test_output.py
/usr/lib/python3.10/site-packages/stestr/tests/test_return_codes.py
/usr/lib/python3.10/site-packages/stestr/tests/test_run.py
/usr/lib/python3.10/site-packages/stestr/tests/test_scheduler.py
/usr/lib/python3.10/site-packages/stestr/tests/test_selection.py
/usr/lib/python3.10/site-packages/stestr/tests/test_slowest.py
/usr/lib/python3.10/site-packages/stestr/tests/test_subunit_trace.py
/usr/lib/python3.10/site-packages/stestr/tests/test_test_processor.py
/usr/lib/python3.10/site-packages/stestr/tests/test_user_config.py
/usr/lib/python3.10/site-packages/stestr/tests/test_user_config_return_codes.py
/usr/lib/python3.10/site-packages/stestr/tests/test_utils.py
/usr/lib/python3.10/site-packages/stestr/user_config.py
/usr/lib/python3.10/site-packages/stestr/utils.py
/usr/lib/python3.10/site-packages/stestr/version.py
/usr/share/doc/python3-stestr
/usr/share/doc/python3-stestr/README.rst
/usr/share/licenses/python3-stestr
/usr/share/licenses/python3-stestr/LICENSE

References

Summary

In this tutorial we learn how to install python3-stestr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).