Skip to content

fix(ci): pin GitPython below 3.1.60 in the release step - #280

Closed
aaaaahaaaaa wants to merge 1 commit into
mainfrom
fix/release-gitpython-pin
Closed

fix(ci): pin GitPython below 3.1.60 in the release step#280
aaaaahaaaaa wants to merge 1 commit into
mainfrom
fix/release-gitpython-pin

Conversation

@aaaaahaaaaa

Copy link
Copy Markdown
Contributor

Summary

The Release workflow is currently broken by an upstream regression: GitPython 3.1.60 (released 2026-08-25) removed Actor.name_email_regex, which crashes every python-semantic-release config load inside the @v10 action's docker image — see PSR #1476. Today's 0.65.0 release dispatch failed with exactly this error; the fix (PSR #1477) is not yet merged or released.

Temporary workaround: replace the action step with the exact CLI it ran (semantic-release -v version --commit --tag --changelog --vcs-release --prerelease-token rc, per the action's own log), executed via uvx with gitpython<3.1.60 pinned. Details:

  • --with pip: the configured build_command bootstraps uv via python -m pip, and uv-managed venvs ship without pip.
  • The released output the publish gate reads is derived from whether git describe moved.
  • rc path (--no-changelog --as-prerelease) and the force input (--patch|--minor|--major) are mapped like the action's inputs.
  • Committer identity and GH_TOKEN match what the action injected; pushes ride the checkout's persisted app-token credentials.

Revert to the action once a PSR release carries the upstream fix.

Context

This unblocks the 0.65.0 release, which the already-merged Flux MR (interloper/kubernetes!26) pins to deploy the MCP server at mcp.interloper.dev.

By Digitl

GitPython 3.1.60 removed Actor.name_email_regex, which breaks every
python-semantic-release config load inside the @v10 action's docker
image (python-semantic-release/python-semantic-release#1476) — the
Release workflow fails before versioning anything.

Temporary workaround: run the exact CLI the action ran, via uvx with
GitPython pinned (plus pip, which uv-managed venvs omit but the
configured build_command bootstraps uv with). The released output is
derived from the tag moving. Revert to the action once a PSR release
carries upstream PR #1477.

By Digitl
@aaaaahaaaaa

Copy link
Copy Markdown
Contributor Author

Superseded: main landed the equivalent workaround in 8774c13 (venv-based PSR run with gitpython==3.1.59) and 0.65.0 released with it. The revert-when-upstream-fixes note applies to that change now.

@aaaaahaaaaa
aaaaahaaaaa deleted the fix/release-gitpython-pin branch August 27, 2026 07:19
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