Skip to content

fix(release): pin python-semantic-release + GitPython to unbreak version bump - #139

Merged
akshaylive merged 1 commit into
mainfrom
akshaya/fix_release
Aug 27, 2026
Merged

fix(release): pin python-semantic-release + GitPython to unbreak version bump#139
akshaylive merged 1 commit into
mainfrom
akshaya/fix_release

Conversation

@akshaylive

Copy link
Copy Markdown
Collaborator

Summary

  • release.yml's "Run semantic-release" step was failing with type object 'Actor' has no attribute 'name_email_regex' (see https://github.com/UiPath/coder_eval/actions/runs/33101557604/job/98620318431).
  • Root cause: python-semantic-release declares gitpython~=3.0 (unbounded on patch), and GitPython 3.1.60 removed Actor.name_email_regex, which PSR's version command calls. An unpinned uv tool install/uv tool run resolved the latest (broken) GitPython.
  • Fix: pin both python-semantic-release==10.6.1 and gitpython==3.1.59 (last GitPython release before the removal) in the two places the tool is installed/invoked.

Test plan

  • make test — 4367 passed, 2 skipped
  • Verified locally: uv tool run --from python-semantic-release==10.6.1 --with gitpython==3.1.59 semantic-release version --print runs cleanly (no name_email_regex error)

🤖 Generated with Claude Code

…ion bump

GitPython 3.1.60 removed Actor.name_email_regex, which
python-semantic-release's `version` command calls directly. Since PSR
declares gitpython~=3.0 (unbounded on patch), an unpinned `uv tool
install`/`uv tool run` resolves the latest GitPython and breaks the
release workflow with "type object 'Actor' has no attribute
'name_email_regex'".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@UiPath UiPath deleted a comment from github-actions Bot Aug 27, 2026

@uipreliga uipreliga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@akshaylive
akshaylive merged commit ef74014 into main Aug 27, 2026
17 checks passed
@akshaylive
akshaylive deleted the akshaya/fix_release branch August 27, 2026 18:18
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.

2 participants