{"library":"pytest-runner","title":"pytest-runner","description":"pytest-runner is a setuptools extension that historically allowed pytest to be invoked via `python setup.py test`. Version 6.0.1 is the latest release, but the project is officially deprecated and its GitHub repository was archived in December 2023. It is no longer recommended for use in modern Python projects due to reliance on deprecated setuptools features and security concerns.","language":"python","status":"deprecated","last_verified":"Sat Apr 11","install":{"commands":["pip install pytest-runner"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# In setup.py (NOTE: This usage pattern is deprecated!)\nfrom setuptools import setup, find_packages\n\nsetup(\n    name='my-package',\n    version='0.1.0',\n    packages=find_packages(),\n    setup_requires=[\n        'pytest-runner',\n    ],\n    tests_require=[\n        'pytest',\n    ],\n)\n\n# To run tests (from your project root):\n# python setup.py pytest\n# OR python setup.py test (if 'test=pytest' alias is set in setup.cfg)","lang":"python","description":"This is the *deprecated* quickstart method for `pytest-runner`. It demonstrates how to configure your `setup.py` to use `pytest-runner` to enable the `python setup.py pytest` (or `test`) command. Modern projects are advised to run `pytest` directly or via tools like `tox`.","tag":"stale","tag_description":"widespread failures or data too old to trust","last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]},"compatibility":null}