Skip to content

Commit 42b84a4

Browse files
matteiusoz123
authored andcommitted
Use up to 5 resume retries
1 parent d700340 commit 42b84a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipenv/utils/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ def determine_package_name(package: InstallRequirement):
800800
local_file = unpack_url(
801801
link=package.link,
802802
location=td,
803-
download=Downloader(session, "off", resume_retries=0),
803+
download=Downloader(session, "off", resume_retries=5),
804804
verbosity=1,
805805
)
806806
if local_file.path.endswith(".whl") or local_file.path.endswith(".zip"):

0 commit comments

Comments
 (0)