Skip to content

Conversation

@eladkal
Copy link
Contributor

@eladkal eladkal commented Apr 29, 2025

No description provided.

)
jinja_context["WITH_BREAKING_CHANGES"] = with_breaking_changes
jinja_context["MAYBE_WITH_NEW_FEATURES"] = maybe_with_new_features
jinja_context["MAYBE_WITH_CHANGE_MIN_AIRFLOW_VERSION"] = maybe_with_change_min_airflow_version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a print statement here to print the jinja_context once? It will be clear.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It evaluates to False this is the issue :)
I want it to be true when I select at least one PR with v

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah understood.

@amoghrajesh
Copy link
Contributor

@eladkal which command are you running with? Are you passing the flag: --only-min-version-update?

@eladkal
Copy link
Contributor Author

eladkal commented May 6, 2025

@eladkal which command are you running with? Are you passing the flag: --only-min-version-update?

No, the breeze release-management prepare-provider-documentation --only-min-version-update is for bumping the version. This is done separately from the release. For example #49843
There are no changes in the changelog.rst during this process.

This change is not related to the version bump. It's about standard release process with breeze release-management prepare-provider-documentation. The goal is when you mark one of the PRs with v it will just paste the static text in the change log.

@amoghrajesh
Copy link
Contributor

@eladkal which command are you running with? Are you passing the flag: --only-min-version-update?

No, the breeze release-management prepare-provider-documentation --only-min-version-update is for bumping the version. This is done separately from the release. For example #49843 There are no changes in the changelog.rst during this process.

This change is not related to the version bump. It's about standard release process with breeze release-management prepare-provider-documentation. The goal is when you mark one of the PRs with v it will just paste the static text in the change log.

Correct, but your code is relating the two. You pass the only-min-version-update as the value for maybe_with_change_min_airflow_version here: https://github.com/apache/airflow/pull/49932/files#diff-54ea68b5e1e61ac0437df0ab7d99dc508595323b11847a957931e0d9007962d7R864

You should instead calculate the maybe_with_change_min_airflow_version on the fly.

@eladkal
Copy link
Contributor Author

eladkal commented May 12, 2025

Closed in favor of #50476

@eladkal eladkal closed this May 12, 2025
@eladkal eladkal deleted the version branch May 12, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants