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

Update flake.lock #704

Merged
merged 26 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3cf79a0
flake.lock: Update
github-actions[bot] Jan 14, 2024
3773731
flake.lock: Update
qkaiser Jan 16, 2024
545ea6d
flake.lock: Update
qkaiser Jan 18, 2024
662d56b
chore(deps): poetry lock
qkaiser Jan 18, 2024
13a6d30
chore(deps): upgrade pyperscan to 0.3.0
qkaiser Jan 18, 2024
e1adf83
chore(deps): upgrade click to 8.1.7
qkaiser Jan 18, 2024
928c4b0
chore(deps): upgrade attrs to 23.1.0
qkaiser Jan 18, 2024
eb26195
chore(deps): upgrade arpy to 2.3.0
qkaiser Jan 18, 2024
50b9729
chore(deps): upgrade rarfile to 4.1
qkaiser Jan 18, 2024
6fb538d
chore(deps): upgrade pluggy to 1.3.0
qkaiser Jan 18, 2024
5d56ef6
chore(deps): upgrade lark to 1.1.8
qkaiser Jan 20, 2024
b78f897
chore(deps): upgrade lz4 to 4.3.2
qkaiser Jan 20, 2024
75c6e9e
chore(deps): upgrade treelib to 1.7.0
qkaiser Jan 18, 2024
2d7ca4a
chore(deps): upgrade unblob-native to 0.1.1
qkaiser Jan 18, 2024
802674d
chore(deps): upgrade pytest to 7.4.4
qkaiser Jan 18, 2024
b0c05ef
chore(deps): upgrade pyright to 1.1.347
qkaiser Jan 18, 2024
534bd68
chore(deps): upgrade pre-commit to 3.5.0
qkaiser Jan 18, 2024
74223b9
chore(deps): upgrade ruff to 0.1.13
qkaiser Jan 18, 2024
1b0c69e
chore(deps): upgrade mkdocs-material to 9.5.4
qkaiser Jan 18, 2024
72cd249
chore(deps): upgrade mkdocstring to 0.24.0
qkaiser Jan 18, 2024
e873304
chore(deps): upgrade cairosvg to 2.7.1
qkaiser Jan 18, 2024
5d78603
chore(deps): upgrade mkdocstring-python to 1.8.0
qkaiser Jan 18, 2024
370bcef
chore(deps): upgrade pillow to 10.2.0
qkaiser Jan 18, 2024
8a47cac
chore(deps): upgrade cryptography to 41.0
qkaiser Jan 18, 2024
82ade0d
chore(deps): relax python runtime dependency checking for lief.
qkaiser Jan 20, 2024
9c687c5
flake.lock: Update
qkaiser Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nix/unblob/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ let

pythonRelaxDeps = [
"dissect.cstruct"
"lief"
"structlog"
];

Expand Down
1,487 changes: 872 additions & 615 deletions poetry.lock

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ packages = [

[tool.poetry.dependencies]
python = "^3.8"
click = "^8.1.3"
click = "^8.1.7"
"dissect.cstruct" = "^2.0"
attrs = ">=22.2.0"
structlog = ">=21.2.0"
arpy = "^2.2.0"
rarfile = "^4.0"
attrs = ">=23.1.0"
structlog = ">=24.1.0"
arpy = "^2.3.0"
rarfile = "^4.1"
ubi-reader = "^0.8.9"
plotext = ">=4.2.0,<6.0"
pluggy = "^1.0.0"
pluggy = "^1.3.0"
python-magic = "^0.4.27"
pyperscan = "^0.2.2"
lark = "^1.1.2"
lz4 = "^4.0.0"
pyperscan = "^0.3.0"
lark = "^1.1.8"
lz4 = "^4.3.2"
lief = "^0.12.3"
cryptography = ">=39.0,<42.0"
treelib = "^1.6.1"
unblob-native = "^0.1.0"
cryptography = ">=41.0,<42.0"
treelib = "^1.7.0"
unblob-native = "^0.1.1"
jefferson = "^0.4.5"
rich = "^13.3.5"
pyfatfs = "^1.0.5"
Expand All @@ -35,22 +35,22 @@ pyfatfs = "^1.0.5"
optional = true

[tool.poetry.group.dev.dependencies]
pytest = "^6.2.4"
pyright = "^1.1.307"
pre-commit = "^2.15.0"
pytest = "^7.4.4"
pyright = "^1.1.347"
pre-commit = "^3.5.0"
pytest-cov = "^3.0.0"
ruff = "^0.0.259"
ruff = "^0.1.13"
pyyaml = "^6.0.1"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
mkdocs-material = "8.5.10"
mkdocstrings = "^0.19.1"
pillow = ">=9.4,<11.0"
cairosvg = "^2.7.0"
mkdocstrings-python = "^0.8.3"
mkdocs-material = "9.5.4"
mkdocstrings = "^0.24.0"
pillow = ">=10.2.0,<11.0"
cairosvg = "^2.7.1"
mkdocstrings-python = "^1.8.0"

[tool.poetry.scripts]
unblob = "unblob.cli:main"
Expand Down Expand Up @@ -157,6 +157,7 @@ exclude = ["unblob/testing.py"]

[tool.pyright]
exclude = ["build"]
typeCheckingMode = "basic"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def on_match(m, pattern_id, start, end):
m.append((pattern_id, start, end))
return Scan.Continue

db.build(matches, on_match).scan(b"A123456789BB")
db.build(matches, on_match).scan(b"A123456789BB") # type: ignore

assert len(matches) == 2
assert matches[0][1] == 0
Expand Down
2 changes: 1 addition & 1 deletion unblob/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def search_chunks(
start_offset=0,
)

scanner = hyperscan_db.build(hyperscan_context, _hyperscan_match)
scanner = hyperscan_db.build(hyperscan_context, _hyperscan_match) # type: ignore

try:
stream_scan_chunks(scanner, file, hyperscan_context)
Expand Down
2 changes: 1 addition & 1 deletion unblob/handlers/archive/qnap/qnap_nas.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]
context = QTSSearchContext(start_offset=start_offset, file=file, end_offset=-1)

try:
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match)
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match) # type: ignore
stream_scan(scanner, file)
except Exception as e:
logger.debug(
Expand Down
2 changes: 1 addition & 1 deletion unblob/handlers/compression/bzip2.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]
)

try:
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match)
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match) # type: ignore
stream_scan(scanner, file)
except Exception as e:
logger.debug(
Expand Down
2 changes: 1 addition & 1 deletion unblob/handlers/compression/xz.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]
)

try:
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match)
scanner = hyperscan_stream_end_magic_db.build(context, _hyperscan_match) # type: ignore
stream_scan(scanner, file)
except Exception as e:
logger.debug(
Expand Down
Loading