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.
This commit is contained in:
hazelxue authored and chengyongru committed 2026-10-16 16:01:15 +08:00
1 parent d2aaa8e54b
commit 6d84786efa
1 file changed
+1 -1
+1 -1
View File
@@ -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",