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

Failing to install fixed version on Darwin #80

Open
williamboman opened this issue Apr 11, 2023 · 3 comments
Open

Failing to install fixed version on Darwin #80

williamboman opened this issue Apr 11, 2023 · 3 comments

Comments

@williamboman
Copy link

williamboman commented Apr 11, 2023

Hello! I'm experiencing issues installing newer versions of yls-yara via pip on Darwin (macOS) systems. I can reproduce this locally as well as on GitHub runners. The pip install logs are:

Collecting yls-yara==1.3.3
  Downloading yls_yara-1.3.3-py3-none-any.whl (4.6 kB)
Collecting yara-python<5.0.0,>=4.2.0
  Downloading yara-python-4.3.0.tar.gz (537 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 538.0/538.0 kB 20.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting yls<2.0.0,>=1.3.3
  Downloading yls-1.3.3-py3-none-any.whl (34 kB)
Collecting pluggy<2.0.0,>=1.0.0
  Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting yaramod<4.0.0,>=3.19.1
  Downloading yaramod-3.19.1.tar.gz (878 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 878.5/878.5 kB 33.9 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
INFO: pip is looking at multiple versions of yara-python to determine which version is compatible with other requirements. This could take a while.
Collecting yara-python<5.0.0,>=4.2.0
  Downloading yara-python-4.2.3.tar.gz (457 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 457.2/457.2 kB 34.0 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of yls-yara to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement yari-py<0.2.0,>=0.1.6 (from yls) (from versions: none)
ERROR: No matching distribution found for yari-py<0.2.0,>=0.1.6

I'm at a loss as to why this is happening, but I figured this would be a good place to start.

The latest version that is installable is 0.10.0.

@MatejKastak
Copy link
Member

Hi, currently we don't have a pipeline for building avast/yari on Darwin. I will try to look into it, if its possible.

Reference: avast/yari#14

@ssnkhan
Copy link

ssnkhan commented May 17, 2023

I suspect the issues I am seeing trying to get this to work on an Ubuntu VM on a Apple Silicon Mac relate to the same issue.

@MatejKastak
Copy link
Member

It is likely, especially if the VM is not emulating x86 architecture, but using the native arm architecture. You should be able to double-check by running uname -a in the VM.

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

No branches or pull requests

3 participants