How To Install python3-pytest-trio on Fedora 36

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

Introduction

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

What is python3-pytest-trio

This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python.

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

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

sudo dnf -y install python3-pytest-trio

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

sudo yum -y install python3-pytest-trio

How To Uninstall python3-pytest-trio on Fedora 36

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

sudo dnf remove python3-pytest-trio

python3-pytest-trio Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pytest_trio
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pytest_trio-0.7.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pytest_trio/__init__.py
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/enable_trio_mode.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/enable_trio_mode.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/__pycache__/plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__init__.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/conftest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/conftest.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_async_fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_async_fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_async_yield_fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_async_yield_fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_basic.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_basic.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_clock_fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_clock_fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_contextvars.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_contextvars.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_mistakes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_mistakes.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_names.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_names.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_nursery.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_nursery.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_ordering.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_fixture_ordering.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_hypothesis_interaction.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_hypothesis_interaction.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_sync_fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_sync_fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_trio_mode.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/__pycache__/test_trio_mode.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_trio/_tests/conftest.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/helpers.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_async_fixture.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_async_yield_fixture.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_basic.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_clock_fixture.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_contextvars.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_fixture_mistakes.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_fixture_names.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_fixture_nursery.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_fixture_ordering.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_hypothesis_interaction.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_sync_fixture.py
/usr/lib/python3.10/site-packages/pytest_trio/_tests/test_trio_mode.py
/usr/lib/python3.10/site-packages/pytest_trio/_version.py
/usr/lib/python3.10/site-packages/pytest_trio/enable_trio_mode.py
/usr/lib/python3.10/site-packages/pytest_trio/plugin.py
/usr/share/doc/python3-pytest-trio
/usr/share/doc/python3-pytest-trio/README.rst
/usr/share/licenses/python3-pytest-trio
/usr/share/licenses/python3-pytest-trio/LICENSE
/usr/share/licenses/python3-pytest-trio/LICENSE.APACHE2
/usr/share/licenses/python3-pytest-trio/LICENSE.MIT

References

Summary

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