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

Dependency Conflict with Latest OpenAI Package Version #645

Open
3 tasks done
jonnyhoff opened this issue Nov 14, 2023 · 4 comments
Open
3 tasks done

Dependency Conflict with Latest OpenAI Package Version #645

jonnyhoff opened this issue Nov 14, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jonnyhoff
Copy link

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to try to find a similar issue and didn't find one.
  • I searched the Marvin documentation for this issue.

Bug summary

I encountered a dependency resolution issue when trying to add the marvin package to my project which already depends on a newer version of the openai package.

While attempting to install marvin version ^1.5.6, I ran into a version solving failure due to a dependency conflict between marvin and openai.

Reproduction

Add the latest `openai` package then try add the latest `marvin` package.

Error

poetry add marvin
Using version ^1.5.6 for marvin

Updating dependencies
Resolving dependencies... (0.3s)

Because no versions of marvin match >1.5.6,<2.0.0
 and marvin (1.5.6) depends on openai (>=0.27.8,<1.0.0), marvin (>=1.5.6,<2.0.0) requires openai (>=0.27.8,<1.0.0).
So, because project depends on both openai (^1.2.3) and marvin (^1.5.6), version solving failed.

Versions

marvin (1.5.6)
openai (1.2.3)

Additional context

This dependency conflict limits the ability of developers to integrate marvin into projects that leverage the latest advancements in the openai library, which is increasingly important for AI-related development work.

Thank you for considering this update. I look forward to a resolution that allows for smoother integration of marvin with newer openai versions.

@jonnyhoff jonnyhoff added the bug Something isn't working label Nov 14, 2023
@ttamg
Copy link

ttamg commented Nov 14, 2023

I also have the same issue. But notice the main branch is already using openai > 1.0.0. Looks like this upgrade is already underway

@pietz
Copy link

pietz commented Nov 18, 2023

Please also consider integrating AzureOpenAI with this. The OpenAI SDK 1.x changed the way that Azure is integrated. Did someone manage to get Azure OpenAI running at the moment? Even with the older versions I have no luck.

@grand-cat-unknown
Copy link

I have issues with with getting it to work with Azure as well. There seems to have breaking changes for the whole Azure flow.

@adriangalilea
Copy link

Facing the same issue, hopefully they fix this 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
Projects
None yet
Development

No branches or pull requests

5 participants