Skip to content

Need to bump upper bound litelllm #6827

@jscheffl

Description

@jscheffl

Environment details

  • OS type and version: Linux
  • Python version: All versions in general
  • pip version: (not relevant)
  • google-cloud-aiplatform version: currently: google-cloud-aiplatform[evaluation]>=1.145.0

Steps to reproduce

Our problem: Want to bump litellm in Apache Airflow which is a transitive dependency from google-cloud-aiplatform distribution. But upgrading google-cloud-aiplatform to a newer version locks litellm in a range litellm>=1.83.7, <1.83.15 and the versions which had fixed the vulnerability all pinned click==8.1.8 (see https://github.com/BerriAI/litellm/blob/v1.83.14-stable/pyproject.toml#L20) and Airflow had bugs in click and uses 8.3.3 therefore.

Attempted to upgrade to google-cloud-aiplatform[evaluation]>=1.145.0 in Airflow requires to downgrade click to 8.1.8 and this is generating a lot of side effects/bugs.

Therefore desire to bump/allow also higher litellm. In 1.84.0 the dependency to click has been relaxed (see https://github.com/BerriAI/litellm/blob/v1.84.0/pyproject.toml#L24) but this is not permitted in google-cloud-aiplatform currently

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: vertex-aiIssues related to the googleapis/python-aiplatform API.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions