Fix mnist & iris parallel pipelines: bump to py3.8 + ubuntu22.04 image - #3980
Merged
Conversation
Chakradhar886
force-pushed
the
v-sangeetha/iris/fix
branch
from
June 2, 2026 15:54
51c29d5 to
22e08ec
Compare
Chakradhar886
marked this pull request as ready for review
June 4, 2026 04:21
Chakradhar886
requested review from
a team,
achauhan-scc,
imatiach-msft,
jayesh-tanna and
kingernupur
as code owners
June 4, 2026 04:21
s-polly
approved these changes
Jun 4, 2026
kingernupur
approved these changes
Jun 5, 2026
kingernupur
approved these changes
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Why it broke
PRS driver now requires Python 3.8+ (from typing import TypedDict); envs were pinned to python=3.7.6.
Base image openmpi4.1.0-ubuntu20.04 reached EOL.
Fix
Both pipelines:
pipeline.yml: image → openmpi4.1.0-ubuntu22.04
environment_parallel.yml: python=3.7.6 → python=3.8
iris (env-only): pin scikit-learn==0.23.2 (legacy pickle compat), numpy<1.24 (sklearn 0.23 uses removed np.float), cloudpickle==2.2.1.
mnist: pin tensorflow==2.13.1 (TF 1.15 has no py3.8 wheels) + protobuf>=3.20.3,<5; add import tensorflow.compat.v1 as tf; tf.disable_v2_behavior() (mandatory TF1→TF2 shim).
Checklist