Skip to content

Comments

Bump apache-airflow from 2.10.4 to 2.10.5#46769

Merged
potiuk merged 1 commit intomainfrom
dependabot/pip/apache-airflow-2.10.5
Feb 22, 2025
Merged

Bump apache-airflow from 2.10.4 to 2.10.5#46769
potiuk merged 1 commit intomainfrom
dependabot/pip/apache-airflow-2.10.5

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2025

Bumps apache-airflow from 2.10.4 to 2.10.5.

Release notes

Sourced from apache-airflow's releases.

Apache Airflow 2.10.5

Significant Changes

Ensure teardown tasks are executed when DAG run is set to failed (#45530)

Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure or other resources, they were also skipped and thus resources could stay allocated.

As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown tasks are executed. Teardown tasks are skipped if the setup was also skipped.

As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled if the DAG is directly set to "failed" or "success".

Bug Fixes

  • Prevent using trigger_rule=TriggerRule.ALWAYS in a task-generated mapping within bare tasks (#44751)
  • Fix ShortCircuitOperator mapped tasks (#44912)
  • Fix premature evaluation of tasks with certain trigger rules (e.g. ONE_DONE) in a mapped task group (#44937)
  • Fix task_id validation in BaseOperator (#44938) (#44938)
  • Allow fetching XCom with forward slash from the API and escape it in the UI (#45134)
  • Fix FileTaskHandler only read from default executor (#46000)
  • Fix empty task instance for log (#45702) (#45703)
  • Remove skip_if and run_if decorators before TaskFlow virtualenv tasks are run (#41832) (#45680)
  • Fix request body for json requests in event log (#45546) (#45560)
  • Ensure teardown tasks are executed when DAG run is set to failed (#45530) (#45581)
  • Do not update DR on TI update after task execution (#45348)
  • Fix object and array DAG params that have a None default (#45313) (#45315)
  • Fix endless sensor rescheduling (#45224) (#45250)
  • Evaluate None in SQLAlchemy's extended JSON type decorator (#45119) (#45120)
  • Allow dynamic tasks to be filtered by rendered_map_index (#45109) (#45122)
  • Handle relative paths when sanitizing URLs (#41995) (#45080)
  • Set Autocomplete Off on Login Form (#44929) (#44940)
  • Add Webserver parameters max_form_parts, max_form_memory_size (#46243) (#45749)
  • Fixed accessing thread local variable in BaseOperators execute safeguard mechanism (#44646) (#46280)
  • Add map_index parameter to extra links API (#46337)

Miscellaneous

  • Add traceback log output when SIGTERMs was sent (#44880) (#45077)
  • Removed the ability for Operators to specify their own "scheduling deps" (#45713) (#45742)
  • Deprecate conf from Task Context (#44993)
Changelog

Sourced from apache-airflow's changelog.

Airflow 2.10.5 (2025-02-10)

Significant Changes ^^^^^^^^^^^^^^^^^^^

Ensure teardown tasks are executed when DAG run is set to failed (#45530) """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure or other resources, they were also skipped and thus resources could stay allocated.

As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown tasks are executed. Teardown tasks are skipped if the setup was also skipped.

As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled if the DAG is directly set to "failed" or "success".

Bug Fixes """""""""

  • Prevent using trigger_rule=TriggerRule.ALWAYS in a task-generated mapping within bare tasks (#44751)
  • Fix ShortCircuitOperator mapped tasks (#44912)
  • Fix premature evaluation of tasks with certain trigger rules (e.g. ONE_DONE) in a mapped task group (#44937)
  • Fix task_id validation in BaseOperator (#44938) (#44938)
  • Allow fetching XCom with forward slash from the API and escape it in the UI (#45134)
  • Fix FileTaskHandler only read from default executor (#46000)
  • Fix empty task instance for log (#45702) (#45703)
  • Remove skip_if and run_if decorators before TaskFlow virtualenv tasks are run (#41832) (#45680)
  • Fix request body for json requests in event log (#45546) (#45560)
  • Ensure teardown tasks are executed when DAG run is set to failed (#45530) (#45581)
  • Do not update DR on TI update after task execution (#45348)
  • Fix object and array DAG params that have a None default (#45313) (#45315)
  • Fix endless sensor rescheduling (#45224) (#45250)
  • Evaluate None in SQLAlchemy's extended JSON type decorator (#45119) (#45120)
  • Allow dynamic tasks to be filtered by rendered_map_index (#45109) (#45122)
  • Handle relative paths when sanitizing URLs (#41995) (#45080)
  • Set Autocomplete Off on Login Form (#44929) (#44940)
  • Add Webserver parameters max_form_parts, max_form_memory_size (#46243) (#45749)
  • Fixed accessing thread local variable in BaseOperators execute safeguard mechanism (#44646) (#46280)
  • Add map_index parameter to extra links API (#46337)

Miscellaneous """""""""""""

  • Add traceback log output when SIGTERMs was sent (#44880) (#45077)

... (truncated)

Commits
  • b93c3db Update RELEASE_NOTES.rst
  • 37f6218 Update version to 2.10.5
  • dcf8650 Add map_index parameter to extra links API for Airflow 2.10 (#46337)
  • d60df2a [v2-10-test] Add Webserver parameters: max_form_parts, max_form_memory_size (...
  • 57adf0b Fixed thread local _sentinel.callers defect and added test cases (#44646) (#4...
  • a2f302d Issue deprecation warning for plugins registering ti_deps (#45742)
  • a5726a5 [v2-10-test] Upgrade uv and pip (#46078)
  • 7856983 [v2-10-test] Fix FileTaskHandler only read from default executor (#46000)
  • 80a1990 Remove Scarf tracking (#45865) (#45941)
  • 8017ca4 Add ready_for_review to workflow pull_request types (#45855) (#45906)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added area:dependencies Issues related to dependencies problems python Pull requests that update Python code labels Feb 14, 2025
Bumps [apache-airflow](https://github.com/apache/airflow) from 2.10.4 to 2.10.5.
- [Release notes](https://github.com/apache/airflow/releases)
- [Changelog](https://github.com/apache/airflow/blob/main/RELEASE_NOTES.rst)
- [Commits](2.10.4...2.10.5)

---
updated-dependencies:
- dependency-name: apache-airflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/apache-airflow-2.10.5 branch from 9e462af to b5206a2 Compare February 21, 2025 17:25
@potiuk potiuk merged commit 84d6a46 into main Feb 22, 2025
36 checks passed
@dependabot dependabot bot deleted the dependabot/pip/apache-airflow-2.10.5 branch February 22, 2025 19:19
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
Bumps [apache-airflow](https://github.com/apache/airflow) from 2.10.4 to 2.10.5.
- [Release notes](https://github.com/apache/airflow/releases)
- [Changelog](https://github.com/apache/airflow/blob/main/RELEASE_NOTES.rst)
- [Commits](apache/airflow@2.10.4...2.10.5)

---
updated-dependencies:
- dependency-name: apache-airflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dependencies Issues related to dependencies problems python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant