Skip to content

Commit

Permalink
fix(build): preserve the index url options in requirements.txt file (#…
Browse files Browse the repository at this point in the history
…4914)

fix(build): reserve the index url options in requirements.txt file

Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming authored Aug 13, 2024
1 parent 6e7875a commit 9db7acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bentoml/_internal/bento/build_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ def write_to_bento(self, bento_fs: FS, build_ctx: str) -> None:
"--allow-unsafe",
"--no-header",
f"--output-file={pip_compile_out}",
"--resolver=backtracking",
"--emit-index-url",
"--emit-find-links",
"--no-annotate",
]
)
Expand Down

0 comments on commit 9db7acf

Please sign in to comment.