Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sdist verification in CI after we standardized packaging #37406

Merged
merged 1 commit into from
Feb 13, 2024

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
23 of 67 checks passed
@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.
sunank200 pushed a commit to astronomer/airflow that referenced this pull request Feb 21, 2024
…37406)

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.
sunank200 pushed a commit to astronomer/airflow that referenced this pull request Feb 21, 2024
Follow up after apache#37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in apache#37408 we can fix the failure and actually test it in
a "canary" PR.
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
…37406)

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.
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
Follow up after apache#37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in apache#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