Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
havspect opened this issue Feb 17, 2025 · 2 comments · May be fixed by #754
Open

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

havspect opened this issue Feb 17, 2025 · 2 comments · May be fixed by #754
Labels
🐞 Bug Something isn't working ⚙️ In-progress Issues, Features requests that are in Progress 📌 Root caused identified the root cause of bug

Comments

@havspect
Copy link

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

@havspect havspect added 🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers labels Feb 17, 2025
havspect pushed a commit to havspect/crawl4ai that referenced this issue Feb 27, 2025
@havspect havspect linked a pull request Feb 27, 2025 that will close this issue
6 tasks
@aravindkarnam aravindkarnam added 📌 Root caused identified the root cause of bug ⚙️ In-progress Issues, Features requests that are in Progress and removed 🩺 Needs Triage Needs attention of maintainers labels Mar 1, 2025
@dnascimento
Copy link

Please this would be an important one

@aravindkarnam
Copy link
Collaborator

@dnascimento We'll check for compatibility and upgrade soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working ⚙️ In-progress Issues, Features requests that are in Progress 📌 Root caused identified the root cause of bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants