Skip to main content
FOSSA Logo
Skip to package details

pytest-cov

PyPI2.1k GitHub stars

v7.1.0 · Mar 2026 · MIT (top-level declared license)

pip install pytest-cov
  • No known CVEs
  • 234.8M downloads/mo
  • 54 versions

Description

Coverage plugin for pytest.

Licenses

Declared license

MIT (top-level declared license of pytest-cov)

Transitive dependency licenses

pytest-cov pulls in 6 transitive dependencies across 4 distinct licenses, all permissive.

LicenseCategoryDependencies
MITPermissive3 of 6
Apache-2.0Permissive1 of 6
Apache-2.0 OR BSD-2-ClausePermissive1 of 6
BSD-2-ClausePermissive1 of 6

This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.

Need pytest-cov approved? Get the full license and vulnerability report for your codebase. Scan free.

Scan free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
7.1.0Mar 2026MIT
7.0.0Sep 2025
6.3.0Sep 2025
6.2.1Jun 2025
6.2.0Jun 2025
6.1.1Apr 2025
6.1.0Apr 2025
6.0.0Oct 2024
5.0.0Mar 2024
4.1.0May 2023
4.0.0Sep 2022
3.0.0Oct 2021
2.12.1Jun 2021
2.12.0May 2021
2.11.1Jan 2021
2.11.0Jan 2021
2.10.1Aug 2020
2.10.0Jun 2020
2.9.0May 2020
2.8.1Oct 2019
2.8.0Oct 2019
2.7.1May 2019
2.7.0May 2019
2.6.1Jan 2019
2.6.0Sep 2018
25 older releases
Older published versions
VersionPublishedLicense
2.5.1May 2017
2.5.0May 2017
2.4.0Oct 2016
2.3.1Aug 2016
2.3.0Jul 2016
2.2.1Jan 2016
2.2.0Oct 2015
2.1.0Aug 2015
2.0.0Jul 2015
1.8.1Nov 2014
1.8.0Aug 2014
1.7.0Jun 2014
1.6.0May 2012
1.5.0Jul 2011
1.4.0Mar 2011
1.3.0Sep 2010
1.2.0Aug 2010
1.1.0Aug 2010
1.0.0Aug 2010
0.15.0Jul 2010
0.14.0May 2010
0.13.0May 2010
0.12.0May 2010
0.11.0May 2010
0.10.0May 2010

pip install pytest-cov resolves to the 7.x line today. Older major lines may still receive fixes.

Direct dependencies

3 direct dependencies, 6 in total including transitive. Licenses across the full tree are summarized under Licenses.

Direct dependencies
PackageVersion rangeLicense
coverage>=7.10.6Apache-2.0
pluggy>=1.2MIT
pytest>=7MIT

Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.

Popularity

Downloads last month
234.8M
Known dependents in this corpus
1,688
GitHub stars
2.1k
OpenSSF score
4.1 / 10

FAQ

What is the latest version of pytest-cov?
The latest version of pytest-cov is 7.1.0, published March 2026.
What license is pytest-cov under?
pytest-cov declares MIT as its top-level declared license. Its dependency tree spans 4 distinct licenses.
Does pytest-cov have known vulnerabilities?
No known CVEs are recorded against published versions of pytest-cov.
How do I install pytest-cov?
Install pytest-cov with pip install pytest-cov.
How do I generate an SBOM that includes pytest-cov?
FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes pytest-cov. Generate an SPDX or CycloneDX SBOM free.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Download counts from PyPI Stats, sourced from the Python Software Foundation download statistics. Counts cover the last 180 days and exclude known mirrors.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.