An interactive pip requirements upgrader. It also updates the version in your requirements.txt file.
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install pip-upgraderpip-upgrader

An interactive pip requirements upgrader. Because upgrading requirements, package by package, is a pain in the ass. It also updates the version in your requirements.txt, pyproject.toml, and Pipfile files.
Purpose
This cli tool helps you interactively(or not) upgrade packages from requirements files, pyproject.toml (PEP 621), Poetry, or Pipenv projects, and also update the pinned version in-place.
If no requirements are given, the command attempts to detect requirements file(s), pyproject.toml, and Pipfile in the current directory.
Quick preview:

Installation
uv tool install pip-upgrader
or with pip:
pip install pip-upgrader
Requires Python 3.10+
To avoid installing all these dependencies in your project, you can
install pip-upgrader as a tool (via uv tool install) or in your
system Python, rather than your virtualenv.
Usage
CD into your project. Then:
$ pip-upgrade
This will update the pinned versions in your requirements files. You then install yourself with uv sync, pip install -r requirements.txt, or whatever you use.
Arguments:
requirements_file(s) The requirement FILE, WILDCARD PATH to multiple files, pyproject.toml, or Pipfile. (positional arguments)
--prerelease Include prerelease versions for upgrade, when querying pypi repositories.
-p <package> Pre-choose which packages to upgrade. Skips any prompt.
--dry-run Simulates the upgrade, but does not execute the actual upgrade.
--non-interactive Upgrade all packages without prompting. Equivalent to -p all. If -p is also given, it is overridden and a warning is printed.
--skip <package> Skip specific packages by name or regex. Can be combined with --non-interactive.
--skip-greater-equal Skip packages with >= and ~= pins (by default ==, >=, and ~= are checked).
--use-default-index Skip searching for custom index-url in pip configuration file(s).
--timeout <seconds> Set a custom timeout for PyPI requests (default: 15 seconds).
--minor Only upgrade within the same major version (e.g. 1.2.3 -> 1.x.y).
--patch Only upgrade within the same major.minor version (e.g. 1.2.3 -> 1.2.x).