Skip to content

Commit 4fb14a9

Browse files
committed
Update conda.py
1 parent 8b58149 commit 4fb14a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • .manager/src/pypackit/script/build

.manager/src/pypackit/script/build/conda.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ def update_channel_priority(requirement: str) -> None:
9393
update_channel_priority(req["value"])
9494
return sorted(channel_priority, key=channel_priority.get, reverse=True)
9595

96-
recipe = get_recipe(pkg_id=pkg)
97-
channels = get_channels(recipe)
96+
recipe_data = get_recipe(pkg_id=pkg)
97+
channels = get_channels(recipe_data)
9898
# Ensure the output folder exists
9999
output_dir = Path(output).resolve()
100100
output_dir.mkdir(parents=True, exist_ok=True)
@@ -107,7 +107,7 @@ def update_channel_priority(requirement: str) -> None:
107107
*_CMD_PREFIX,
108108
"conda",
109109
"build",
110-
str(Path(recipe["path"][recipe]).resolve()),
110+
str(Path(recipe_data["path"][recipe]).resolve()),
111111
"--output-folder",
112112
str(output_dir),
113113
"--stats-file",

0 commit comments

Comments
 (0)