pkg.soopen package index

brew / rang 1377

Installer pytest avec Homebrew, apt, dnf

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de pytest pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install pytest

local Homebrew formula metadata

Linux

Debian aptvérifié · 92%
sudo apt install python-pytest-doc

Debian stable package indexes · python-pytest-doc · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install python3-pytest

Fedora Rawhide package metadata · python3-pytest · Source: dl.fedoraproject.org

aperçu

Résumé du paquet

Simple powerful testing with Python

Commandes et alias

  • py.test
  • pytest

historique

Historique du projet et usages

pytest is a mature Python testing framework and command-line test runner known for plain assertions, fixtures, automatic discovery, detailed failure output, and a large plugin ecosystem.

Historique du projet

pytest traces its roots to testing experiments around PyPy and Holger Krekel’s complementary-standard-library work in 2004. The std.utest component became py.test when the std project was renamed py around September or October 2004.

The 2009 py 1.0 release introduced foundational funcargs/fixtures and a plugin architecture. In November 2010, pytest 2.0 became a package separate from py, although the command was still named py.test. Pytest 3.0 in August 2016 established pytest as the recommended command-line entry point.

Historique d'adoption

pytest grew from the PyPy and py-library communities into a general-purpose Python test framework. Its fixture and plugin architecture enabled an extensive surrounding ecosystem, while compatibility with unittest-style tests eased adoption in existing Python projects. Distribution through PyPI and operating-system package managers made it common in development environments and CI systems.

Modes d'utilisation

Developers write test functions using ordinary Python assertions, request reusable fixtures through function arguments, and run discovery with the pytest command. Plugins extend collection, reporting, coverage, parallelization, frameworks, and other behavior. Pytest can also execute unittest-based test suites.

Pourquoi les passionnés de paquets s'y intéressent

pytest is a package-ecosystem landmark: it popularized plain assert statements with rich failure introspection, composable fixtures, automatic test discovery, and a broad plugin model. Its long migration from the py library to an independent pytest package also explains legacy names such as py.test and historical dependencies encountered in older environments.

Chronologie

  • 2004: std.utest became py.test as the std project was renamed py.
  • 2009: py 1.0 introduced foundational fixtures and the enduring plugin architecture.
  • 2010: pytest 2.0 was released separately from the py package.
  • 2016: pytest 3.0 made pytest the recommended command name.
  • 2020: pytest 6.0 added pyproject.toml configuration support.
  • 2025: pytest 9.0 added pytest.toml and native TOML configuration.

Related projects

  • The py library originally housed py.test before pytest became a separate distribution.
  • PyPy community testing work helped shape pytest’s origins.
  • tox commonly invokes pytest across managed Python environments and can also host pytest configuration.
  • pluggy underpins pytest’s plugin and hook system.

Sources

  • Official configuration reference: https://docs.pytest.org/en/stable/reference/customize.html
  • Official history: https://docs.pytest.org/en/stable/history.html
  • Official unittest compatibility guide: https://docs.pytest.org/en/stable/unittest.html
  • source_facts.package-manager

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 1 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
pytest.toml.pytest.tomlpytest.ini.pytest.inipyproject.tomltox.inisetup.cfg

exécutables

Exécutables installés

CommandeTypeExpositionNote
py.testcliexécutable global
pytestcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-09-19
version du gestionnaire9.1.1
gestionnaire mis à jour2026-06-20
données localesOK
amontnot checked
dernière version détectéenon détecté

https://docs.pytest.org/en/latest/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:pytest
Version9.1.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/pytest
Page d'accueilhttps://docs.pytest.org/en/latest/
Docs amonthttps://docs.pytest.org/en/latest/
LicenceMIT
Archive sourcehttps://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz
Dernière mise à jour2026-06-20T12:34:40Z
Pulseupdated
Dépendancespython@3.14
Bouteilledisponible (sur all)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepytest
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

python-pytest-doc 8.3.5-2

Simple, powerful testing in Python - Documentation

https://pytest.org/

sudo apt install python-pytest-doc
  • Section: doc
  • Architecture: all
  • Source Package: pytest
  • 1 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Pytest
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-pytest-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-pytest 8.3.5-2

Simple, powerful testing in Python3

https://pytest.org/

sudo apt install python3-pytest
  • Section: python
  • Architecture: all
  • Source Package: pytest
  • 7 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Pytest
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-pytest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python-pytest-doc 7.4.4-1

Simple, powerful testing in Python - Documentation

https://pytest.org/

sudo apt install python-pytest-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: pytest
  • 1 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Pytest
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python-pytest-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-pytest 7.4.4-1

Simple, powerful testing in Python3

https://pytest.org/

sudo apt install python3-pytest
  • Section: universe/python
  • Architecture: all
  • Source Package: pytest
  • 8 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Pytest
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-pytest from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

python3-pytest 9.1.1-1.fc45

Simple powerful testing with Python

https://pytest.org

sudo dnf install python3-pytest
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: pytest
  • 3 Dépendances
  • 6 fournit
  • normalized package name match
  • Correspondance par : Pytest
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-pytest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation