# Install pytest

Simple powerful testing with Python. Version 9.0.3 via Homebrew; verified 2026-04-08.

## Install

```sh
sudo av install brew:pytest
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pytest
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python-pytest-doc
```

  Evidence: Debian stable package indexes: python-pytest-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install python3-pytest
```

  Evidence: Fedora Rawhide package metadata: python3-pytest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

## Package Facts

- **Package key:** brew:pytest
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/pytest>
- **Version:** 9.0.3
- **Source summary:** Simple powerful testing with Python
- **Homepage:** <https://docs.pytest.org/en/latest/>
- **Repository:** <https://github.com/pytest-dev/pytest>
- **Upstream docs:** <https://docs.pytest.org/en/stable>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz>
- **Last updated:** 2026-04-08T18:26:30Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- py.test (cli)
- pytest (cli)
- py.test (alias)
- pytest (alias)

## Dependencies

- python@3.14

## Install Behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 9.0.3
- Package-manager updated: 2026-04-08
- Local data status: ok
- Upstream repository: https://docs.pytest.org/en/latest/
- info: Release/tag comparison is only available for GitHub repositories.

## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pytest
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - python-pytest-doc - 8.3.5-2: normalized package name match | Debian stable package indexes: python-pytest-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple, powerful testing in Python - Documentation | https://pytest.org/
- Debian apt - python3-pytest - 8.3.5-2: normalized package name match | Debian stable package indexes: python3-pytest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple, powerful testing in Python3 | https://pytest.org/
- Ubuntu apt - python-pytest-doc - 7.4.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python-pytest-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple, powerful testing in Python - Documentation | https://pytest.org/
- Ubuntu apt - python3-pytest - 7.4.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-pytest from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple, powerful testing in Python3 | https://pytest.org/
- dnf - python3-pytest - 9.0.3-1.fc45: normalized package name match | Fedora Rawhide package metadata: python3-pytest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Simple powerful testing with Python | https://pytest.org


## Related Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/de/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/de/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gcovr](https://www.automicvault.com/de/pkg/brew/gcovr/) - Shares av.db curated category or tags: cli, developer-tools, python, testing.
- [tox](https://www.automicvault.com/de/pkg/brew/tox/) - Shares av.db curated category or tags: cli, developer-tools, python, testing.
- [phpunit](https://www.automicvault.com/de/pkg/brew/phpunit/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [locust](https://www.automicvault.com/de/pkg/brew/locust/) - Shares av.db curated category or tags: cli, developer-tools, python, testing.
- [lit](https://www.automicvault.com/de/pkg/brew/lit/) - Shares av.db curated category or tags: cli, developer-tools, test-runner, testing.
- [cargo-nextest](https://www.automicvault.com/de/pkg/brew/cargo-nextest/) - Shares av.db curated category or tags: cli, developer-tools, test-runner, testing.
- [robot-framework](https://www.automicvault.com/de/pkg/brew/robot-framework/) - Shares av.db curated category or tags: cli, developer-tools, python, testing.
- [gotestsum](https://www.automicvault.com/de/pkg/brew/gotestsum/) - Shares av.db curated category or tags: cli, developer-tools, test-runner, testing.
- [cxxtest](https://www.automicvault.com/de/pkg/brew/cxxtest/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, python, python-3-14.
- [roundup](https://www.automicvault.com/de/pkg/brew/roundup/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, runner, test.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
