Skip to content

Commit ed8a3e0

Browse files
blakeffacebook-github-bot
authored andcommitted
brew should overwrite existing python links (#36192)
Summary: Pull Request resolved: #36192 Builds are failing on CI because brew bails out when it tries installing Python 3.1. The image already has an existing version of Python 3, which we should overwrite. {F876436464} This seems to be a known issue [1] with Brew. In this case it seems safe to overwrite. Changelog: [General][Changed] - Brew overwrites system Python 3. [1] https://github.com/actions/setup-python/issues/577#issuecomment-1431468702 Reviewed By: cipolleschi Differential Revision: D43391941 fbshipit-source-id: 9b0cb234eeb0b7473b17b5ebfa6ed12c6448760f
1 parent 6dde1dc commit ed8a3e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,11 @@ jobs:
593593
- run:
594594
name: "Brew: Tap wix/brew"
595595
command: brew tap wix/brew
596+
- run:
597+
# Python 3.10 already exists in the environment, this is a workaround for:
598+
# https://github.com/actions/setup-python/issues/577
599+
name: "Unlink environment's Python 3.10"
600+
command: brew unlink [email protected]
596601
- brew_install:
597602
package: applesimutils watchman
598603

0 commit comments

Comments
 (0)