$npx skillfedfor your agent

pytest-fixture-config

Fixture configuration utils for py.test

With conditionsPyPI LibrariesReleased Oct 2024351.2K downloads / moMIT licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_fixture_config-1.8.0-py3-none-any.whl
v1.8.0 · released 2024-10-17 · Python >=3.6 · 1 runtime deps: pytest

Yes, if you need to conditionally skip pytest fixtures based on missing configuration. The package is stable, permissively licensed, and has low install friction. The aging maintenance status (last release 666 days ago) is a minor concern but not a blocker—the repository is still active and the package is marked Production/Stable. Install it if you're managing optional test fixtures or environment-dependent test setup.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency on pytest.
  • Maintenance status is aging—last release was 666 days ago, though the repository remains active with a recent commit in January 2026 and 598 stars.
  • The package has been stable since its 2015 initial release.

License · maintenance · safety

MIT license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.

last release 2024-10-17 (666 days) · last repo commit 2026-01-28 · 598 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 351,234 downloads/mo, #7,324 on PyPI

Verify before relying

pip install pytest-fixture-config

# In conftest.py or test file:
import os
from pytest_fixture_config import Config, requires_config

class FixtureConfig(Config):
    __slots__ = ('api_key',)

CONFIG = FixtureConfig(api_key=os.getenv('API_KEY'))

@pytest.fixture
@requires_config(CONFIG, ['api_key'])
def my_fixture():
    return CONFIG.api_key
  • Whether the package is actively maintained or in maintenance-only mode given the 666-day gap since last release.
  • Compatibility with pytest versions beyond those listed in the changelog (4.0.0+).
Same gist for agents: .md · .json

What it is and what it does

pytest-fixture-config is a pytest plugin that simplifies managing configuration for test fixtures. It lets you define configuration objects that read values from environment variables or other sources, then use decorators to conditionally skip tests when required configuration is missing. This is useful when your test suite includes optional tests for features you might not have installed or configured on every machine.

The package provides a Config base class you subclass to define your fixture configuration, plus decorators like requires_config and yield_requires_config that automatically skip tests when their required settings aren't available. It integrates directly into pytest as a plugin and requires only pytest as a runtime dependency.

Use it for

  • Skip integration tests when external service credentials (API keys, database URLs) are not set in the environment.
  • Conditionally run tests for optional features based on whether their configuration is available.
  • Manage fixture setup that depends on environment-specific settings without failing the entire test suite.
  • Define reusable configuration singletons across multiple test fixtures in a conftest.py.
  • Test code paths that require specific tools or services without breaking CI/CD when they're unavailable.

Worth the install?

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

With conditions

Yes, if you need to conditionally skip pytest fixtures based on missing configuration.

The package is stable, permissively licensed, and has low install friction. The aging maintenance status (last release 666 days ago) is a minor concern but not a blocker—the repository is still active and the package is marked Production/Stable. Install it if you're managing optional test fixtures or environment-dependent test setup.

Install

pytest-fixture-config on PyPI

Before you install

Low friction install with a single runtime dependency on pytest. Maintenance status is aging—last release was 666 days ago, though the repository remains active with a recent commit in January 2026 and 598 stars. The package has been stable since its 2015 initial release.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.

Quickstart

pip install pytest-fixture-config

# In conftest.py or test file:
import os
from pytest_fixture_config import Config, requires_config

class FixtureConfig(Config):
    __slots__ = ('api_key',)

CONFIG = FixtureConfig(api_key=os.getenv('API_KEY'))

@pytest.fixture
@requires_config(CONFIG, ['api_key'])
def my_fixture():
    return CONFIG.api_key

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode given the 666-day gap since last release.
  • Compatibility with pytest versions beyond those listed in the changelog (4.0.0+).

Package facts

LicenseMIT license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceAging 666 days since the last release
Last repo commit
First released
Downloads351,234 / month, #7,324 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: LibrariesTopic :: Software Development :: TestingTopic :: Utilities

Evidence: pytest_fixture_config-1.8.0-py3-none-any.whl

Tags

Capabilities
pytest fixture configurationskip tests missing configpytest config managementfixture setup helpersconditional test skippingpytest plugin configenvironment-based test skipping
Topics
pytest-plugintest-configuration

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 › “pytest fixture configuration”

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-lazy-fixture · pytest-shutil · pytest-skip-markers · pytest-lazy-fixtures · pytest-dependency · pytest-redis · pytest-docker · pytest-deadfixtures · pytest-mock-resources · pytest-profiling