formula_installer: don't ignore deps when fetching and pouring bottles.

Otherwise, we can try to pour bottles that haven't been downloaded yet.

Possible fix for #15957.
This commit is contained in:
Mike McQuaid 2023-09-05 08:22:55 -04:00
parent e02ec5e07a
commit 8b6e1f33da
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -685,7 +685,8 @@ on_request: installed_on_request?, options: options)
# When fetching we don't need to recurse the dependency tree as it's already # When fetching we don't need to recurse the dependency tree as it's already
# been done for us in `compute_dependencies` and there's no requirement to # been done for us in `compute_dependencies` and there's no requirement to
# fetch in a particular order. # fetch in a particular order.
ignore_deps: true, # Note, this tree can vary when pouring bottles so we need ot check it then.
ignore_deps: !pour_bottle?,
installed_as_dependency: true, installed_as_dependency: true,
include_test_formulae: @include_test_formulae, include_test_formulae: @include_test_formulae,
build_from_source_formulae: @build_from_source_formulae, build_from_source_formulae: @build_from_source_formulae,