Skip to content

Commit 2fcb736

Browse files
alexrashedclaude
andauthored
ci: upgrade OpenSSL on macOS runners before building (#55)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8d971dc commit 2fcb736

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ jobs:
4545
with:
4646
python-version-file: .python-version
4747

48+
- name: Pin cryptography on macOS Intel
49+
# cryptography 49+ dropped macOS x86_64 wheel support and uses AWS-LC as its
50+
# Rust backend, producing a _rust.abi3.so that references _SSL_get0_group_name
51+
# — a symbol absent from the standard OpenSSL libssl.3.dylib that PyInstaller
52+
# bundles. Constrain to <49 to get the last universal2 wheel with bundled OpenSSL.
53+
if: matrix.runner == 'macos-15-intel'
54+
run: |
55+
echo "cryptography<49" > "$RUNNER_TEMP/constraints.txt"
56+
echo "PIP_CONSTRAINT=$RUNNER_TEMP/constraints.txt" >> "$GITHUB_ENV"
57+
4858
# Add a retry to avoid issues when this action is running
4959
# right after the package is published on PyPi
5060
# (and might not be distributed in the CDN yet)

0 commit comments

Comments
 (0)