Skip to content

Conversation

timsaucer
Copy link
Member

@timsaucer timsaucer commented Aug 30, 2025

Which issue does this PR close?

None

Rationale for this change

Currently we are generating warnings in our site documentation generation. This can lead to poor site building, as the documentation should always build cleanly. This sets warnings to generate an error so the CI pipeline will fail.

What changes are included in this PR?

  • Sets warnings to error the pipeline
  • Fix the current warnings
  • Reduced duplicate building of docs
  • Moved workflow into the build stage to reuse a built wheel. This means one less build of the entire repo.

Are there any user-facing changes?

No

@timsaucer
Copy link
Member Author

Demonstration of pipeline failure due to warnings: https://github.com/apache/datafusion-python/actions/runs/17344563181/job/49242828100?pr=1218

I'll now correct the warnings to get CI in the green

@timsaucer timsaucer marked this pull request as ready for review August 30, 2025 16:08
… now that the setting is correct to turn warnings into errors
@timsaucer timsaucer merged commit f0bbad7 into apache:main Sep 2, 2025
16 checks passed
@timsaucer timsaucer deleted the ci/sphynx-warnings-as-errors branch September 2, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant