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

relax version constraints / update pinned packages #172

Open
ahgraber opened this issue Dec 31, 2024 · 2 comments
Open

relax version constraints / update pinned packages #172

ahgraber opened this issue Dec 31, 2024 · 2 comments

Comments

@ahgraber
Copy link

I would like to use up-to-date versions of provider packages to ensure I have access to the latest features and security fixes. I notice that dependencies are quite specific (and old).

Example:

  • the pinned anthropic = { version = "^0.30.1", optional = true } is out of date (they're now at 0.42)
  • the pinned openai = { version = "^1.35.8", optional = true } is out of date (they're now at 1.59)

Critically, this also introduces conflicts if I want to use other packages in the LLM ecosystem; e.g., the anthropic version specified by aisuite (0.30.1) conflicts with llama-index-llms-anthropic, which require anthropic>=0.39.

@Prakhar29Sharma
Copy link

I’d like to contribute by updating these dependencies to the latest versions to ensure access to new features, security fixes, and to resolve conflicts with other packages.

Since I’m new to open source development, I would really appreciate any guidance on how to get started. Would it be possible to have this issue assigned to me?

Thank you!

@uglyboy-tl
Copy link

I would like to use up-to-date versions of provider packages to ensure I have access to the latest features and security fixes. I notice that dependencies are quite specific (and old).

Example:

  • the pinned anthropic = { version = "^0.30.1", optional = true } is out of date (they're now at 0.42)
  • the pinned openai = { version = "^1.35.8", optional = true } is out of date (they're now at 1.59)

Critically, this also introduces conflicts if I want to use other packages in the LLM ecosystem; e.g., the anthropic version specified by aisuite (0.30.1) conflicts with llama-index-llms-anthropic, which require anthropic>=0.39.

https://python-poetry.org/docs/dependency-specification/#caret-requirements

For instance, if we previously ran poetry add requests@^2.13.0 and wanted to update the library and ran poetry update requests, poetry would update us to version 2.14.0 if it was available, but would not update us to 3.0.0.

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

3 participants