From d8b6bb2d4c81d895eb3b639173cf52a9d8634ba8 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sat, 3 Jun 2023 23:15:44 -0400 Subject: [PATCH] utils/pypi: more docs Signed-off-by: William Woodruff --- Library/Homebrew/utils/pypi.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index b5d77bece0..8db565ade9 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -30,6 +30,9 @@ module PyPI # The URL might be a source distribution hosted somewhere; # try and use `pip install -q --no-deps --dry-run --report ...` to get its # name and version. + # Note that this is different from the (similar) `pip install --report` we + # do below, in that it uses `--no-deps` because we only care about resolving + # this specific URL's project metadata. command = [Formula["python"].bin/"python3", "-m", "pip", "install", "-q", "--no-deps", "--dry-run", "--ignore-installed", "--report", "/dev/stdout", package_string]