Skip to content

Conversation

@github-actions
Copy link

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 d31e578)

Co-authored-by: Jarek Potiuk jarek@potiuk.com
Fixes: #56048

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 d31e578)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Fixes: #56048
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Nov 18, 2025
@potiuk potiuk marked this pull request as ready for review November 18, 2025 22:11
@potiuk potiuk merged commit b448261 into v3-1-test Nov 18, 2025
5 checks passed
@potiuk potiuk deleted the backport-d31e578-v3-1-test branch November 18, 2025 22:11
ephraimbuddy pushed a commit that referenced this pull request Nov 19, 2025
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 d31e578)


Fixes: #56048

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
ephraimbuddy pushed a commit that referenced this pull request Nov 19, 2025
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 d31e578)


Fixes: #56048

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
ephraimbuddy pushed a commit that referenced this pull request Nov 20, 2025
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 d31e578)


Fixes: #56048

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.4 milestone Dec 2, 2025
ephraimbuddy pushed a commit that referenced this pull request Dec 3, 2025
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 d31e578)


Fixes: #56048

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants