Skip to content

Commit

Permalink
Do not install requirements as part of the action
Browse files Browse the repository at this point in the history
Remove workaround for
  • Loading branch information
jbusecke authored Mar 18, 2024
1 parent 3c00279 commit 792f88d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions action/deploy_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ def main():
if "BaseCommand" in config and "feedstock_subdir" in config["BaseCommand"]
else "feedstock"
)
# because we've run the actions/checkout step before reaching this point, our current
# working directory is the root of the feedstock repo, so we can list feedstock repo
# contents directly on the filesystem here, without requesting it from github.
if "requirements.txt" in os.listdir(feedstock_subdir):
call_subprocess_run(
f"python3 -m pip install -Ur {feedstock_subdir}/requirements.txt".split()
)

with tempfile.NamedTemporaryFile("w", suffix=".json") as f:
json.dump(config, f)
Expand Down

0 comments on commit 792f88d

Please sign in to comment.