From 4ac78662bb5f4bf292f23ecd5e5d626db07f325e Mon Sep 17 00:00:00 2001 From: Chuck Cadman <51368516+cdcadman@users.noreply.github.com> Date: Sat, 20 Jun 2026 13:18:46 -0700 Subject: [PATCH] Include already installed packages in PipResolver.gather --- depgather/pip_cli.py | 1 + tests/test_pip_cli.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depgather/pip_cli.py b/depgather/pip_cli.py index b3c0220..15424f1 100644 --- a/depgather/pip_cli.py +++ b/depgather/pip_cli.py @@ -68,6 +68,7 @@ def gather( "--no-color", "--dry-run", "--quiet", + "--force-reinstall", "--report", str(report_path), "--index-url", diff --git a/tests/test_pip_cli.py b/tests/test_pip_cli.py index 5ef239a..5c78996 100755 --- a/tests/test_pip_cli.py +++ b/tests/test_pip_cli.py @@ -68,6 +68,6 @@ def test_issue_84() -> None: "tzdata", "vine", "wcwidth", - # "packaging", # not present locally + "packaging", }, )