File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -249,14 +249,15 @@ def make_eval_script_list(self) -> list[str]:
249249 if "install" in specs and specs ["install" ] is not None :
250250 installs = specs ["install" ].split ("; " )
251251 for one in installs :
252- if one .startswith ("python -m pip install" ):
253- install = one .replace ("python -m " , "" )
252+ if "python -m pip install" in one :
253+ install = one .replace ("python -m " , "uv run python -m " )
254+ install = "uv pip install pip && " + install
254255 else :
255256 install = one
256257 if install .startswith ("pip" ):
257258 install = "uv " + install
258259 elif install .startswith ("python setup.py" ):
259- install = install .replace ("python " , "uv run " )
260+ install = install .replace ("python " , "uv run python " )
260261 results .append (install )
261262 eval_script_list = (
262263 [
You can’t perform that action at this time.
0 commit comments