Skip to content

Commit dcbf802

Browse files
committed
upgrade yara version
1 parent 780d1e5 commit dcbf802

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/install/backend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _install_plugins(distribution, skip_docker, only_docker=False):
120120

121121

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

125125
yara_process = subprocess.run('yara --version', shell=True, stdout=PIPE, stderr=STDOUT, text=True)
126126
if yara_process.returncode == 0 and yara_process.stdout.strip() == yara_version.strip('v'):

src/install/requirements_common.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ rich==12.6.0
1919
sqlalchemy==2.0.15
2020
ssdeep==3.4
2121
xmltodict==0.13.0
22-
yara-python==4.2.3
22+
# FixMe: pin to 4.4.x as soon as it releases
23+
git+https://github.com/VirusTotal/yara-python@d0921c0
2324

2425
# Config validation
2526
pydantic==2.1.1

0 commit comments

Comments
 (0)