Skip to content

ci(release): fix the darwin-arm64 runner and the Docker base image - #219

Merged
vsn411 merged 1 commit into
mainfrom
fix-release-0.3.2
Nov 29, 2026
Merged

vsn411 merged 1 commit into
mainfrom
fix-release-0.3.2

Conversation

@vsn411

@vsn411 vsn411 commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

The v0.3.2 Release run published to PyPI, but two jobs failed:

  • Build binary (darwin-arm64) asked for macos-14, which is retired, so it was cancelled before it started. Because of that, Create GitHub Release was skipped.
  • Publish Docker image (GHCR) failed: the base had been bumped to python:3.15-slim, where dependencies such as zstandard have no wheels and the slim image has no compiler.

Changes:

  • darwin-arm64 builds on macos-15, as ci.yml already does.
  • Dockerfile goes back to python:3.12-slim (pinned by digest), the version CI tests and the binaries bundle. Dependabot now proposes only digest and patch updates for it.
  • The Docker job builds from the workflow's own commit, not the tag. The image installs secfoo==<version> from PyPI, so this lets a base-image fix ship without moving a published tag.
  • twine upload --skip-existing, so re-running a release whose PyPI upload already succeeded doesn't fail.

After merge: dispatch the Release workflow again for v0.3.2.

🤖 Generated with Claude Code

- darwin-arm64 asked for macos-14, which is retired, so the job was
  cancelled before it started and the GitHub Release was skipped. Build
  it on macos-15, as CI already does.
- The image build failed: Dependabot had moved the base to
  python:3.15-slim, where dependencies such as zstandard have no wheels
  and there is no compiler. Pin python:3.12-slim (by digest), the version
  CI tests and the binaries bundle, and let Dependabot propose digest and
  patch updates only.
- The image installs secfoo==<version> from PyPI, so build it from the
  workflow's own commit rather than the tag. A base-image fix can then
  ship without moving a published tag.
- twine upload --skip-existing, so a re-run for a tag already on PyPI
  doesn't fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vsn411
vsn411 merged commit 16670ba into main Nov 29, 2026
10 checks passed
@vsn411
vsn411 deleted the fix-release-0.3.2 branch November 29, 2026 11:57
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