-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Description
Description
If we try to install python@3.10 or python@3.11 via a formula, dependency or manually via brew after running brew update
the sym linking fails, which causes the install to fail. We came across this issue when testing the homebrew formulae for apache/arrow.
Also discussed here https://github.com/orgs/Homebrew/discussions/3895
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Image version and build link
Image: macos-11 Version: 20221215.1
Image: macos-12 Version: 20221215.1
https://github.com/assignUser/test-repo-a/actions/runs/3823624240/jobs/6504985599#step:2:119
Is it regression?
Yes, we have been running these builds for years at this point but I was unable to pinpoint the exact date were the failures begun (due to log limits)
Expected behavior
python 3.11/3.10 is installed and sym linked by brew (or detected as installed)
Actual behavior
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.11
Target /usr/local/bin/2to3-3.11
already exists. You may want to remove it:
rm '/usr/local/bin/2to3-3.11'
Repro steps
brew update
to detect the broken linkagebrew install python@3.11