Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Feb 13, 2024

Airflow Sdist packages have been broken by #37340 and fixed by 37388, but we have not noticed it because CI check for sdist packages has been broken since #36537 where we standardized naming of the sdist packages to follow modern syntax (and we silently skipped installation because no providers were found),.

This PR fixes it:

  • changes the naming format expected to follow the new standard
  • treats "no providers found as error"

The "no providers" as success was useful at some point of time when we run sdist as part of regular PRs and some PRs resulted in "no providers changed" condition, however sdist verification only happens now in canary build (so all providers are affected) as well as we have if condition in the job itself to skip the step of installation if there are no providers.


^ 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.

Airflow Sdist packages have been broken by apache#37340 and fixed by 37388,
but we have not noticed it because CI check for sdist packages has
been broken since apache#36537 where we standardized naming of the sdist
packages to follow modern syntax (and we silently skipped installation
because no providers were found),.

This PR fixes it:

* changes the naming format expected to follow the new standard
* treats "no providers found as error"

The "no providers" as success was useful at some point of time when we
run sdist as part of regular PRs and some PRs resulted in "no providers
changed" condition, however sdist verification only happens now in
canary build (so all providers are affected) as well as we have if
condition in the job itself to skip the step of installation if there
are no providers.
@potiuk potiuk merged commit 9423585 into apache:main Feb 13, 2024
@potiuk potiuk deleted the fix-sdist-verification-in-ci branch February 13, 2024 23:05
potiuk added a commit that referenced this pull request Feb 14, 2024
Follow up after #37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in #37408 we can fix the failure and actually test it in
a "canary" PR.
potiuk added a commit that referenced this pull request Feb 14, 2024
Follow up after #37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in #37408 we can fix the failure and actually test it in
a "canary" PR.
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