You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: type object 'Actor' has no attribute 'name_email_regex' (GitPython 3.1.60) #1475
semantic_release/cli/config.py calls Actor.name_email_regex.match(...) directly when validating the configured commit author (commit_author), so any environment that resolves to gitpython>=3.1.60 now crashes on every invocation:
AttributeError: type object 'Actor' has no attribute 'name_email_regex'
Since PSR's own constraint is gitpython~=3.0, this affects every version — a fresh pip install python-semantic-release today resolves gitpython==3.1.60 and breaks immediately, with no code change on the caller's part. Confirmed via bisection: 3.1.59 still has the attribute, 3.1.60 does not.
Impact
This breaks release automation for anyone using PSR with an unpinned or loosely-pinned GitPython — several independent reports of the identical error surfaced within minutes of the GitPython release going out, all converging on the same workaround (pinning gitpython<3.1.60), e.g.:
Stop depending on the removed Actor.name_email_regex (it was apparently never a stable/documented part of GitPython's public API, since it was removed rather than deprecated). A regex-based validation of "name <email>" could be inlined into PSR directly rather than reaching into GitPython's internals, or PSR could rely on Actor._from_string/Actor(...) construction to validate instead.
Workaround (in the meantime)
Pin gitpython<3.1.60 alongside python-semantic-release until this is fixed.
Environment
python-semantic-release==10.6.1 (latest at time of filing)
gitpython==3.1.60
Reacted by Felipe R. Broering, Kelvin Chu, cancelradius, Andrew Sansom, cams-data, VerbekeJarne, Heinz-Alexander Fuetterer, Arie Catsman, Galen Han, Anton and 6 more
Activity
fix: release CI roto por bug de gitpython 3.1.60 con python-semantic-…
fix: release CI roto por bug de gitpython 3.1.60 con python-semantic-…
calmez commentedon Aug 27, 2026
Duplicate of #1476 which already has a fix with #1477
fix: pin gitpython<3.1.60 in semantic-release workflow
Actor.name_email_regex, breaking every config load #1476