发布

  • fix(release): cap cryptography below 49 to keep x86-64 macOS builds working (#2849)

    frostbyte_neo 发布于 2026-06-18 01:58:48 +00:00

    cryptography 49.0.0 dropped x86-64 macOS wheel support (pyca/cryptography
    #14738), so the frozen darwin-x64 release binary bundled a broken _openssl
    extension and crashed at startup on opensre --version — failing the daily
    Release on the macos-15-intel runner while every other platform (arm64 mac,
    linux, windows) kept passing. The bump was incidental: pyproject only had a
    cryptography>=48.0.1 lower bound, so uv lock opportunistically picked 49.

    Pin cryptography>=48.0.1,<49 (48.0.1 still ships macosx universal2 wheels)
    and regenerate the lock. Also harden the Unix smoke test so a crashing binary
    prints its stdout/stderr and exit status instead of having the output silently
    swallowed by set -e (which made this failure undiagnosable from CI logs).

    Co-authored-by: Cursor cursoragent@cursor.com

    下载附件