Skip to content
Snippets Groups Projects
Commit 36c7a3f2 authored by Seeker's avatar Seeker
Browse files

bump-formula-pr, utils/pypi: tweak log messages

parent c5d3a4a0
No related branches found
No related tags found
No related merge requests found
......@@ -333,9 +333,8 @@ module Homebrew
alias_rename.map! { |a| formula.tap.alias_dir/a }
end
ohai "brew update-python-resources #{formula.name}"
unless read_only_run
PyPI.update_python_resources! formula, new_formula_version, silent: true, ignore_non_pypi_packages: true
PyPI.update_python_resources! formula, new_formula_version, silent: args.quiet?, ignore_non_pypi_packages: true
end
run_audit(formula, alias_rename, old_contents, args: args)
......
......@@ -82,7 +82,7 @@ module PyPI
@pipgrip_installed ||= Formula["pipgrip"].any_version_installed?
odie '"pipgrip" must be installed (`brew install pipgrip`)' unless @pipgrip_installed
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", "--no-cache-dir",
"#{pypi_name}==#{version}"
unless $CHILD_STATUS.success?
......@@ -103,6 +103,7 @@ module PyPI
new_resource_blocks = ""
packages.each do |package, package_version|
ohai "Getting PyPI info for \"#{package}==#{package_version}\"" if !print_only && !silent
name, url, checksum = get_pypi_info package, package_version
# Fail if unable to find name, url or checksum for any resource
if name.blank?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment