Pin cryptography<49 in builders host_dependencies.txt#24078
Open
Kyle-Neale wants to merge 2 commits into
Open
Conversation
cryptography 49.0.0 (released 2026-06-12) dropped its macosx_10_9_universal2 wheel and now only ships macosx_11_0_arm64 for macOS. The macos-x86_64 leg of resolve-build-deps runs on macos-14-large (Intel x86_64), so pip can't match the arm64-only wheel and falls back to building from sdist. The brew-wipe step in the workflow removes pkg-config and OpenSSL, so the Rust openssl-sys build script fails. host_dependencies.txt is management-tooling-only (google-cloud-storage pulls cryptography>=38.0.3 transitively); a pin here doesn't ship in any built wheel and keeps the brew-wipe step intact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Validation ReportAll 21 validations passed. Show details
|
aiuto
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds
cryptography<49to.builders/deps/host_dependencies.txtso theInstall management dependenciesstep in the macos-x86_64 leg ofresolve-build-depscontinues to install a cryptography release that ships an x86_64 macOS wheel.Motivation
On 2026-06-12 20:01 UTC, cryptography 49.0.0 was released and dropped its
macosx_10_9_universal2wheel, now shipping onlymacosx_11_0_arm64.whlfor macOS:host_dependencies.txtlistsgoogle-cloud-storage==2.14.0, which transitively requirescryptography>=38.0.3(unpinned). Pip resolves to the latest = 49.0.0. The macos-x86_64 matrix runs onmacos-14-large(Intel), can't match the arm64-only wheel, and falls back to building cryptography from sdist. The workflow'sbrew remove --force --ignore-dependencies $(brew list --formula)step then trips the Rustopenssl-sysbuild:This affects every PR that triggers the macos-x86_64 build matrix, including the bot's
Update dependenciesPR (#24041) and any PR that bumps direct deps so the gate's content-hash mismatches.Review checklist (to be filled by reviewers)
changelog/label attachedqa/skip-qalabel.