File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments