Skip to content

Commit 2918a78

Browse files
authored
Merge pull request #853 from pavank63/add_prebuilt_wheels_update_index
fix: pre-built wheel indexing for local wheel server
2 parents 4014cde + 3973a63 commit 2918a78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fromager/bootstrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ def _download_prebuilt(
500500

501501
wheel_filename = wheels.download_wheel(req, wheel_url, self.ctx.wheels_prebuilt)
502502
unpack_dir = self._create_unpack_dir(req, resolved_version)
503+
# Update the wheel mirror so pre-built wheels are indexed
504+
# and available to subsequent builds that need them as dependencies
505+
server.update_wheel_mirror(self.ctx)
503506
return (wheel_filename, unpack_dir)
504507

505508
def _look_for_existing_wheel(

0 commit comments

Comments
 (0)