fix: add include/ to PYTHONPATH in standalone mode by jlaneve · Pull Request #2060 · astronomer/astro-cli

@jlaneve @claude

Standalone mode's buildEnv() did not set PYTHONPATH to include the
project's include/ directory. In Docker mode the Astronomer runtime
image bakes /usr/local/airflow/include into PYTHONPATH, but standalone
had no equivalent — causing import failures for any user modules in
include/ during pytest, parse, and start.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

jeremybeard

@jlaneve jlaneve deleted the fix/standalone-pytest-pythonpath-include branch

March 26, 2026 18:28