Skip to content

Conversation

@amoghrajesh
Copy link
Contributor


^ 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 airflow-core/newsfragments.

@amoghrajesh
Copy link
Contributor Author

@ephraimbuddy I noticed this one today while testing the RC

Update distribution name in Airflow release instructions.
breeze release-management prepare-airflow-distributions --distribution-format both
breeze release-management prepare-task-sdk-distributions --distribution-format both
breeze release-management prepare-airflow-tarball --version ${VERSION} --distribution-name apache_airflow
breeze release-management prepare-airflow-tarball --version ${VERSION} --distribution-name airflow
Copy link
Member

Choose a reason for hiding this comment

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

What effect does this have on the wheel? What is it now with this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

apache_airflow isn't a valid option for --distribution-name, it prepares it rightly, as I tested today

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but what filename does it produce I mean?

Shouldn't this be apache-airflow or something? (We don't upload to PyPi as airflow)

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 should produce: apache-airflow-[version] tarball right?

➜  dist git:(retries-bug-dag) ✗ ls
apache_airflow_core-3.1.2-py3-none-any.whl     apache_airflow_task_sdk-1.1.2-py3-none-any.whl apache_airflow-3.1.2-py3-none-any.whl          apache-airflow-3.1.2-source.tar.gz
apache_airflow_core-3.1.2.tar.gz               apache_airflow_task_sdk-1.1.2.tar.gz           apache_airflow-3.1.2.tar.gz

Copy link
Member

Choose a reason for hiding this comment

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

The #57901 contains much more comprehensive improvements - there were a number of somewhat badly used flags there

The flag is now --tarball-type rather than distribution name.

The source tarballs are now produced with the right name and versions, and they are also easy to run locally without creating a tag first. also internal structure is as expected by the Apache Trusted Releases (see https://release-test.apache.org/finish/airflow-ctl/0.1.0) also opened few issues in ATR that need to be fixed:

And resulting first tasks in ATR are added now:

Copy link
Member

Choose a reason for hiding this comment

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

So this one is superseded by #57901

Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be apache-airflow or something? (We don't upload to PyPi as airflow)

Yep. that is exactly what --tarball-type is modelled for:

Screenshot 2025-11-06 at 00 48 05

It should be much cleaner and consistent now (and ATR ready 🤞 )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay thats nicer! Thanks

@potiuk potiuk closed this Nov 5, 2025
@potiuk potiuk deleted the my-change branch December 11, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants