← Back to Pull requests

test: pin kubernetes python client <37 for KServe SDK compatibility #3635

Closed
unknown closed this pull request without merging on Oct 13, 2026 20:52 UTC
View on GitHub
unknown unknown commented on Oct 13, 2026 10:42 UTC
Author

Pull Request Template for Kubeflow Manifests

✏️ Summary of Changes


Pins the Kubernetes Python client to <37 in tests/kserve_sklearn_test.py (line 39).

kubernetes 37.0.0 (released 2026-10-07) validates API-call arguments with Pydantic and rejects the model objects (e.g. V1beta1InferenceService) that the KServe SDK passes as request bodies, failing with ValidationError: Input should be a valid dictionary before any request is sent. This breaks the KServe E2E test on every PR and on master.

The pin is temporary and should be removed once KServe ships an SDK compatible with client 37.

📦 Dependencies


None. Unblocks other open PRs currently failing the KServe test.

🐛 Related Issues


Closes #3633

✅ Contributor Checklist

  • I have tested these changes with kustomize. See Installation Prerequisites.

  • All commits are _signed-off_ to satisfy the DCO check.

  • I have considered adding my company to the adopters page to support Kubeflow and help the community, since I expect help from the community for my issue (see 1. and 2.).
  • ---

    You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-community-distribution.

    Diff: 206 lines (+154 / -52) across 2 files Reviewer: juliusvonkohout Review duration: 609m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.60 · 206 lines diff across 2 files
    0.60
    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.319
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.060
    Real PR Conversation Timeline
    1 comments
    "Review active on #3635"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 59.5% (MEDIUM) · Higher = larger blast radius
    59.5%
    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: 23.5% · Safe to merge
    23.5%