avast / avast/yls

Failing to install fixed version on Darwin

Open
#80 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
75
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/mason-org/mason-registry/actions/runs/4554143017/jobs/8264780394). 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 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`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `pip install yls-yara==1.3.3` on Darwin and inspect the dependency metadata for `yls-yara`, `yls`, `yara-python`, `yaramod`, and `yari-py`. Compare the metadata with the versions available for macOS. Done means newer `yls-yara` versions install successfully on Darwin without the reported `yari-py` resolution failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.