From 5dcb6cce912fc1de849214404af98c84cd9e428c Mon Sep 17 00:00:00 2001 From: Ephraim Anierobi Date: Mon, 10 Nov 2025 17:59:14 +0100 Subject: [PATCH] [v3-1-test] Update Release instruction to include Task SDK version update (#58134) * Update Release instruction to include Task SDK version update This PR updates the release branch to include task-sdk version update when doing a new release. Also updates how we sync test branch for a new release * fixup! Update Release instruction to include Task SDK version update * Update dev/README_RELEASE_AIRFLOW.md (cherry picked from commit 096023d088d358ca0bc008469ee544654d2caced) Co-authored-by: Ephraim Anierobi --- dev/README_RELEASE_AIRFLOW.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md index c31e2b72c4cbb..9eae6add677f1 100644 --- a/dev/README_RELEASE_AIRFLOW.md +++ b/dev/README_RELEASE_AIRFLOW.md @@ -310,7 +310,18 @@ uv tool install -e ./dev/breeze git reset --hard origin/v${VERSION_BRANCH}-test ``` -- Set your version in `airflow/__init__.py` (without the RC tag). +- Create a new branch from v${VERSION_BRANCH}-test + + ```shell script + git checkout -b ${SYNC_BRANCH} + ``` + + We sync this new branch to the stable branch so that people would continue to backport PRs to the test branch + while the RC is being voted. The new branch must be in sync with where you cut it off from the test branch. + +- Set the Airflow version in `airflow-core/src/airflow/__init__.py` (without the RC tag). +- Set the Task SDK version in `task-sdk/src/airflow/sdk/__init__.py` (without the RC tag) +- Update the Task SDK version `>=` part in `airflow-core/pyproject.toml` to `==` TASK_SDK_VERSION without RC - Run `git commit` without a message to update versions in `docs`. - Add supported Airflow version to `./scripts/ci/prek/supported_versions.py` and let prek do the job again. - Replace the versions in `README.md` about installation and verify that installation instructions work fine.