From d3ddfe727e0789c97852800bb1f64d718ff818b3 Mon Sep 17 00:00:00 2001 From: "zhansheng.lzs" Date: Fri, 20 Nov 2026 13:55:37 +0800 Subject: [PATCH] fix(ci): pin cryptography 48.0.1 for CLI binary builds cryptography >=49 ships no macOS x86_64 wheel, so the Intel runner built it from sdist and PyInstaller bundled a mismatched libssl, crashing the binary with a missing SSL_get0_group_name symbol. 48.0.1 is the last universal2 wheel with statically linked OpenSSL. --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b88e1913..8598d59c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,11 @@ jobs: # expert/voice/camera extras (incl. the AgenticX agent) are intentionally # NOT bundled, so the bare-`dashscope` agent path is unavailable in the # binary by design; the v2 command tree is what ships. - - run: python -m pip install . "pyinstaller>=6.0" + # cryptography >=49 ships no macOS x86_64 wheel, forcing an sdist build + # on the Intel runner whose dynamically linked OpenSSL then mismatches + # the libssl PyInstaller bundles (missing SSL_get0_group_name). 48.0.1 + # is the last universal2 wheel with statically linked OpenSSL. + - run: python -m pip install . "pyinstaller>=6.0" "cryptography==48.0.1" - name: Build binary run: | pyinstaller \