Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-6246

Unable to install its-hub, conflicts in its-hub==0.3.2

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhoai-3.0
    • Accelerator Enablement
    • None
    • Important

      Description of problem:

      I'm unable to install its-hub, because of multiple underlying version conflicts
      See https://redhat-internal.slack.com/archives/C08DYCR4E4U/p1761086491438049 for more details

       

      Version numbers (base image, wheels, builder, etc):

      reward-hub==0.1.6
      its-hub==0.3.2
      
      BUILDER_IMAGE_VERSION: v23.20.2

      Steps to Reproduce:

      uv pip install its-hub==0.3.2
      uv pip install 'litellm[proxy]>=1.75'

       

      Actual results:

      Using Python 3.12.9 environment at: .
        × No solution found when resolving dependencies:
        ╰─▶ Because there is no version of boto3==1.34.34 and litellm[proxy]==1.74.15 depends on boto3==1.34.34, we can conclude that litellm[proxy]==1.74.15 cannot be used.
            And because only the following versions of litellm[proxy] are available:
                litellm[proxy]==1.74.15
                litellm[proxy]==1.75.8
            and reward-hub==0.1.6 depends on litellm[proxy], we can conclude that reward-hub==0.1.6 depends on litellm==1.75.8.
            And because only reward-hub<=0.1.6 is available and its-hub==0.3.2 depends on reward-hub>=0.1.6, we can conclude that its-hub==0.3.2 depends on litellm==1.75.8.
            And because its-hub==0.3.2 depends on litellm<1.75.0 and you require its-hub==0.3.2, we can conclude that your requirements are unsatisfiable. 
       Using Python 3.12.9 environment at: .
        × No solution found when resolving dependencies:
        ╰─▶ Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and all versions of mcp depend on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that all versions of mcp depend on uvicorn>=0.34.0.
            And because only the following versions of mcp are available:
                mcp==1.16.0
                mcp==1.18.0
            we can conclude that mcp<1.18.0 depends on uvicorn>=0.34.0. (1)
      
            Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and mcp==1.18.0 depends on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that mcp==1.18.0 depends on uvicorn>=0.34.0.
            And because we know from (1) that mcp<1.18.0 depends on uvicorn>=0.34.0, we can conclude that all versions of mcp depend on uvicorn>=0.34.0.
            And because litellm[proxy]==1.75.8 depends on mcp and uvicorn<0.30.0, we can conclude that litellm[proxy]==1.75.8 cannot be used.
            And because only the following versions of litellm[proxy] are available:
                litellm[proxy]<1.75
                litellm[proxy]==1.75.8
            and you require litellm[proxy]>=1.75, we can conclude that your requirements are unsatisfiable.

      Expected results:

      no error

      Additional info:

      The problem seems to be a lack of mcp pin in its-hub. as everything here stems from any mcp > 1.12.4 requiring a higher uv version than the pinned version in its-hub.
      Another problem might be related to its-hub not requiring litellm with the optional proxy dependency.

              rh-ee-alustosa Andre Lustosa Cabral de Paula Motta
              cheimes@redhat.com Christian Heimes
              Andre Lustosa Cabral de Paula Motta, GX Xu
              Frank's Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: