Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statically linked 'yara.cpython-312-darwin.so' on ARM is not linked against SSL so no hash available #268

Open
ostefano opened this issue Mar 3, 2025 · 0 comments

Comments

@ostefano
Copy link

ostefano commented Mar 3, 2025

The wheel published on PyPI for yara-python on Mac OS ARM has a statically linked yara that is not compiled against SSL.
As a result I can not use/compile rules that rely on the "hash" module.
The size of the wheels is telling:

[yara_python-4.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ](https://files.pythonhosted.org/packages/b1/cd/1a6a0b8d70cb4b117d6aeb3e62b41ab85ab46717a15c74aa615e2beeb4fa/yara_python-4.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl)(2.3 MB [view details](https://pypi.org/project/yara-python/#yara_python-4.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl))
Uploaded May 27, 2024 CPython 3.12 manylinux: glibc 2.17+ x86-64

[yara_python-4.5.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl ](https://files.pythonhosted.org/packages/20/60/7fe2cf48d8478774b15d049eccf5f7a76b40d0dc158d500c836d4e4a0e63/yara_python-4.5.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl)(2.3 MB [view details](https://pypi.org/project/yara-python/#yara_python-4.5.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl))
Uploaded May 27, 2024 CPython 3.12 manylinux: glibc 2.17+ i686

[yara_python-4.5.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl ](https://files.pythonhosted.org/packages/41/14/af54ca86186aa265a4c722324f1f0aca8dd5fdef59ff9c9a81c8679bc3ed/yara_python-4.5.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl)(2.2 MB [view details](https://pypi.org/project/yara-python/#yara_python-4.5.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl))
Uploaded May 27, 2024 CPython 3.12 manylinux: glibc 2.17+ ARM64

[yara_python-4.5.1-cp312-cp312-macosx_10_9_x86_64.whl ](https://files.pythonhosted.org/packages/97/57/8cdb21d9c5fe049885cce8fdad02a79200533ffe64bb3a2f9c90affac274/yara_python-4.5.1-cp312-cp312-macosx_10_9_x86_64.whl)(2.1 MB [view details](https://pypi.org/project/yara-python/#yara_python-4.5.1-cp312-cp312-macosx_10_9_x86_64.whl))
Uploaded May 27, 2024 CPython 3.12 macOS 10.9+ x86-64

[yara_python-4.5.1-cp312-cp312-macosx_10_9_universal2.whl ](https://files.pythonhosted.org/packages/68/69/847b0699c64beaea8de549ef806064420df54cf58e94fcd2f651d9963b7a/yara_python-4.5.1-cp312-cp312-macosx_10_9_universal2.whl)(414.6 kB [view details](https://pypi.org/project/yara-python/#yara_python-4.5.1-cp312-cp312-macosx_10_9_universal2.whl))
Uploaded May 27, 2024 CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

I know that I can build the library myself, but in some contexts (i.e., corporate CI/CD), it's really important to rely on wheels and avoid compilations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant