Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 09c23d0

Browse files
committed
iscsi: add requests explictly
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
1 parent cbc80fd commit 09c23d0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/jumpstarter-driver-iscsi/jumpstarter_driver_iscsi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _get_src_and_operator(
104104
delete=False,
105105
) as tf:
106106
temp_path = tf.name
107-
with requests.get(file, stream=True, headers=header_map) as resp:
107+
with requests.get(file, stream=True, headers=header_map, timeout=60) as resp:
108108
resp.raise_for_status()
109109
for chunk in resp.iter_content(chunk_size=65536):
110110
if chunk:

packages/jumpstarter-driver-iscsi/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies = [
1212
"jumpstarter-driver-opendal",
1313
"click>=8.1.8",
1414
"rtslib-fb",
15+
"requests>=2.32.3"
1516
]
1617

1718
[tool.hatch.version]

0 commit comments

Comments
 (0)