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

Remove the global constraints for pandas

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Development Platform
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • AP Sprint 14

      We had added pandas global constraints as part of RHELAI-585 more than a year back . At that point of time we did not support newer versions of numpy. But now we have newer version of numpy in builder. 

      The pandas constraint causing issues for model-opt [4] [5] wheel collection. 

      Here is the snippet of the global constraint file in builder repository  [1][2]

      # Global constraints that are applied to all builds
      
      # - datasets-3.4.1 wants fsspec[http]<=2024.12.0,>=2023.1.0
      # - instructlab.sdg 0.7.2 wants datasets-2.21.0, which needs
      #   fsspec[http]<=2024.6.1,>=2023.1.0
      fsspec<=2024.6.1
      
      # RHELAI-2974: required by pythran
      gast==0.6.0
      
      # RHELAI-3073: llvmlite 0.44.x with LLVM 15
      llvmlite~=0.44.0
      
      # RHELAI-1672: conflicting dependency on dill between datasets and multiprocess
      # RHELAI-2943: FIPS fix for Python 3.11
      multiprocess<=0.70.16
      
      # RHELAI-2383: our patch is for 1.11.1.1, RHEL 9 has 1.10.2
      ninja==1.11.1.1
      
      # RHELAI-585: Pandas >=2.2.2 requires NumPy >=2.0.0rc1
      pandas<2.2.2
      

       [1] collections/global-constraints.txt

      [2] https://gitlab.com/redhat/rhel-ai/wheels/builder/-/blob/main/collections/global-constraints.txt?ref_type=heads#L22

       [3]https://issues.redhat.com/browse/RHELAI-585

      [4] https://gitlab.com/redhat/rhel-ai/rhaiis/pipeline/-/jobs/11250173786

      [5] https://issues.redhat.com/browse/INFERENG-1841

       

       

       

              lmohanty@redhat.com Lalatendu Mohanty
              lmohanty@redhat.com Lalatendu Mohanty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: