From 49ced2b38cc7b36746fb2db0b488dbc02699656d Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Fri, 21 Nov 2025 13:56:13 -0800 Subject: [PATCH 1/5] [ios performance] Temporarily use lief fork --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 691ff016..23272e6c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ cryptography>=45.0.7 datadog==0.52.1 google-api-core==2.25.1 google-api-python-client==2.181.0 -lief==0.17.1 +lief @ git+https://github.com/getsentry/LIEF.git@0.0.2#subdirectory=api/python lzfse>=0.4.2 pillow>=11.3.0 pillow_heif>=1.1.0 From 9f813a101493ca96f65eee0520d729bc6a7e2594 Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Fri, 21 Nov 2025 15:03:54 -0800 Subject: [PATCH 2/5] use it with wheels --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 23272e6c..224b1062 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +--find-links https://github.com/getsentry/LIEF/releases/download/0.0.2 + aiohttp>=3.12.15 asn1crypto>=1.5.0 build>=1.3.0 @@ -7,7 +9,7 @@ cryptography>=45.0.7 datadog==0.52.1 google-api-core==2.25.1 google-api-python-client==2.181.0 -lief @ git+https://github.com/getsentry/LIEF.git@0.0.2#subdirectory=api/python +lief==0.0.2 lzfse>=0.4.2 pillow>=11.3.0 pillow_heif>=1.1.0 From e979962bf7797316719fe117c3648069944fcbe1 Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Fri, 21 Nov 2025 15:13:20 -0800 Subject: [PATCH 3/5] try different url format --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 224b1062..5b0c7be7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ ---find-links https://github.com/getsentry/LIEF/releases/download/0.0.2 +--find-links https://github.com/getsentry/LIEF/releases/expanded_assets/0.0.2 aiohttp>=3.12.15 asn1crypto>=1.5.0 From 5fd8adb28e34d2dfdd58351f27efd7be70ed704f Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Fri, 21 Nov 2025 15:18:57 -0800 Subject: [PATCH 4/5] fix versioning --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5b0c7be7..886d10e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ ---find-links https://github.com/getsentry/LIEF/releases/expanded_assets/0.0.2 +--find-links https://github.com/getsentry/LIEF/releases/expanded_assets/1.0.0 aiohttp>=3.12.15 asn1crypto>=1.5.0 @@ -9,7 +9,7 @@ cryptography>=45.0.7 datadog==0.52.1 google-api-core==2.25.1 google-api-python-client==2.181.0 -lief==0.0.2 +lief==1.0.0.dev0 lzfse>=0.4.2 pillow>=11.3.0 pillow_heif>=1.1.0 From ab780359b5111d7695f4f3914fd458bc67460734 Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Fri, 21 Nov 2025 15:54:52 -0800 Subject: [PATCH 5/5] another tweak --- requirements.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 886d10e4..a2aca1c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,3 @@ ---find-links https://github.com/getsentry/LIEF/releases/expanded_assets/1.0.0 - aiohttp>=3.12.15 asn1crypto>=1.5.0 build>=1.3.0 @@ -9,7 +7,11 @@ cryptography>=45.0.7 datadog==0.52.1 google-api-core==2.25.1 google-api-python-client==2.181.0 -lief==1.0.0.dev0 + +# LIEF - use pre-built wheels from our fork +lief @ https://github.com/getsentry/LIEF/releases/download/1.0.0/lief-1.0.0.dev0-cp312-cp312-manylinux2014_aarch64.whl ; sys_platform == 'linux' and platform_machine == 'aarch64' +lief @ https://github.com/getsentry/LIEF/releases/download/1.0.0/lief-1.0.0.dev0-cp313-cp313-macosx_11_0_arm64.whl ; sys_platform == 'darwin' and platform_machine == 'arm64' +lief @ https://github.com/getsentry/LIEF/releases/download/1.0.0/lief-1.0.0.dev0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl ; sys_platform == 'linux' and platform_machine == 'x86_64' lzfse>=0.4.2 pillow>=11.3.0 pillow_heif>=1.1.0