Skip to content

fix(ci): use supported Python for release builds - #720

Merged
clemensv merged 3 commits into
mainfrom
fix/release-python311-a392eeae
Nov 27, 2026
Merged

clemensv merged 3 commits into
mainfrom
fix/release-python311-a392eeae

Conversation

@clemensv

@clemensv clemensv commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The v0.11.2 Python Release run failed before building: setup-python has no Python 3.11.1 x64 build for Ubuntu 26.04.

Change

Select supported Python 3.11, as the PyPI publisher already does. Only this selector changes. Tag triggers, checkout, package and VSIX builds, and release assets remain unchanged.

Validation

  • git diff --check: passed.
  • Python/PyYAML comparison against HEAD: passed; the normalized workflow differs only in the Python selector.
  • Official setup-python manifest check: passed. Ubuntu 26.04 x64 builds exist for Python 3.11.15 through 3.11.18; 3.11.1 is absent.
  • Full local language suites: not rerun for this workflow-only change.
  • gh run view 46038053368 --repo xregistry/codegen --json headSha,status,conclusion,jobs: passed; all eight language suites succeeded at 027b42a07ecb5f71dea8f682b9945523218b882d.
  • gh pr checks 720 --repo xregistry/codegen --json name,bucket,state,workflow,link: passed at that head; nine successful checks including DCO, and one expected non-Dependabot skip.
  • gh api repos/xregistry/codegen/actions/runs/46043056135: passed; the combined head 06446e270b664f48671e708c12a88356873fa90a completed all eight language suites successfully.
  • gh api repos/xregistry/codegen/commits/06446e270b664f48671e708c12a88356873fa90a/check-runs: passed; all nine substantive checks succeeded, including DCO. The non-Dependabot auto-merge check was skipped as expected.
  • The branch protection requires an up-to-date head. Main subsequently accepted Confluent.Kafka 2.16.0 in chore(deps): Bump Confluent.Kafka from 2.15.0 to 2.16.0 #690 and Azure.Core 1.65.0 in chore(deps): Bump Azure.Core from 1.62.0 to 1.65.0 #685, reaching 79346711499835b9ee62ad4655c4d95856f1473f. A normal, non-rewriting merge produced head 67aee0ea22380326da5119440c01e2a0ff952e9f, tree 00e6120463e4dc49c42bbe0eeb7ac0f618f1f45e.
  • The Python/PyYAML comparison against that accepted main passed: the normalized workflow differs only in the release Python selector, and the accepted dependency XML is preserved. Both working-tree and staged git diff --check passed.
  • gh api repos/xregistry/codegen/actions/runs/46050099328/jobs: passed; all eight language suites succeeded at 67aee0ea22380326da5119440c01e2a0ff952e9f.
  • gh api repos/xregistry/codegen/commits/67aee0ea22380326da5119440c01e2a0ff952e9f/check-runs: passed; nine substantive checks succeeded, including DCO, with the expected non-Dependabot auto-merge skip.
  • Main stayed at 79346711499835b9ee62ad4655c4d95856f1473f through the complete qualification. Earlier heads were not substituted, no branch rule was bypassed or changed, and the maintainer's decision to leave dependency automation enabled was honored.
  • gh api repos/xregistry/codegen/actions/runs/46082932634/jobs: passed on tag v0.11.3 at accepted commit c48d405cd841483800a078da9a2c8aab3cd4d32a; supported Python setup, package build, extension packaging and release asset creation all succeeded.
  • gh api repos/xregistry/codegen/releases/tags/v0.11.3: passed; the published non-draft release contains the 0.11.3 wheel, source distribution and VSIX.

Release handling

The existing 0.11.2 tag and package remain unchanged. Fresh 0.11.3 CLI qualification is complete: all eight tag language suites passed in run 46082932709; actual PyPI upload, Python Release assets and versioned Docker build/sign/verify passed in runs 46082932789, 46082932634 and 46082932639.

The recovered upload artifacts match official PyPI hashes exactly: wheel 086867881ca793399f059d96f93a8dcf682f8a68e3ce84b077fa82a1ea8294d7, source distribution d83ab4c443a7bdf98307a40d6a732a697a64521c80e680d1a32d87d7c786ab58. The wheel imports and reports xrcg 0.11.3 from an isolated prefix with Avrotize 3.9.8 and native Proton 0.40.0; its declared dependencies pass pip check. Release assets are separately built and are not assumed byte-identical to PyPI distributions.

The maintainer selected CLI-only qualification. Marketplace publication is separately blocked by an expired publisher PAT in #721. Its failed workflow is retained unchanged; it is not reported as successful.

Python 3.11.1 is unavailable on Ubuntu 26.04. Use the supported
3.11 selector already used by the PyPI publisher.

Signed-off-by: Clemens Vasters <clemens@vasters.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Include the accepted Azure.Messaging.ServiceBus 7.21.0 dependency update
before qualifying the combined release tree. Preserve the one-line
Python selector fix.

Signed-off-by: Clemens Vasters <clemens@vasters.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Include the accepted Confluent.Kafka 2.16.0 and Azure.Core 1.65.0
dependency updates before qualifying the combined release tree.
Preserve the one-line Python selector fix and existing branch gates.

Signed-off-by: Clemens Vasters <clemens@vasters.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@clemensv
clemensv marked this pull request as ready for review November 27, 2026 22:55
@clemensv
clemensv merged commit c48d405 into main Nov 27, 2026
10 checks passed
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