Skip to content

Skip allowlisted non-PEP 440 docs versions when publishing docs to S3 - #76020

Open
jason810496 wants to merge 2 commits into
apache:mainfrom
jason810496:fix/breeze/skip-snapshot-docs-versions
Open

jason810496 wants to merge 2 commits into
apache:mainfrom
jason810496:fix/breeze/skip-snapshot-docs-versions

Conversation

@jason810496

@jason810496 jason810496 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Why

Staging the Java SDK 1.0.0-SNAPSHOT docs makes every staging docs publish exit 1, because packaging.version.Version rejects Maven -SNAPSHOT folders.

What

  • Add PACKAGES_METADATA_EXCLUDE_VERSIONS, an allowlist of exact package/version folders to skip. Any other invalid version still fails the job.
  • Leave out a package with no released version left, instead of failing with IndexError.

Was generative AI tooling used to co-author this PR?

@jason810496 jason810496 changed the title Skip Maven snapshot versions when listing published docs versions Skip allowlisted non-PEP 440 docs versions when publishing docs to S3 Oct 30, 2026
jason810496 and others added 2 commits October 30, 2026 09:18
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant