Skip to content

Intel macOS standalone builds fail on Apple Silicon with cryptography 49.0.0 #535

Description

@victorlin

CI started failing 2 days ago in test-standalone / run-integration-tests, but only on Apple Silicon runners (macos-14, macos-15).

The failure is:

ImportError: dlopen(.../lib/cryptography/hazmat/bindings/_rust.abi3.so, ...):
Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib

The timing lines up with the release of cryptography 49.0.0, which differs from previous versions in that it does not come with macOS x86_64 wheels, intentionally. The Intel (x86_64) standalone build therefore no longer gets a portable wheel and instead records a local build-machine dylib path.

Possible solutions

  1. Temporarily pin cryptography <49.0.0 #536
  2. Drop testing for macOS x86 on aarch64 #537
  3. Adjust the PyOxidizer macOS build process to bundle or relink OpenSSL dylibs so source-built cryptography does not depend on Homebrew paths

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions