Visitar URL original
Fix macOS 15 test runner by unlinking old openssl binary by iccir · Pull Request #32448 · matplotlib/matplotlib · GitHub
Skip to content

Fix macOS 15 test runner by unlinking old openssl binary - #32448

Open
iccir wants to merge 1 commit into
matplotlib:mainfrom
iccir:fix-homebrew-openssl
Open

iccir wants to merge 1 commit into
matplotlib:mainfrom
iccir:fix-homebrew-openssl

Conversation

@iccir

@iccir iccir commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

PR summary

Our "Python 3.12 on macos-15" test runner has been failing all day with:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/openssl
Target /opt/homebrew/bin/openssl
is a symlink belonging to openssl@1.1. You can unlink it:
  brew unlink openssl@1.1

To force the link and overwrite all conflicting files:
  brew link --overwrite openssl@3

To list all files that would be deleted:
  brew link --overwrite openssl@3 --dry-run

Possible conflicting files are:
/opt/homebrew/bin/openssl -> /opt/homebrew/opt/openssl@1.1/bin/openssl

brew unlink openssl@1.1 doesn't actually work, as the runner image (or Homebrew?) appears to make a manual link from "/opt/homebrew/bin/openssl" to the openssl@1.1 binary.

I searched GitHub for similar reports and took the solution found in y-scope/clp#2545.

AI Disclosure

None used.

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • [/] New and changed code is tested
  • [/] Plotting related features are demonstrated in an example
  • [/] New features and API changes have release notes
  • [/] Documentation complies with general and docstring guidelines

@iccir iccir changed the title Fix macOS 15 CI by unlinking openssl@1 prior to brew install Fix macOS 15 CI by unlinking old openssl binary Oct 8, 2026
@iccir
iccir force-pushed the fix-homebrew-openssl branch from c49e835 to ed4689e Compare October 8, 2026 04:07
@iccir
iccir marked this pull request as ready for review October 8, 2026 04:07
@iccir iccir changed the title Fix macOS 15 CI by unlinking old openssl binary Fix macOS 15 test runner by unlinking old openssl binary Oct 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant