Skip to content
Evergreen Evergreen
Documentation

pytest-runner is deprecated

Deprecated. The source gives no day. Replacement: tox, nox, or direct pytest invocation. Source: pytest-runner deprecation notice.

Check a version:

evergreen check pkg:pypi/pytest-runner

The maintainer warns that pytest-runner depends on deprecated Setuptools features and can bypass pip security mechanisms.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity high
Ecosystem python
Component pkg:pypi/pytest-runner
Affected versions vers:pypi/*
Date from the source The source gives no day
Replacement tox, nox, or direct pytest invocation
Evidence last seen 2026-10-16
Reviewed 2026-10-16 by arminazimi
Review due 2027-10-16 (365 days after the last review)
Rule ID python.package.pytest-runner.deprecated

Sources

Migration

Constraints

  • Preserve test dependencies, pytest options, environment variables, supported Python versions, and CI exit behavior.

Steps

  1. Remove pytest-runner. Remove pytest-runner from setup requirements and move test dependencies out of tests_require.
  2. Add an explicit test runner. Configure tox, nox, or the existing environment manager to install test dependencies and invoke pytest directly.

Verification

  • python -m pytest: Run the test suite without setup.py test or pytest-runner.

Detected by

The python detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/python.json, rule python.package.pytest-runner.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated