fix(standalone): pass --python to uv pip install to target project venv by jeremybeard · Pull Request #2029 · astronomer/astro-cli
marked this pull request as ready for review
When the CLI is launched from inside an activated venv (e.g. via `uv run`), the inherited VIRTUAL_ENV env var causes `uv pip install` to target the parent venv instead of the project's .venv, leaving .venv/bin/airflow missing. Pass --python .venv/bin/python explicitly to uv pip install commands so they always install into the project venv regardless of the parent environment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jeremybeard
changed the title
fix(standalone): strip VIRTUAL_ENV from env before uv commands
fix(standalone): pass --python to uv pip install to target project venv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters