From 6d84786efab65ba0c430fccf439b007572ad0581 Mon Sep 17 00:00:00 2001 From: hazelxue Date: Fri, 16 Oct 2026 02:55:24 -0400 Subject: [PATCH] Require dulwich>=0.24.0: GitStore.diff_commits uses porcelain.diff porcelain.diff only exists from dulwich 0.24.0 (0.22.x and 0.23.x have init/add/commit/status but not diff). On the declared floor every call to GitStore.diff_commits / show_commit_diff raised GitStoreError, and the dream line-ending test failed for the same reason. tests/agent/test_git_store.py and tests/agent/test_dream.py pass with 0.24.0 and the other dependencies still at their minimum versions. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2019e43a8..a0f059341 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ dependencies = [ "openai>=2.8.0", "tiktoken>=0.12.0,<1.0.0", "jinja2>=3.1.0,<4.0.0", - "dulwich>=0.22.0,<1.0.0", + "dulwich>=0.24.0,<1.0.0", "rapidfuzz>=3.14.6,<4.0.0", "pyyaml>=6.0,<7.0.0", "filelock>=3.25.2",