How to Install and Uninstall python3-pytest Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "python3-pytest" package

Please follow the steps below to install python3-pytest on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-pytest

2. Uninstall "python3-pytest" package

Please follow the instructions below to uninstall python3-pytest on Debian 12 (Bookworm):

$ sudo apt remove python3-pytest $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-pytest package on Debian 12 (Bookworm)

Package: python3-pytest
Source: pytest
Version: 7.2.1-2
Installed-Size: 1150
Maintainer: Debian Python Team
Architecture: all
Depends: python3-attr, python3-more-itertools, python3-pkg-resources, python3-pluggy (>= 0.12), python3-py, python3-exceptiongroup | python3 (>> 3.11), python3-importlib-metadata | python3 (>> 3.8), python3-iniconfig, python3-packaging, python3-tomli | python3 (>> 3.11), python3:any
Recommends: python3-pygments
Breaks: python3-flaky (<< 3.6.1-1~), python3-pytest-cov (<< 2.7.1-1~), python3-pytest-mock (<< 1.10.4-1~), python3-pytest-xdist (<< 2.2.0-1~), python3-pytest-xvfb (<< 1.2.0-1~)
Description: Simple, powerful testing in Python3
Description-md5: a5dad4d5b22160c775ca39b2d4780244
Homepage: https://pytest.org/
Section: python
Priority: optional
Filename: pool/main/p/pytest/python3-pytest_7.2.1-2_all.deb
Size: 236040
MD5sum: 6dbc72a9705c0dca782f240b194592e0
SHA256: bc5df67eb9ea18beddd95eaaa1ffc7bfffc1716d3071e6f405bd22f6a0411416