Troubleshooting

Updated May 19, 2026

If the patch is not being installed, check these items first:

  • Confirm the command is running under PyPy, not CPython.
  • Confirm Pylint is version 4.x and Astroid is version 4.x.
  • Run with logging enabled and look for pylint_pypy_shim warnings.
  • On successful PyPy installation, INFO logs report that InspectBuilder.object_build was patched and include the active Pylint version, Astroid version, and runtime name.
  • Use PYLINT_PYPY_SHIM_STRICT=1 in CI when unsupported versions should stop the job immediately.

If Pylint itself exits with a non-zero status, pylint-pypy propagates that status. Treat it like a normal Pylint failure and inspect the reported diagnostics.