Skip to content

ref: replace GitPython with direct git commands - #669

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-git-python-dep
Aug 10, 2026
Merged

ref: replace GitPython with direct git commands#669
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-git-python-dep

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

resolves https://linear.app/braintrustdata/issue/SDK-211/make-gitpython-an-optional-extra-in-braintrust-sdk

in order to validate this was legit, I (well mr codex) added extra test coverage in py/src/braintrust/test_git_metadata_vcr.py, and then did the gitpython migration accordingly.

Preserve experiment git metadata and ancestor selection while removing the
GitPython dependency. Resolve git to an absolute executable path and cover the
Braintrust API payload with VCR-backed regression tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

stamp

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 1e1836d into main Aug 10, 2026
82 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi-git-python-dep branch August 10, 2026 21:03
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