runpod / runpod-python

🐍 | Python library for RunPod API and serverless worker SDK.
https://pypi.org/project/runpod/
MIT License
170 stars 58 forks source link

Not able to install runpod and diffusers together using Poetry #260

Open holwech opened 8 months ago

holwech commented 8 months ago

Describe the bug Installing runpod together with the diffusers library using Poetry will cause the installation process to go on in an infinite loop. This hasn't been a problem before, so I guess something has been change in this package or diffusers which is causing issues resolving the packages.

To Reproduce This pyproject.py file should reproduce the problem:

[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["test <test@test.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
runpod = "^1.3.0"
diffusers = "^0.25.0"

[tool.poetry.group.dev.dependencies]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
pandyamarut commented 8 months ago

Is this working fine with older version? @holwech is it happening just when you install runpod along with other dependencies?

holwech commented 7 months ago

This issue seemed to happen once I updated to the latest version of diffusers. It's not a critical issue for me, but since Poetry is quite popular and runpod + diffusers installed together is a common scenario, it might be in your interest that these packages are compatible.

I did not have this issue with earlier versions of the diffusers package. It seems like these two packages specifically don't install together.

justinmerrell commented 7 months ago

Do you continue to have this problem? Sounds like there is a shared dependence that is causing the conflict. Does the error indicate which one it might be?

minhluuquang commented 5 months ago

I have the same error. Anyone know how to resolve?