Overcoming Custom Python Package Hurdles in Airflow
summary
Proposes a microservice that builds a global python environment per Airflow deployment by generating requirements.txt, creating a version-compatible pyenv, storing the built environment on a file share, then pausing schedules, mounting it into scheduler/webserver/API containers and restarting. Uses pip auth for private repos, a state‑machine rollback on failures, and avoids baking images. Demo runs a stock DAG that installs ymail at runtime and sends an SMTP email successfully, with planned moves to cloud storage and prebuilt runtimes.
AI-written summary · about
