Repository navigation
[Bugfix] Fix py3.10 wheel build broken by pandas==3.0.3 pin (#4091) - #4106
Merged
Merged
Conversation
ROCm#4091 pinned pandas==3.0.3 (the version in rocm/atom-dev:latest, py3.12), but the py3.10 wheel build container cannot install it — pandas 3.0 requires Python >=3.11 — so `build_aiter_wheels (3.10, ...)` on main fails with "No matching distribution found for pandas==3.0.3". The PR's own checks did not catch this: the py3.10 build only runs the prebuild=false (no-op) matrix leg, while the real py3.10 build runs on push to main. Use an environment marker so each interpreter gets a compatible pinned version: pandas==3.0.3; python_version >= "3.11" # py3.12 baseline (atom-dev) pandas==2.3.3; python_version < "3.11" # latest pandas supporting py3.10 Verified with `pip install --dry-run -r requirements.txt`: - python:3.10-slim -> resolves pandas 2.3.3 + all others, no error - rocm/atom-dev:latest (py3.12) -> pandas 3.0.3, all already satisfied Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: yihonglie <[email protected]>
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
gyohuangxin
approved these changes
Jul 6, 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.
Summary
Hotfix for main. #4091 pinned
pandas==3.0.3(the version shipped byrocm/atom-dev:latest, which is Python 3.12), but the py3.10 wheel-build container cannot install it —pandas3.0 requires Python >= 3.11. Sobuild_aiter_wheels (3.10, rocm/pytorch:...py3.10..., true)now fails on main:(#4091's own checks passed because the py3.10 matrix leg on a PR only runs the
prebuild=falseno-op build; the real py3.10 build runs on push tomain.)Fix
Use an environment marker so each interpreter pins to a compatible version:
All other pins are already compatible with the full supported Python range.
Test plan
pip install --dry-run -r requirements.txtinpython:3.10-slim→ resolvespandas==2.3.3+ all others, no errorpip install --dry-run -r requirements.txtinrocm/atom-dev:latest(py3.12) →pandas==3.0.3, everything already satisfiedbuild_aiter_wheels (3.10, ..., true)green on merge