Skip to content

Commit b6846d1

Browse files
committed
chore(dependencies): fix hyperscan version to 0.2.0 so that it works with python 3.11
1 parent 4fc3f49 commit b6846d1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/actions/setup-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
using: "composite"
88
steps:
99
- name: Install 3rd party from apt
10-
run: sudo apt install e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover img2simg libhyperscan-dev zstd
10+
run: sudo apt install e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover img2simg libhyperscan5 libhyperscan-dev zstd
1111
shell: bash
1212

1313
- name: Install sasquatch

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2222
zlib1g-dev \
2323
libmagic1 \
2424
libhyperscan5 \
25+
libhyperscan-dev \
2526
zstd
2627
RUN curl -L -o sasquatch_1.0_amd64.deb https://github.com/onekey-sec/sasquatch/releases/download/sasquatch-v1.0/sasquatch_1.0_amd64.deb \
2728
&& dpkg -i sasquatch_1.0_amd64.deb \

poetry.lock

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ yaffshiv = { git = "https://github.com/onekey-sec/yaffshiv.git", rev = "24e6e453
2626
plotext = "^4.1.5"
2727
pluggy = "^1.0.0"
2828
python-magic = "^0.4.27"
29-
hyperscan = "^0.3.0"
29+
hyperscan = "0.2.0"
3030
lark = "^1.1.2"
3131
lz4 = "^4.0.0"
3232
lief = "^0.12.3"

0 commit comments

Comments
 (0)