Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Aug 12, 2024

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.
newsfragments/41395.significant.rst Outdated Show resolved Hide resolved
Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@kaxil kaxil merged commit 6b9b1b2 into apache:main Aug 12, 2024
40 of 41 checks passed
@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
96 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