mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #8146 from Rylan12/update-python-resources-fix
update-python-resources: add --no-cache-dir flag
This commit is contained in:
commit
53a27185a6
@ -67,11 +67,13 @@ module PyPI
|
|||||||
end
|
end
|
||||||
|
|
||||||
ohai "Retrieving PyPI dependencies for \"#{pypi_name}==#{version}\"" if !print_only && !silent
|
ohai "Retrieving PyPI dependencies for \"#{pypi_name}==#{version}\"" if !print_only && !silent
|
||||||
pipgrip_output = Utils.popen_read Formula["pipgrip"].bin/"pipgrip", "--json", "#{pypi_name}==#{version}"
|
pipgrip_output = Utils.popen_read Formula["pipgrip"].bin/"pipgrip", "--json", "--no-cache-dir",
|
||||||
|
"#{pypi_name}==#{version}"
|
||||||
unless $CHILD_STATUS.success?
|
unless $CHILD_STATUS.success?
|
||||||
odie <<~EOS
|
odie <<~EOS
|
||||||
Unable to determine dependencies for \"#{pypi_name}\" because of a failure when running
|
Unable to determine dependencies for \"#{pypi_name}\" because of a failure when running
|
||||||
`pipgrip --json #{pypi_name}==#{version}`. Please update the resources for \"#{formula.name}\" manually.
|
`pipgrip --json --no-cache-dir #{pypi_name}==#{version}`.
|
||||||
|
Please update the resources for \"#{formula.name}\" manually.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user