Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4047b5e

Browse filesBrowse files
committed
ci: Disable eager upgrades from Homebrew
GitHub and Azure's images install a pre-existing Python, which Homebrew attempts to upgrade if any of the packages we want to install depend on it. Unfortunately, this may cause conflicts on Python's symlinks, so stop Homebrew from trying to do an automatic upgrade.
1 parent 9c88d13 commit 4047b5e
Copy full SHA for 4047b5e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎.github/workflows/tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ jobs:
158158
;;
159159
macOS)
160160
brew update
161+
export HOMEBREW_NO_INSTALL_UPGRADE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
161162
brew install ccache ghostscript ninja
162163
# The macOS 12 images have an older Python, and this causes homebrew to generate conflicts.
163164
# We'll just skip GTK for now, to not pull in Python updates.

‎azure-pipelines.yml

Copy file name to clipboardExpand all lines: azure-pipelines.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ stages:
111111
;;
112112
Darwin)
113113
brew update
114+
export HOMEBREW_NO_INSTALL_UPGRADE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
114115
brew install --cask xquartz
115116
brew install ccache ffmpeg imagemagick mplayer ninja pkg-config
116117
brew install --cask font-noto-sans-cjk-sc

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.