Skip to content

Upgrade pip in Python install-smoke jobs - #8247

Merged
tohtana merged 1 commit into
deepspeedai:masterfrom
tohtana:tohtana/ci-upgrade-python-matrix-pip
Aug 13, 2026
Merged

Upgrade pip in Python install-smoke jobs#8247
tohtana merged 1 commit into
deepspeedai:masterfrom
tohtana:tohtana/ci-upgrade-python-matrix-pip

Conversation

@tohtana

@tohtana tohtana commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Problem

The Python install-smoke matrix inherits different pip releases from its Python 3.10, 3.11, and 3.12 container images. The Python 3.10 image can start with pip 23.0.1, whose PEP 658 name-normalization bug rejects valid dependency metadata before DeepSpeed installation, while the later Python images use unaffected pip releases.

Approach

Upgrade pip in the shared matrix path immediately before PyTorch installation. Keeping the upgrade common to all three Python versions avoids image-specific pins and makes every cell select the current compatible pip release during the run.

Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
@tohtana
tohtana requested a review from loadams as a code owner August 13, 2026 00:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: daa66b6d59

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/python.yml
@tohtana
tohtana enabled auto-merge August 13, 2026 01:08
@tohtana
tohtana added this pull request to the merge queue Aug 13, 2026
Merged via the queue into deepspeedai:master with commit 22969fa Aug 13, 2026
13 checks passed
@tohtana
tohtana deleted the tohtana/ci-upgrade-python-matrix-pip branch August 13, 2026 01:51
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.

2 participants