github-actions[bot] opened a new pull request, #73223: URL: https://github.com/apache/airflow/pull/73223
The module-wide autouse fixture clears os.environ, so the retry tests handed a child interpreter an environment with nothing but AIRFLOW_HOME. A Python built with --enable-shared then cannot locate libpython unless LD_LIBRARY_PATH survives, which is exactly what actions/setup-python relies on outside /opt/hostedtoolcache. The tests only passed on GitHub-hosted runners because the hardcoded RPATH happened to resolve. Override the fixture for that class so the child inherits a real environment, and drop only the AIRFLOW_CLI_API_* knobs under test so a developer's shell cannot influence the result. (cherry picked from commit b6f61b5f859e3fe323829db6949814f9ce782766) Co-authored-by: Shahar Epstein <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
