Skip to content

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

Merged
Chakradhar886 merged 8 commits into
mainfrom
v-sangeetha/iris/fix
Jun 5, 2026
Merged

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

Conversation

@Chakradhar886

@Chakradhar886 Chakradhar886 commented Jun 2, 2026

Copy link
Copy Markdown
Member

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
@Chakradhar886
Chakradhar886 marked this pull request as ready for review June 4, 2026 04:21
@Chakradhar886
Chakradhar886 merged commit 2aa5a1a into main Jun 5, 2026
8 checks passed
@Chakradhar886
Chakradhar886 deleted the v-sangeetha/iris/fix branch June 5, 2026 13:14
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.

3 participants