pip-review

raw JSON →
1.3.0 verified Mon Apr 27 auth: no python

pip-review is a command-line tool to manage PyPI package updates. It wraps pip list --outdated and provides interactive or automatic upgrade modes. The current version is 1.3.0, released in 2024. Release cadence is irregular; the project is looking for a new maintainer.

pip install pip-review
error ImportError: No module named pip_review
cause Trying to import using hyphen instead of underscore.
fix
Use: from pip_review import ... or run python -m pip_review.
error pip-review: error: unrecognized arguments: --user
cause In version <1.1.0, unknown arguments were not forwarded to pip install correctly.
fix
Upgrade to pip-review >=1.1.0. Then arguments like --user work.
breaking Version 1.0 dropped Python 2.6 and 3.2 support. Script now uses `python -m pip` instead of the pip from PATH.
fix Upgrade to Python 2.7+ or 3.3+. Ensure the current Python's pip is used.
gotcha The `--pre` flag must be used to include pre-release versions; they are ignored by default since version 0.4.
fix Pass `--pre` to include pre-releases.
gotcha When calling from Python, use `pip_review` (underscore) not `pip-review` (hyphen).
fix Use `from pip_review import ...` or `python -m pip_review`.

Run pip-review in auto mode to upgrade all packages. Alternatively, use the CLI directly: `pip-review --auto`.

import subprocess
import sys
subprocess.check_call([sys.executable, '-m', 'pip_review', '--auto'])