Skip to content

Build against OpenSSL 3 on macOS - #494

Merged
savannahostrowski merged 3 commits into
python:mainfrom
maurycy:macos-openssl3
Nov 13, 2026
Merged

savannahostrowski merged 3 commits into
python:mainfrom
maurycy:macos-openssl3

Conversation

@maurycy

@maurycy maurycy commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Homebrew no longer provides openssl@1.1. This PR switches the build and provisioning instructions to openssl@3.

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interestingly enough, I have a Mac runner that’s been working with the old lookup, so I dug into why. It’s running an older version of Homebrew which still recognizes openssl@1.1 and returns a prefix even though it isn’t installed. pkg-config then falls back to OpenSSL 3.6.0. On my other Mac, running Homebrew 7.0.12, the old formula lookup fails outright. That explains why I hadn’t hit this yet!

Comment thread CHANGELOG.md

#### Build against OpenSSL 3 on macOS

macOS builds now default to Homebrew's `openssl@3` instead of the removed `openssl@1.1`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can be more specific and tell existing runner owners to run brew install openssl@3? Some setups, including mine, install bench_runner from a branch on each run, so they can pick up changes automatically. The provisioning instructions cover new setups, but existing runners may need that extra step.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about 9c6b42e? To be honest, I think the best model here would be to use Ansible / Packer etc. We could also provide Brewfile? Not sure.

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the updated note looks good! I think introducing provisioning tooling would be a broader follow-up but I'm not sure that we want to go that route right now.

@savannahostrowski
savannahostrowski enabled auto-merge (squash) November 13, 2026 17:34
@savannahostrowski
savannahostrowski merged commit d1e009c into python:main Nov 13, 2026
6 checks passed
@maurycy
maurycy deleted the macos-openssl3 branch November 13, 2026 18:14
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.

2 participants