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]: Dependency conflict with Pillow version #447

Open
11296925 opened this issue Jan 27, 2025 · 0 comments
Open

[Bug]: Dependency conflict with Pillow version #447

11296925 opened this issue Jan 27, 2025 · 0 comments

Comments

@11296925
Copy link

What happened?

While using autogen-agentchat (v0.4.2) and fastembed (v0.5.1) together in a Poetry-managed project, there is a version conflict due to incompatible pillow version constraints.

  • autogen-agentchat requires pillow >=11.0.0
  • fastembed requires pillow >=10.3.0,<11.0.0

This results in dependency resolution failure when trying to install both packages.

What is the expected behaviour?

Would be ideal to be able to use both dependencies by having the newest version of Pillow available in the dependencies of fastembed.

A minimal reproducible example

pyproject.toml

[tool.poetry.dependencies]
python = "3.11.9"
fastembed = "^0.5.1"
autogen-ext = { version = "0.4.2", extras = ["openai", "azure"] }
pillow = ">=10.3.0,<11.0.0" # Optional for fastembed

What Python version are you on? e.g. python --version

Python3.11.9

FastEmbed version

v0.5.1

What os are you seeing the problem on?

No response

Relevant stack traces and/or logs

Because no versions of fastembed match >0.5.1,<0.6.0
 and fastembed (0.5.1) depends on pillow (>=10.3.0,<11.0.0), fastembed (>=0.5.1,<0.6.0) requires pillow (>=10.3.0,<11.0.0).
And because autogen-agentchat (0.4.2) depends on autogen-core (0.4.2) which depends on pillow (>=11.0.0), fastembed (>=0.5.1,<0.6.0) is incompatible with autogen-agentchat (0.4.2).
So, because app depends on both autogen-agentchat (0.4.2) and fastembed (^0.5.1), version solving failed.
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

No branches or pull requests

1 participant