pkg.soopen package index

brew / 順位 1377

pytest を Homebrew, apt, dnf でインストール

pytest のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pytest

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install python-pytest-doc

Debian stable package indexes · python-pytest-doc · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install python3-pytest

Fedora Rawhide package metadata · python3-pytest · ソース: dl.fedoraproject.org

概要

パッケージ概要

Simple powerful testing with Python

コマンドとエイリアス

  • py.test
  • pytest

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

ソース

  • 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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
py.testcliグローバル実行可能ファイル
pytestcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版9.1.1
マネージャ更新日2026-06-20
ローカルデータOK
上流not checked
検出された最新未検出

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pytest
バージョン9.1.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pytest
ホームページhttps://docs.pytest.org/en/latest/
上流ドキュメントhttps://docs.pytest.org/en/latest/
ライセンスMIT
ソースアーカイブhttps://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz
最終更新2026-06-20T12:34:40Z
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 6 提供
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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