Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Unlink python before
brew install
(#18402)
* fix(ci): Unlink python before `brew install` Otherwise it fails to update Python with: ``` ==> Upgrading python@3.11 3.11.4_1 -> 3.11.5 ==> Pouring python@3.11--3.11.5.monterey.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/2to3 Target /usr/local/bin/2to3 already exists. You may want to remove it: rm '/usr/local/bin/2to3' To force the link and overwrite all conflicting files: brew link --overwrite python@3.11 To list all files that would be deleted: brew link --overwrite --dry-run python@3.11 ``` Example: https://github.com/vectordotdev/vector/actions/runs/5995416388/job/16258473755 Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com> * shell lint Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com> --------- Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
- Loading branch information