File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -438,8 +438,8 @@ def build(options: Options, tmp_path: Path) -> None:
438438 constraints_path = build_options .dependency_constraints .get_for_python_version (
439439 version = config .version , tmp_dir = identifier_tmp_dir
440440 )
441- dependency_constraint_flags : Sequence [ PathOrStr ] = (
442- ["-c" , constraints_path ] if constraints_path else []
441+ dependency_constraint_flags = (
442+ ["-c" , constraints_path . as_uri () ] if constraints_path else []
443443 )
444444
445445 base_python , env = setup_python (
Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ def build(options: Options, tmp_path: Path) -> None:
269269 constraints_path = build_options .dependency_constraints .get_for_python_version (
270270 version = config .version , variant = "pyodide" , tmp_dir = identifier_tmp_dir
271271 )
272- dependency_constraint_flags : Sequence [ PathOrStr ] = (
273- ["-c" , constraints_path ] if constraints_path else []
272+ dependency_constraint_flags = (
273+ ["-c" , constraints_path . as_uri () ] if constraints_path else []
274274 )
275275
276276 env = setup_python (
Original file line number Diff line number Diff line change @@ -370,8 +370,8 @@ def build(options: Options, tmp_path: Path) -> None:
370370 version = config .version ,
371371 tmp_dir = identifier_tmp_dir ,
372372 )
373- dependency_constraint_flags : Sequence [ PathOrStr ] = (
374- ["-c" , constraints_path ] if constraints_path else []
373+ dependency_constraint_flags = (
374+ ["-c" , constraints_path . as_uri () ] if constraints_path else []
375375 )
376376
377377 # install Python
You can’t perform that action at this time.
0 commit comments