Repository navigation
Remove pre-commit from devel extra of Airflow - #44059
Merged
Merged
Conversation
potiuk
requested review from
ephraimbuddy,
gopidesupavan,
josh-fell and
kaxil
November 15, 2024 14:30
potiuk
force-pushed
the
remove-pre-commit-from-devel-deps
branch
from
November 15, 2024 14:32
4c9010f to
487d34d
Compare
potiuk
force-pushed
the
remove-pre-commit-from-devel-deps
branch
2 times, most recently
from
November 15, 2024 15:16
d4c57d7 to
61ec77f
Compare
Member
Author
|
created an issue for the TODO: #44062 |
kaxil
approved these changes
Nov 15, 2024
potiuk
force-pushed
the
remove-pre-commit-from-devel-deps
branch
from
November 15, 2024 15:43
61ec77f to
024af52
Compare
eladkal
approved these changes
Nov 15, 2024
Having pre-commit as devel dependency is not a good idea because it might conflict with the one installed globall when you install a local venv. Instead of installing it as a dependency, we install it separately in CI and CI image - together with UV and pre-comit-uv to make it fast and keep consistency and keep it in the same version in the development environment. We still have TODO to keep it synchronized and updated automatically in all places and in github action - that will be done in a separate PR.
potiuk
force-pushed
the
remove-pre-commit-from-devel-deps
branch
from
November 15, 2024 16:27
024af52 to
56d111f
Compare
hussein-awala
approved these changes
Nov 15, 2024
Member
Author
|
Merging. Those are intermittent issues only |
Contributor
Backport failed to create: v2-10-test. View the failure log Run details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Having pre-commit as devel dependency is not a good idea because it might conflict with the one installed globall when you install a local venv. Instead of installing it as a dependency, we install it separately in CI and CI image - together with UV and pre-comit-uv to make it fast and keep consistency and keep it in the same version in the development environment.
We still have TODO to keep it synchronized and updated automatically in all places and in github action - that will be done in a separate PR.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.