$npx skillfedfor your agent

pytest-cache

pytest plugin with mechanisms for caching across test runs

SkipPyPI LibrariesReleased Jun 2013687.7K downloads / moMIT LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — pytest-cache-1.0.tar.gz · builds from source
v1.0 · released 2013-06-04

No. This package is abandoned (last release 2013-06-04) and its functionality is now built into pytest natively. Installing it risks incompatibility with modern pytest versions and introduces unmaintained code into your test infrastructure. Use pytest's native cache support instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • This package is abandoned and may be incompatible with modern pytest versions; native cache functionality is now integrated into pytest itself.
  • High install friction: the package is abandoned (last release 2013-06-04) with no maintenance signal.
  • Modern pytest versions have integrated this functionality natively, making this package obsolete for current projects.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) poses no legal barrier to use, but the abandoned status and age make licensing a secondary concern compared to functionality gaps.

last release 2013-06-04 (4819 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 687,699 downloads/mo, #5,344 on PyPI

Verify before relying

pip install pytest-cache

# Then in conftest.py or a plugin:
def pytest_funcarg__mydata(request):
    val = request.config.cache.get("example/value", None)
    if val is None:
        val = 42
        request.config.cache.set("example/value", val)
    return val
  • Compatibility with pytest versions released after 2013-06-04; whether API changes in modern pytest break this plugin.
  • Whether the --lf and --ff flags still work as documented or have been superseded by pytest's native implementation.
  • Current usability on Python 3 versions, given the package's alpha status and age.
Same gist for agents: .md · .json

What it is and what it does

pytest-cache is a pytest plugin that stores test execution state between runs, allowing developers to selectively rerun failed tests or prioritize failures in subsequent test sessions. It exposes a config.cache object that plugins and conftest code can use to persist arbitrary values across test invocations—useful for caching expensive computations or tracking test history.

However, this package is abandoned (last updated 2013-06-04) and its core functionality has been integrated directly into pytest itself. Modern pytest versions provide native cache support without requiring this external plugin. Installing this package on a current pytest setup risks API incompatibilities and maintenance gaps.

Use it for

  • Rerun only the tests that failed in the previous test session using --lf to speed up debugging cycles.
  • Run all tests but execute previously failed tests first using --ff to surface regressions early.
  • Cache expensive setup computations across multiple test runs via config.cache.set() and config.cache.get().
  • Inspect cached test state and values using --cache to diagnose test history and cross-run dependencies.
  • Clear all cached state before CI runs using --clearcache to ensure test isolation and correctness.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

This package is abandoned (last release 2013-06-04) and its functionality is now built into pytest natively. Installing it risks incompatibility with modern pytest versions and introduces unmaintained code into your test infrastructure. Use pytest's native cache support instead.

Install

pytest-cache on PyPI

Before you install

High install friction: the package is abandoned (last release 2013-06-04) with no maintenance signal. Modern pytest versions have integrated this functionality natively, making this package obsolete for current projects.

This package is abandoned and may be incompatible with modern pytest versions; native cache functionality is now integrated into pytest itself.

License in practice

MIT License (permissive) poses no legal barrier to use, but the abandoned status and age make licensing a secondary concern compared to functionality gaps.

Quickstart

pip install pytest-cache

# Then in conftest.py or a plugin:
def pytest_funcarg__mydata(request):
    val = request.config.cache.get("example/value", None)
    if val is None:
        val = 42
        request.config.cache.set("example/value", val)
    return val

Verify before relying

  • Compatibility with pytest versions released after 2013-06-04; whether API changes in modern pytest break this plugin.
  • Whether the --lf and --ff flags still work as documented or have been superseded by pytest's native implementation.
  • Current usability on Python 3 versions, given the package's alpha status and age.

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 4,819 days since the last release
First released
Downloads687,699 / month, #5,344 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: TestingTopic :: Utilities

Evidence: pytest-cache-1.0.tar.gz

Tags

Capabilities
pytest cache pluginrerun failed testspytest state persistencecross-testrun cachingpytest failure trackingtest result cachingpytest --lf --ff
Topics
deprecatedlegacy

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rerun failed tests”

  • pytest-cacheA pytest plugin that persists test state across runs, enabling rerun…
  • pytest-retrypytest-retry is a pytest plugin that automatically retries failed…
  • pytest-rerunfailuresA pytest plugin that automatically reruns failed tests to eliminate…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pytest-rerunfailures · rtest · pytest-retry · allpairspy · pytest-assume · pytest-check · pytest-watch · pytest-only · pytest-skip-slow · tavern