Skip to content

Raise required dulwich version#848

Merged
ogenstad merged 1 commit intostablefrom
pog-raise-required-dulwich-version
Feb 23, 2026
Merged

Raise required dulwich version#848
ogenstad merged 1 commit intostablefrom
pog-raise-required-dulwich-version

Conversation

@ogenstad
Copy link
Contributor

@ogenstad ogenstad commented Feb 23, 2026

Why

Since a call we were using within dulwich got deprecated we'd previously switched to the recommended method. However that method didn't exist in previous versions of dulwich. As we allow an earlier version that what is actually pinned within uv.lock this wasn't found during the switch. We'd need to have a proper support matrix where we test a larger range of packages to validate that our range of supported versions are actually valid.

What changed

  • Raise the required version of dulwich.

Note that dulwich 1.0 has been related and we'll probably switch to that in an upcoming release after 1.8.

Summary by CodeRabbit

  • Chores
    • Updated dependencies for improved compatibility and stability.

@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Walkthrough

This pull request updates the dulwich dependency version constraint in the project manifest. The minimum required version was incremented from 0.21.4 to 0.24.7. The change involves a single line modification in pyproject.toml with no alterations to the codebase, public APIs, or control flow logic.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: raising the required dulwich version constraint in pyproject.toml.
Description check ✅ Passed The description covers the problem (deprecated dulwich call), the solution (version bump), and acknowledges future work, though testing instructions and backward compatibility details are minimal.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##           stable     #848      +/-   ##
==========================================
- Coverage   80.38%   80.36%   -0.03%     
==========================================
  Files         115      115              
  Lines        9926     9875      -51     
  Branches     1515     1504      -11     
==========================================
- Hits         7979     7936      -43     
+ Misses       1423     1417       -6     
+ Partials      524      522       -2     
Flag Coverage Δ
integration-tests 41.43% <ø> (+0.15%) ⬆️
python-3.10 51.37% <ø> (-0.21%) ⬇️
python-3.11 51.39% <ø> (-0.17%) ⬇️
python-3.12 51.39% <ø> (-0.19%) ⬇️
python-3.13 51.37% <ø> (-0.19%) ⬇️
python-3.14 53.03% <ø> (-0.17%) ⬇️
python-filler-3.12 24.07% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ogenstad ogenstad marked this pull request as ready for review February 23, 2026 10:51
@ogenstad ogenstad requested a review from a team as a code owner February 23, 2026 10:51
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
pyproject.toml (1)

26-26: Consider adding an upper bound <1.0.0 to guard against the already-released dulwich 1.x.

dulwich 1.1.0 is already published on PyPI (released Feb 17, 2026), so >=0.24.7 allows pip to resolve to the 1.x line today. Since the PR explicitly notes migration to dulwich 1.0 is deferred to a future SDK release, an unguarded lower-bound-only constraint means any fresh install could get 1.x and silently pick up breaking API changes before that migration work is done.

📦 Proposed upper bound
-    "dulwich>=0.24.7",
+    "dulwich>=0.24.7,<1.0.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` at line 26, The dependency entry "dulwich>=0.24.7" should be
constrained to prevent accidental upgrades to the 1.x line now on PyPI; update
the dependency for dulwich to include an upper bound (e.g. change the
requirement string referencing "dulwich>=0.24.7" to include "<1.0.0") so new
installs will not resolve to dulwich 1.x until an explicit migration is
performed.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@pyproject.toml`:
- Line 26: The dependency entry "dulwich>=0.24.7" should be constrained to
prevent accidental upgrades to the 1.x line now on PyPI; update the dependency
for dulwich to include an upper bound (e.g. change the requirement string
referencing "dulwich>=0.24.7" to include "<1.0.0") so new installs will not
resolve to dulwich 1.x until an explicit migration is performed.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fe7dfab and 61cea6e.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • pyproject.toml

@ogenstad ogenstad merged commit 6eb1a86 into stable Feb 23, 2026
21 checks passed
@ogenstad ogenstad deleted the pog-raise-required-dulwich-version branch February 23, 2026 12:13
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