$npx skillfedfor your agent

pytest-pythonpath

pytest plugin for adding to the PYTHONPATH from command line or configs.

SkipPyPI TestingReleased Feb 2022265.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_pythonpath-0.7.4-py3-none-any.whl
v0.7.4 · released 2022-02-10 · Python >=2.6, <4 · 1 runtime deps: pytest

No. If you are using pytest 7.0.0 or later (released January 2022), use pytest's native `pythonpath` config option instead. If you are stuck on an older pytest version, consider upgrading rather than adopting an abandoned plugin. There are no known security vulnerabilities, but the package receives no maintenance and its purpose is now redundant.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only works with pytest versions before 7.0.0; pytest 7.0.0+ has native pythonpath configuration built in.
  • Low install friction, but the package is abandoned as of March 2022 (1646 days without updates).
  • Its core feature was integrated into pytest 7.0.0, making it obsolete for modern pytest versions.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—standard permissive terms.

last release 2022-02-10 (1646 days) · last repo commit 2022-03-01 · 80 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 265,618 downloads/mo, #8,321 on PyPI

Verify before relying

# Add to pytest.ini:
[pytest]
python_paths = your/path/apps your/path/libs

# Then run pytest normally:
pytest
  • Whether the plugin still functions correctly with pytest 7.0.0+ despite being marked obsolete.
  • Compatibility with Python versions beyond 3.10 (classifiers list 3.10 as highest, but requires_python allows <4).
Same gist for agents: .md · .json

What it is and what it does

pytest-pythonpath is a pytest plugin that modifies the Python import path before tests run by reading path directives from pytest.ini. It allows you to specify directories to prepend to sys.path or process as site directories, enabling tests to import modules from custom locations without modifying PYTHONPATH manually.

However, this plugin is now obsolete. As of pytest 7.0.0, the same functionality is available natively via the `pythonpath` configuration option in pytest.ini, making this plugin unnecessary for any pytest version released since early 2022. The package is abandoned and receives no maintenance.

Use it for

  • Legacy projects still running pytest <7.0.0 that need to configure import paths via pytest.ini.
  • Codebases with custom module layouts where sys.path manipulation is simpler than restructuring imports.
  • Projects that cannot upgrade pytest and need a drop-in path configuration mechanism.

Worth the install?

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

Skip

No.

If you are using pytest 7.0.0 or later (released January 2022), use pytest's native `pythonpath` config option instead. If you are stuck on an older pytest version, consider upgrading rather than adopting an abandoned plugin. There are no known security vulnerabilities, but the package receives no maintenance and its purpose is now redundant.

Install

pytest-pythonpath on PyPI

Before you install

Low install friction, but the package is abandoned as of March 2022 (1646 days without updates). Its core feature was integrated into pytest 7.0.0, making it obsolete for modern pytest versions.

Only works with pytest versions before 7.0.0; pytest 7.0.0+ has native pythonpath configuration built in.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—standard permissive terms.

Quickstart

# Add to pytest.ini:
[pytest]
python_paths = your/path/apps your/path/libs

# Then run pytest normally:
pytest

Verify before relying

  • Whether the plugin still functions correctly with pytest 7.0.0+ despite being marked obsolete.
  • Compatibility with Python versions beyond 3.10 (classifiers list 3.10 as highest, but requires_python allows <4).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.6, <4
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceAbandoned 1,646 days since the last release
Last repo commit
First released
Downloads265,618 / month, #8,321 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: PluginsFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.0Programming Language :: Python :: 3.1Programming Language :: Python :: 3.10Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing

Evidence: pytest_pythonpath-0.7.4-py3-none-any.whl

Tags

Capabilities
pytest pythonpath configurationadd paths to sys.path pytestpytest import path setuppytest.ini python pathspytest module search pathpytest custom import directories
Topics
pytest-pluginobsolete

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 pythonpath configuration”

  • pytest-pythonpathAdds directories to Python's import path before pytest runs,…
  • rootutilsFinds your project root directory and configures Python path, working…
  • pyrootutilsFinds your project root directory and configures Python paths,…

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

More Testing packages

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
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
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-dotenv · pyrootutils · rootutils · pytest-isort · pytest-datafiles · pytest-env · pytest-mypy-plugins · pytest-redis · pytest-runner