Skip to content

[Bug]: Update current PIL Version to enable use with smolagents #709

Open
@havspect

Description

crawl4ai version

0.4.248

Expected Behavior

Currently, somlagents and crawl4ai cannot be used together due to a version conflict. Crawl4ai has a hard dependency on a specific version of Pillow, which appears to be unnecessary. This limitation prevents the use of somlagents with crawl4ai.

Current Behavior

Change pillow version to >=10.4.

I can do it myself and create the PR, but the tests (i.e., test_web_crawler.py) seem to be broken. If you tell me how to fix it, I can make a small documentation for the tests and resolve the issue.

Is this reproducible?

Yes

Inputs Causing the Bug

Steps to Reproduce

1. Install smolagents and crawl4ai in the same envrionment

Code snippets

pillow>=10.4 -> requirements.txt and pyprojects.toml

OS

every platform

Python version

3.12

Browser

No response

Browser version

No response

Error logs & Screenshots (if applicable)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    🐞 BugSomething isn't working🩺 Needs TriageNeeds attention of maintainers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions