Skip to content

Fix mnist & iris parallel pipelines: bump to py3.8 + ubuntu22.04 image#3980

Draft
Chakradhar886 wants to merge 8 commits into
mainfrom
v-sangeetha/iris/fix
Draft

Fix mnist & iris parallel pipelines: bump to py3.8 + ubuntu22.04 image#3980
Chakradhar886 wants to merge 8 commits into
mainfrom
v-sangeetha/iris/fix

Conversation

@Chakradhar886
Copy link
Copy Markdown
Member

@Chakradhar886 Chakradhar886 commented Jun 2, 2026

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

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

@Chakradhar886 Chakradhar886 reopened this Jun 2, 2026
@Chakradhar886 Chakradhar886 changed the title upgarde Fix mnist & iris parallel pipelines: bump to py3.8 + ubuntu22.04 image Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant