Skip to content

Comments

Remove deprecations from airflow.executors & airflow.utils#41395

Merged
kaxil merged 3 commits intoapache:mainfrom
astronomer:new-utils
Aug 12, 2024
Merged

Remove deprecations from airflow.executors & airflow.utils#41395
kaxil merged 3 commits intoapache:mainfrom
astronomer:new-utils

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Aug 12, 2024

Remove deprecated features in preparation for Airflow 3.0

  • Removed UNPICKLEABLE_EXECUTORS from airflow.executors.executor_loader.
  • Removed test_cycle function from airflow.utils.dag_cycle_tester.
  • Removed TemporaryDirectory function from airflow.utils.file.
  • Removed mkdirs function from airflow.utils.file.
  • Removed SHUTDOWN state and terminating_states constant from airflow.utils.state.

These deprecated features were previously marked for removal and are no longer needed.


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:Executors-core LocalExecutor & SequentialExecutor label Aug 12, 2024
@kaxil kaxil added the airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes label Aug 12, 2024
@kaxil kaxil added this to the Airflow 3.0.0 milestone Aug 12, 2024
@kaxil kaxil requested a review from Lee-W August 12, 2024 01:51
Remove deprecated features in preparation for Airflow 3.0

- Removed `UNPICKLEABLE_EXECUTORS` from `airflow.executors.executor_loader`.
- Removed `test_cycle` function from `airflow.utils.dag_cycle_tester`.
- Removed `TemporaryDirectory` function from `airflow.utils.file`.
- Removed `mkdirs` function from `airflow.utils.file`.
- Removed `SHUTDOWN` state and `terminating_states` constant from `airflow.utils.state`.

These deprecated features were previously marked for removal and are no longer needed.
@kaxil kaxil merged commit 6b9b1b2 into apache:main Aug 12, 2024
@kaxil kaxil deleted the new-utils branch August 12, 2024 10:34
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Aug 20, 2024
…e#41395)

Remove deprecated features in preparation for Airflow 3.0

- Removed `UNPICKLEABLE_EXECUTORS` from `airflow.executors.executor_loader`.
- Removed `test_cycle` function from `airflow.utils.dag_cycle_tester`.
- Removed `TemporaryDirectory` function from `airflow.utils.file`.
- Removed `mkdirs` function from `airflow.utils.file`.
- Removed `SHUTDOWN` state and `terminating_states` constant from `airflow.utils.state`.

These deprecated features were previously marked for removal and are no longer needed.
@Lee-W Lee-W mentioned this pull request Nov 18, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes area:Executors-core LocalExecutor & SequentialExecutor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants