← Back to Pull requests

Bump regressed dependencies in DW universal training images #1436

Closed
unknown closed this pull request without merging on Nov 06, 2026 22:03 UTC
View on GitHub
unknown unknown commented on Nov 06, 2026 16:05 UTC
Author

RHAI-21510

Jira: https://redhat.atlassian.net/browse/RHAI-21510

Summary

Restore dependency versions that regressed between rhoai-3.5 and rhoai-3.6 in the DW universal training images.

Changes

Applied to all three image variants (th-torch-cpu-py312, th-torch-cuda-py312, th-torch-rocm-py312):

| Change | Before (3.6) | After | Notes |
|--------|-------------|-------|-------|
| mlflow direct pin | ==3.16.0 | ==3.17.2 | Restores 3.5-era version |
| botocore override | _(removed)_ | ==1.43.122 added | Re-adds override present in 3.5 |
| boto3 override | _(removed)_ | ==1.43.122 added | Re-adds override present in 3.5 |
| aiohttp constraint | >=3.14.3 | >=3.14.4 | Restores constraint floor |
| pyasn1 constraint | >=0.6.4 | >=0.6.5 | Restores constraint floor |

Not addressed (requires kubeflow SDK fix)

The following regressions are caused by hard == pins in the kubeflow==0.5.0+rhaiv.0 wheel metadata and cannot be fixed in pyproject.toml:

  • kubernetes: 35.0.0 → 30.1.0 (kubeflow 0.5.0 pins kubernetes==30.1.0)

  • requests: 2.34.2 → 2.33.0 (kubeflow 0.5.0 pins requests==2.33.0)
  • Follow-up required

    requirements.txt must be regenerated with uv after this change to pick up the updated constraints.

    ---
    AI-generated. Review for accuracy.

    @sutaakar requested from Slack

    Diff: 169 lines (+126 / -43) across 2 files Reviewer: sutaakar Review duration: 358m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 169 lines diff across 2 files
    0.35
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.307
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1436"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.2% (MEDIUM) · Higher = larger blast radius
    35.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 13.9% · Safe to merge
    13.9%