skillfed

pytest-runner

Invoke py.test as distutils command with dependency resolution

pytest-runner Permissive license Abandoned 56 v6.0.1 released

Install

pytest-runner on PyPI

pip

pip install pytest-runner

uv

uv add pytest-runner

poetry

poetry add pytest-runner

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 983 days since the last release
Last repo commit (repository archived)
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: pytest_runner-6.0.1-py3-none-any.whl

Development Status :: 7 - InactiveFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

About pytest-runner

from the package's own PyPI description — quoted content, verbatim

.. image:: https://img.shields.io/pypi/v/pytest-runner.svg :target: PyPI link_

.. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg :target: PyPI link_

.. _PyPI link: https://pypi.org/project/pytest-runner

.. image:: https://github.com/pytest-dev/pytest-runner/workflows/tests/badge.svg :target: https://github.com/pytest-dev/pytest-runner/actions?query=workflow%3A%22tests%22 :alt: tests

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: Black

.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest .. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2022-informational :target: https://blog.jaraco.com/skeleton

.. image:: https://tidelift.com/badges/package/pypi/pytest-runner :target: https://tidelift.com/subscription/pkg/pypi-pytest-runner?utm_source=pypi-pytest-runner&utm_medium=readme

Setup scripts can use pytest-runner to add setup.py test support for pytest runner.

Deprecation Notice

pytest-runner depends on deprecated features of setuptools...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

pytest-runner enables setup.py to invoke pytest as a distutils command with automatic test dependency resolution, though it is now deprecated.

Installation is frictionless (pure Python wheel, no runtime dependencies), but the package is abandoned as of 2023-12-04 with no active maintenance. The repository is archived and the project explicitly recommends migration away.

Licensed under MIT (permissive), imposing no restrictions on use or redistribution.

Usage

# In setup.py:
setup(
    setup_requires=['pytest-runner'],
    tests_require=['pytest'],
)
# Then run: python setup.py pytest

Requires Python >=3.7; relies on deprecated setup_requires and tests_require features that the project itself warns bypass security mechanisms in pip.

Verdict: pytest-runner is a stable but abandoned tool for running pytest via setup.py. While it installs cleanly with zero runtime friction, its own documentation warns that it relies on deprecated features and security-bypassing mechanisms. New projects should use alternative test orchestration; existing users should plan migration.

Needs verification

  • Whether any known workarounds exist for the security implications of setup_requires and tests_require bypass mentioned in the deprecation notice.
  • Current adoption rate and whether active forks or maintained alternatives have emerged since archival.
setup.py pytest integrationdistutils test commandpytest setuptools pluginsetup.py test runnerpytest dependency resolutionlegacy test runner

Similar packages