refactor(utils/decorators): rewrite remove task decorator to use cst#43383
Merged
Lee-W merged 10 commits intoapache:mainfrom Feb 7, 2025
Merged
refactor(utils/decorators): rewrite remove task decorator to use cst#43383Lee-W merged 10 commits intoapache:mainfrom
Lee-W merged 10 commits intoapache:mainfrom
Conversation
991cccc to
4e926d5
Compare
d5e6684 to
606b2ea
Compare
josix
commented
Oct 25, 2024
1ec8a0a to
28d8f2c
Compare
Lee-W
reviewed
Nov 26, 2024
Member
Lee-W
left a comment
There was a problem hiding this comment.
As we decide to use CST, just mark it as draft
28d8f2c to
2a82c10
Compare
2a82c10 to
f2cbefa
Compare
292076c to
066d757
Compare
josix
commented
Jan 27, 2025
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
066d757 to
324301b
Compare
Contributor
Author
Lee-W
reviewed
Feb 3, 2025
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
6631ea8 to
bc09e4b
Compare
Lee-W
reviewed
Feb 4, 2025
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
Lee-W
approved these changes
Feb 5, 2025
Member
Lee-W
left a comment
There was a problem hiding this comment.
Nice work! left some nits. I'll keep this open for a few days so others can take a lot. if no one object, I'll merge it in 1 or 2 days
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
e7feec6 to
696e0ea
Compare
potiuk
approved these changes
Feb 6, 2025
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
…thon_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
6df6641 to
31868ea
Compare
niklasr22
pushed a commit
to niklasr22/airflow
that referenced
this pull request
Feb 8, 2025
…pache#43383) * refactor(utils/decorators): rewrite remove task decorator to use ast * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * Update providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
ambika-garg
pushed a commit
to ambika-garg/airflow
that referenced
this pull request
Feb 17, 2025
…pache#43383) * refactor(utils/decorators): rewrite remove task decorator to use ast * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * Update providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
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.
due to #42766 the dropping of python3.8 support, I rewrite the
remove_task_decoratorto achieve the same purpose through CST.TODO:
^ 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.