GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — fix(config): replace removed `Actor.name_email_regex` from GitPython by olivialewke · Pull Request #1477 · python-semantic-release/python-semantic-release Conversation
Contributor
Fixes #1476. WhatGitPython v3.1.60 (released 2026-08-25) removed the Since PSR requires HowGitPython no longer exposes a public equivalent, so there is nothing to migrate to. This adds An alternative would be to pin TestingThe existing $ pip install 'gitpython==3.1.60' $ pytest tests/unit/semantic_release/cli/test_config.py 51 passed
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
elliotloftus
approved these changes
qthequartermasterman
approved these changes
3 tasks
This was referenced
shawnoster
added a commit
to shawnoster/aya
that referenced
this pull request
…itpython (#351) GitPython 3.1.60 (2026-08-25) removed Actor.name_email_regex, which semantic_release.cli.config reads unconditionally — every release run now crashes on 'type object Actor has no attribute name_email_regex'. PSR pins gitpython ~= 3.0 (unpinned patch range), and the upstream action's Docker image is rebuilt from PyPI at job start regardless of which action SHA release.yml pins, so this recurs on every push to main until upstream ships python-semantic-release/python-semantic-release#1477. Vendors the action's Dockerfile/action.sh/action.yml unchanged, adding only a gitpython==3.1.59 pin to requirements.txt. Verified locally: the vendored image resolves gitpython 3.1.59 and `semantic-release version` loads config and runs cleanly. Revert to the upstream action once #1477 ships in a release.
shyamsundar-shipzero
approved these changes
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
cyang7381
approved these changes
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
renatoaug
approved these changes
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
GitPython 3.1.61 has been released & bring back, adding a deprecation notice, the unwanted breaking change in gitpython-developers/GitPython#2221 So I guess that this should be fixed, though it would be better to still handle this since the field is deprecated & will be removed in next major release (4.x) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
My PSR just finished successful again :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
4ad93f1 to
ed6b1cb
Compare
With the change in GitPython v3.1.60, they removed the regex for a commit author string, so we must do it ourselves. Resolves: python-semantic-release#1476
ed6b1cb to
de86e16
Compare
There was an error while loading. Please reload this page.
🎉 This PR has been published as part of v10.6.2 🎉You can find more information about this release on the GitHub Releases page. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
python-semantic-release/python-semantic-release#1477 (merged 2026-08-28, released in v10.6.2) fixes the GitPython 3.1.60 break that #435/#436 worked around. Reverts both back to using the official Docker action (bumped v10.6.1 -> v10.6.2) and its pip-based build_command, since the Docker image doesn't have uv available. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Bump PSR to v10.6.2 (v10.6.1 hits the GitPython 3.1.60 break upstream fixed in python-semantic-release/python-semantic-release#1477) - __init__.py: give __version__ a fallback instead of leaving it undefined - Drop the redundant legacy .readthedocs.yml, keep .readthedocs.yaml (ported its fail_on_warning: true so nothing is lost) - Restore ci.yml's push trigger alongside workflow_call Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ci.yml) - Bump PSR to v10.6.2 (v10.6.1 hits the GitPython 3.1.60 break upstream fixed in python-semantic-release/python-semantic-release#1477) - __init__.py: give __version__ a fallback instead of leaving it undefined - Restore ci.yml's push trigger alongside workflow_call Co-Authored-By: Claude Sonnet 5 <[email protected]>
#353) Points the vendored Dockerfile/requirements.txt/release.yml comments at #352, which tracks reverting to the upstream action once python-semantic-release/python-semantic-release#1477 ships.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Bug: GitPython v3.1.60 removedActor.name_email_regex, breaking every config load
There was an error while loading. Please reload this page.