github-actions[bot] opened a new pull request, #58458: URL: https://github.com/apache/airflow/pull/58458
We have inline project metadata in the prek hooks, and that means that each of the scripts will use their own venv to roon. However Airflow code and libraries does not support Python 3.14 yet (and will not for quite a while - because our dependencies will need time to catch-up. In the meantime we have to limit prek hooks to not install Python 3.14. Actually in order to have good stability, we are fine to limiting EVERYONE to use Python 3.10 for prek. There are no real benefits from using a different Python version (except maybe a little speed but prek-hooks are generally rather fast anyway) and we can definitely benefit from better stability and having exactly the same output for prek hooks by everyone. Uv will handle installation of the right python version automatically. (cherry picked from commit d31e5785fa1b5aec97083766dc9a5b441dd0642a) Co-authored-by: Jarek Potiuk <[email protected]> Fixes: #56048 -- 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]
