Title: Bug: GitPython v3.1.60 removed `Actor.name_email_regex`, breaking every config load · Issue #1476 · python-semantic-release/python-semantic-release · GitHub
Open Graph Title: Bug: GitPython v3.1.60 removed `Actor.name_email_regex`, breaking every config load · Issue #1476 · python-semantic-release/python-semantic-release
X Title: Bug: GitPython v3.1.60 removed `Actor.name_email_regex`, breaking every config load · Issue #1476 · python-semantic-release/python-semantic-release
Description: Summary GitPython v3.1.60 (released 2026-08-25) removed the name_email_regex class attribute from git.Actor, replacing its internal use in Actor._from_string with string partitioning. RuntimeContext.from_raw_config() reads that attribute...
Open Graph Description: Summary GitPython v3.1.60 (released 2026-08-25) removed the name_email_regex class attribute from git.Actor, replacing its internal use in Actor._from_string with string partitioning. RuntimeContex...
X Description: Summary GitPython v3.1.60 (released 2026-08-25) removed the name_email_regex class attribute from git.Actor, replacing its internal use in Actor._from_string with string partitioning. RuntimeContex...
Opengraph URL: https://github.com/python-semantic-release/python-semantic-release/issues/1476
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: GitPython v3.1.60 removed `Actor.name_email_regex`, breaking every config load","articleBody":"## Summary\n\nGitPython [v3.1.60](https://pypi.org/project/GitPython/3.1.60/) (released 2026-08-25) removed the `name_email_regex` class attribute from `git.Actor`, replacing its internal use in `Actor._from_string` with string partitioning. `RuntimeContext.from_raw_config()` reads that attribute unconditionally, so **every** `semantic-release` command that loads configuration now fails.\n\n```python\n# src/semantic_release/cli/config.py:745\n_commit_author_valid = Actor.name_email_regex.match(_commit_author_str)\n```\n\n```\nError: type object 'Actor' has no attribute 'name_email_regex'\n```\n\nSince PSR requires `gitpython ~= 3.0`, a fresh install resolves to the broken version.\n\n## Affected versions\n\nReproduced on v10.5.3, v10.6.1, and current `master` (c74aa3b) — the line is unchanged across all three.\n\n| GitPython | Result |\n| --- | --- |\n| 3.1.59 | config loads |\n| 3.1.60 | `AttributeError` |\n\n## Reproduction\n\nThe repository's own test suite reproduces it — no new test needed:\n\n```console\n$ pip install 'gitpython==3.1.60'\n$ pytest tests/unit/semantic_release/cli/test_config.py -k commit_author\nE AttributeError: type object 'Actor' has no attribute 'name_email_regex'\nsrc/semantic_release/cli/config.py:745: AttributeError\n```\n\n## Impact on the GitHub Action\n\nThe official action is hit hardest. `src/gh_action/Dockerfile` installs from `src/gh_action/requirements.txt`, which pins only `python-semantic-release == 10.5.3` and lets transitive dependencies resolve at image-build time. Because the image is built on the runner at job start, pinned workflows that have not changed in months started failing the moment 3.1.60 was published, and there is no input or config key that lets a caller constrain what lands inside the image. Callers currently have to vendor or fork the action to pin GitPython.\n\n## Proposed fix\n\nKeep an equivalent regex in `semantic_release.const` rather than reaching into GitPython's internals — GitPython no longer exposes any public equivalent, so there is nothing to migrate to. PR incoming.\n","author":{"url":"https://github.com/olivialewke","@type":"Person","name":"olivialewke"},"datePublished":"2026-08-25T19:30:16Z","url":"https://github.com/python-semantic-release/python-semantic-release/issues/1476"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dc9629e5-34af-1a39-e4bf-a6ec1df5a63d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E00A:9B8F0:52B821:6FD866:6B0090F6 |
| html-safe-nonce | 22d7231e058b9fef8c9866cdcc859df2dc30dee4bc04a7c611038aa1ef3b5697 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDBBOjlCOEYwOjUyQjgyMTo2RkQ4NjY6NkIwMDkwRjYiLCJ2aXNpdG9yX2lkIjoiNjg3NzIxNTkxMjM0NTI0Mzg5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60c022c2058bc0c3857537cbcc3a525c9363a3abfa7e7dbb6695e56ad0966fec |
| hovercard-subject-tag | issue:5249776015 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-semantic-release/python-semantic-release/1476/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9437fec28a4cd8849b6a9baaa680798d31ceab2fad444e3f9624c6a7000b31a/python-semantic-release/python-semantic-release/issues/1476 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9437fec28a4cd8849b6a9baaa680798d31ceab2fad444e3f9624c6a7000b31a/python-semantic-release/python-semantic-release/issues/1476 |
| og:image:alt | Summary GitPython v3.1.60 (released 2026-08-25) removed the name_email_regex class attribute from git.Actor, replacing its internal use in Actor._from_string with string partitioning. RuntimeContex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | olivialewke |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semantic-release/python-semantic-release git https://github.com/python-semantic-release/python-semantic-release.git |
| octolytics-dimension-user_id | 116517554 |
| octolytics-dimension-user_login | python-semantic-release |
| octolytics-dimension-repository_id | 39765732 |
| octolytics-dimension-repository_nwo | python-semantic-release/python-semantic-release |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 39765732 |
| octolytics-dimension-repository_network_root_nwo | python-semantic-release/python-semantic-release |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width