How To Install python3-pytest-services on Fedora 36

In this tutorial we learn how to install python3-pytest-services in Fedora 36. python3-pytest-services is Services plugin for pytest

Introduction

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

What is python3-pytest-services

This plugin provides a set of fixtures and utility functions to start service processes for your tests with pytest.

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

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

sudo dnf -y install python3-pytest-services

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

sudo yum -y install python3-pytest-services

How To Uninstall python3-pytest-services on Fedora 36

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

sudo dnf remove python3-pytest-services

python3-pytest-services Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pytest_services
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/AUTHORS.rst
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/pytest_services-2.2.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pytest_services/__init__.py
/usr/lib/python3.10/site-packages/pytest_services/__pycache__
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/django_settings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/django_settings.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/folders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/folders.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/locks.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/locks.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/log.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/memcached.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/memcached.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/mysql.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/mysql.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/process.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/process.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/service.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/service.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/xvfb.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_services/__pycache__/xvfb.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_services/django_settings.py
/usr/lib/python3.10/site-packages/pytest_services/folders.py
/usr/lib/python3.10/site-packages/pytest_services/locks.py
/usr/lib/python3.10/site-packages/pytest_services/log.py
/usr/lib/python3.10/site-packages/pytest_services/memcached.py
/usr/lib/python3.10/site-packages/pytest_services/mysql.py
/usr/lib/python3.10/site-packages/pytest_services/plugin.py
/usr/lib/python3.10/site-packages/pytest_services/process.py
/usr/lib/python3.10/site-packages/pytest_services/service.py
/usr/lib/python3.10/site-packages/pytest_services/xvfb.py
/usr/share/doc/python3-pytest-services
/usr/share/doc/python3-pytest-services/AUTHORS.rst
/usr/share/doc/python3-pytest-services/CHANGES.rst
/usr/share/doc/python3-pytest-services/README.rst
/usr/share/licenses/python3-pytest-services
/usr/share/licenses/python3-pytest-services/LICENSE.txt

References

Summary

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