fix: downgrade pillow to 10.4.0 to resolve dependency conflict with crawl4ai #1284
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features
pillowandcrawl4aithat prevents package installationpillowfrom~=11.1.0to~=10.4.0to ensure compatibility withcrawl4ai==0.6.3Feature Docs
N/A (Minor dependency version fix)
Influence
This change resolves the installation failure when running
uv pip install -r requirements.txt.Root cause:
crawl4ai==0.6.3requirespillow>=10.4,<11.dev0(does not support pillow 11.x), which conflicts with the currentpillow~=11.1.0requirement.Impact: Users will be able to successfully install all dependencies without conflicts. Pillow 10.4.0 maintains all required functionality while ensuring compatibility with crawl4ai.
Result
Before the fix:
After the fix:
uv pip install -r requirements.txtcompletes successfullyOther
This is a minimal change that only affects the pillow version specification. No code changes are required, and the downgrade to pillow 10.4.0 does not impact any existing functionality.