You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2025/09/03 07:05:31 UTC
[I] Emit warnings to not use certain reworked properties / methods in Airflow 3 [airflow]
amoghrajesh opened a new issue, #55208:
URL: https://github.com/apache/airflow/issues/55208
### Body
Below's a list of some modules / helpers etc, that were moved to internal directories and after Airflow 3 because it could be breaking changes. Some of these might not work as expected at all. So we need to emit better warnings instead of deprecation warnings here.
Adding check box to identify what needs those kind of warnings.
### airflow.utils.setup_teardown module
- [ ] `airflow.utils.setup_teardown.BaseSetupTeardownContext` → `airflow.sdk.definitions._internal.setup_teardown.BaseSetupTeardownContext`
- [ ] `airflow.utils.setup_teardown.SetupTeardownContext` → `airflow.sdk.definitions._internal.setup_teardown.SetupTeardownContext`
### airflow.utils.decorators module
- [ ] `airflow.utils.decorators.remove_task_decorator` → `airflow.sdk.definitions._internal.decorators.remove_task_decorator`
- [ ] `airflow.utils.decorators.fixup_decorator_warning_stack` → `airflow.sdk.definitions._internal.decorators.fixup_decorator_warning_stack`
### airflow.models.abstractoperator module
- [ ] `airflow.models.abstractoperator.AbstractOperator` → `airflow.sdk.definitions._internal.abstractoperator.AbstractOperator`
- [ ] `airflow.models.abstractoperator.NotMapped` → `airflow.sdk.definitions._internal.abstractoperator.NotMapped`
- [ ] `airflow.models.abstractoperator.TaskStateChangeCallback` → `airflow.sdk.definitions._internal.abstractoperator.TaskStateChangeCallback`
- [ ] `airflow.models.abstractoperator.DEFAULT_OWNER` → `airflow.sdk.definitions._internal.abstractoperator.DEFAULT_OWNER`
- [ ] `airflow.models.abstractoperator.DEFAULT_QUEUE` → `airflow.sdk.definitions._internal.abstractoperator.DEFAULT_QUEUE`
- [ ] `airflow.models.abstractoperator.DEFAULT_TASK_EXECUTION_TIMEOUT` → `airflow.sdk.definitions._internal.abstractoperator.DEFAULT_TASK_EXECUTION_TIMEOUT`
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Emit warnings to not use certain reworked properties / methods in Airflow 3 [airflow]
Posted by "Lee-W (via GitHub)" <gi...@apache.org>.
Lee-W commented on issue #55208:
URL: https://github.com/apache/airflow/issues/55208#issuecomment-3788731431
as the ruff thing is tracked in another issue, I'll remove myself from this one
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Emit warnings to not use certain reworked properties / methods in Airflow 3 [airflow]
Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh closed issue #55208: Emit warnings to not use certain reworked properties / methods in Airflow 3
URL: https://github.com/apache/airflow/issues/55208
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Emit warnings to not use certain reworked properties / methods in Airflow 3 [airflow]
Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on issue #55208:
URL: https://github.com/apache/airflow/issues/55208#issuecomment-4124342855
All of these were handled by kevin and wei via multiple PRs, most recent: https://github.com/astral-sh/ruff/pull/20173. Closing this issue with that
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org