How To Install python3-flaky on Fedora 36

In this tutorial we learn how to install python3-flaky in Fedora 36. python3-flaky is Plugin for pytest that automatically reruns flaky tests

Introduction

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

What is python3-flaky

Flaky is a plugin for pytest that automatically reruns flaky tests. Ideally, tests reliably pass or fail, but sometimes test fixtures must rely on components that aren’t 100% reliable. With flaky, instead of removing those tests or marking them to @skip, they can be automatically retried.

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

Install python3-flaky 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-flaky using dnf by running the following command:

sudo dnf -y install python3-flaky

Install python3-flaky 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-flaky using yum by running the following command:

sudo yum -y install python3-flaky

How To Uninstall python3-flaky on Fedora 36

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

sudo dnf remove python3-flaky

python3-flaky Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/flaky
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/flaky/__init__.py
/usr/lib/python3.10/site-packages/flaky/__pycache__
/usr/lib/python3.10/site-packages/flaky/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/_flaky_plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/_flaky_plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/defaults.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/defaults.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_decorator.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_decorator.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_pytest_plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_pytest_plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/multiprocess_string_io.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/multiprocess_string_io.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/names.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/names.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flaky/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/flaky/_flaky_plugin.py
/usr/lib/python3.10/site-packages/flaky/defaults.py
/usr/lib/python3.10/site-packages/flaky/flaky_decorator.py
/usr/lib/python3.10/site-packages/flaky/flaky_pytest_plugin.py
/usr/lib/python3.10/site-packages/flaky/multiprocess_string_io.py
/usr/lib/python3.10/site-packages/flaky/names.py
/usr/lib/python3.10/site-packages/flaky/utils.py
/usr/share/doc/python3-flaky
/usr/share/doc/python3-flaky/README.rst

References

Summary

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