Skip to content

Commit

Permalink
chore: Update yara and yara-python to 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipsotic authored May 13, 2024
1 parent ad8ba39 commit 81f0bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/install/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _install_plugins(distribution, skip_docker, only_docker=False):


def _install_yara():
yara_version = 'v4.4.0' # must be the same version as `yara-python` in `install/requirements_common.txt`
yara_version = 'v4.5.0' # must be the same version as `yara-python` in `install/requirements_common.txt`

yara_process = subprocess.run('yara --version', shell=True, stdout=PIPE, stderr=STDOUT, text=True, check=False)
if yara_process.returncode == 0 and yara_process.stdout.strip() == yara_version.strip('v'):
Expand Down
3 changes: 1 addition & 2 deletions src/install/requirements_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ rich==12.6.0
sqlalchemy==2.0.15
ssdeep==3.4
xmltodict==0.13.0
# FixMe: pin to 4.4.x as soon as it releases
git+https://github.com/VirusTotal/yara-python@d0921c0
yara-python==4.5.0

# Config validation
pydantic==2.4.0
Expand Down

0 comments on commit 81f0bda

Please sign in to comment.