Repository navigation
release/2.14 bringup: pin requirements files - #3574
Merged
jithunnair-amd merged 3 commits intoAug 20, 2026
Merged
Conversation
Pin direct dev/install deps to versions resolved via pip freeze in an ubuntu:24.04 container across Python 3.10/3.11/3.12/3.13/3.14, with a python_version split for networkx (3.4.2 for <3.11, 3.6.1 for >=3.11). Signed-off-by: pablo-garay <[email protected]>
Pin build-system deps to versions resolved via pip freeze across Python 3.10/3.11/3.12/3.13/3.14, with a python_version split for numpy (2.2.6 for <3.11, 2.4.6 for ==3.11, 2.5.2 for >=3.12). Signed-off-by: pablo-garay <[email protected]>
Pin previously-loose entries and add python_version conditionals so the CI test image resolves on Python 3.10-3.14 with no new source builds: scikit-image 0.26.0 and networkx 3.6.1 for 3.13+, pywavelets 1.9.0 for 3.14, and fbscribelogger guarded off on 3.14 (its thriftpy2 dep has no cp314 wheel). Signed-off-by: pablo-garay <[email protected]>
pablo-garay
force-pushed
the
pablo-garay/release-2.14-pin-requirements
branch
from
August 18, 2026 02:53
5dfd664 to
d3f21f5
Compare
jithunnair-amd
pushed a commit
that referenced
this pull request
Aug 27, 2026
## Summary Pin Python dependencies for the `release/2.14` bringup so CI and builds are reproducible, and make everything resolve cleanly on Python **3.10 / 3.11 / 3.12 / 3.13 / 3.14**. Mirrors the 2.13 bringup (#3445), plus the extra version-conditional bumps needed for 3.13/3.14. Three commits, one per file: - `requirements.txt` — pin all direct dev/install deps (with a `python_version` split for `networkx`). - `requirements-build.txt` — pin all build-system deps (with a `python_version` split for `numpy`). - `.ci/docker/requirements-ci.txt` — pin the previously-loose entries (`click`, `psutil`, `pytest-rerunfailures`, `unittest-xml-reporting`, `redis`, `pyzstd` split, `six`, `cuda-bindings`, `cupti-python`, `tqdm`, `uv`, `librosa`) and add `python_version` conditionals for 3.13/3.14. ## Per-version splits (dev/build) - **numpy** (build): `2.2.6` (<3.11), `2.4.6` (==3.11), `2.5.2` (>=3.12). - **networkx** (dev): `3.4.2` (<3.11), `3.6.1` (>=3.11). Every other dev/build dep resolved identically across 3.10–3.14, so those are flat-pinned. ## 3.13 / 3.14 conditional bumps in requirements-ci.txt (new vs 2.13) - **scikit-image**: `0.22.0` for `< 3.13`, `0.26.0` for `>= 3.13` (0.22.0 has no cp313/cp314 wheel). - **networkx**: `2.8.8` for `< 3.13`, `3.6.1` for `>= 3.13` (scikit-image 0.26 requires networkx>=3.0; keeping 2.8.8 forced pip to backtrack to a wheelless scikit-image). - **pywavelets**: adds `1.9.0` for `>= 3.14` (1.7.0 has no cp314 wheel). - **fbscribelogger**: guarded to `< 3.14` (its `thriftpy2` dep has no cp314 wheel and would source-build in the compiler-less test image) — mirrors 2.13. ## How versions were resolved Per the documented process (AIPYTORCH-748): installed each requirements file in a fresh venv inside an `ubuntu:24.04` container (deadsnakes for the non-native Python versions) and pinned the `pip freeze` output. Verified all files install on **3.10–3.14** with no new compiler-dependent source builds (only pre-existing `coremltools` for <3.12 and pure-Python `pwlf`). ## Test plan TheRock CI `multi_arch_build_portable_linux_pytorch_wheels.yml` (gfx94X-dcgpu, ROCm 7.15.0a20260712, `pytorch_git_ref` = the pinned integration branch). The **Build job passed for every Python version** — torch + torchaudio + torchvision + triton + apex all built against the pinned requirements: - [x] Python 3.10 — build ✅ [run 32165499080](https://github.com/ROCm/TheRock/actions/runs/32165499080) - [x] Python 3.11 — build ✅ [run 32165508608](https://github.com/ROCm/TheRock/actions/runs/32165508608) - [x] Python 3.12 — build ✅ [run 32165519879](https://github.com/ROCm/TheRock/actions/runs/32165519879) - [x] Python 3.13 — build ✅ [run 32165528430](https://github.com/ROCm/TheRock/actions/runs/32165528430) - [x] Python 3.14 — build ✅ [run 32165536568](https://github.com/ROCm/TheRock/actions/runs/32165536568) > Note: the downstream GPU **Test** job hit a transient 30-min git-clone timeout in its "Checkout PyTorch Source Repos" step (infra/network, unrelated to these pins). The build — which is what exercises the requirements files — is green across all five versions. --------- Signed-off-by: pablo-garay <[email protected]> Co-authored-by: pablo-garay <[email protected]>
2 tasks
4 tasks done
jithunnair-amd
pushed a commit
that referenced
this pull request
Oct 16, 2026
## Summary Pin Python dependencies for the `release/2.15` bringup so CI and builds are reproducible, and make everything resolve cleanly on Python **3.10 / 3.11 / 3.12 / 3.13 / 3.14 / 3.15**. Mirrors the 2.14 bringup (#3574), plus the 3.15 handling that is new in this release. Three commits, one per file: - `requirements.txt`: pin all direct dev/install deps (with `python_version` splits for `filelock`, `hypothesis` and `networkx`). - `requirements-build.txt`: pin all build-system deps (with a `python_version` split for `numpy`). - `.ci/docker/requirements-ci.txt`: pin the previously-loose entries (`click`, `psutil`, `pytest-rerunfailures`, `unittest-xml-reporting`, `redis`, `pyzstd` split, `six`, `cuda-bindings`, `cupti-python`, `tqdm`, `uv`, `librosa`) and add `python_version` conditionals for 3.14/3.15. ## Per-version splits (dev/build) - **numpy** (build): `2.2.6` (<3.11), `2.4.6` (==3.11), `2.5.4` (>=3.12). - **networkx** (dev): `3.4.2` (<3.11), `3.6.1` (==3.11), `3.7` (>=3.12). - **filelock** (dev): `4.1.0` (<3.11), `4.2.0` (>=3.11). - **hypothesis** (dev): `6.168.5` (<3.11), `6.169.2` (>=3.11). Every other dev/build dep resolved identically across 3.10-3.15, so those are flat-pinned. ## 3.14 / 3.15 conditionals in requirements-ci.txt Restored from 2.14 (lost in the 2.15 branch): - **pywavelets**: `1.9.0` for 3.14 (1.7.0 has no cp314 wheel). - **fbscribelogger**: guarded to `< 3.14` (its `thriftpy2` dep has no cp314/cp315 wheel and would source-build in the compiler-less test image). New for 3.15 (earliest release with a cp315 wheel): - **numpy** `2.5.2` (the existing `2.4.6` pin for 3.15 has no cp315 wheel), **pandas** `3.0.6`, **optree** `0.20.0`, **pywavelets** `1.10.0`, **aiohttp** `3.14.4`. - **scikit-image**: skipped on 3.15 (no release ships a cp315 wheel yet). ## How versions were resolved Per the documented process: installed each requirements file in a fresh venv inside an `ubuntu:24.04` container with no C compiler (deadsnakes for the non-native Python versions) and pinned the `pip freeze` output. All three files install on **3.10-3.15** with `pip check` clean and no new compiler-dependent source builds (only the pre-existing pure-Python `pwlf` and `coremltools` sdists, plus `pyyaml` on 3.15, which builds without its optional C extension). ## Test plan TheRock CI `multi_arch_build_portable_linux_pytorch_wheels.yml` (gfx94X-dcgpu, ROCm 10.2.0a20261013, `pytorch_git_ref` = `pablo-garay/release-2.15-integration`, which is this PR plus the related_commits from #3816): - [x] Python 3.11: build passed, [run 38705512288](https://github.com/ROCm/TheRock/actions/runs/38705512288) - [x] Python 3.12: build passed, [run 38705525582](https://github.com/ROCm/TheRock/actions/runs/38705525582) - [x] Python 3.13: build passed, [run 38705535781](https://github.com/ROCm/TheRock/actions/runs/38705535781) - [x] Python 3.14: build passed, [run 38705545732](https://github.com/ROCm/TheRock/actions/runs/38705545732) - Python 3.10: n/a. Triton 3.9 requires Python >=3.11, and TheRock dropped 3.10 release builds in ROCm/TheRock#8396 ([run 38705500960](https://github.com/ROCm/TheRock/actions/runs/38705500960) fails installing the triton wheel). - Python 3.15: n/a until ROCm/TheRock#8394 adds 3.15 to the build image ([run 38705556076](https://github.com/ROCm/TheRock/actions/runs/38705556076) fails at setup: `Could not find python: /opt/python/cp315-cp315`). The 3.15 pins were validated by the container install above. --------- Signed-off-by: pablo-garay <[email protected]>
jithunnair-amd
pushed a commit
that referenced
this pull request
Nov 4, 2026
## Summary Pin Python dependencies for the `release/2.15` bringup so CI and builds are reproducible, and make everything resolve cleanly on Python **3.10 / 3.11 / 3.12 / 3.13 / 3.14 / 3.15**. Mirrors the 2.14 bringup (#3574), plus the 3.15 handling that is new in this release. Three commits, one per file: - `requirements.txt`: pin all direct dev/install deps (with `python_version` splits for `filelock`, `hypothesis` and `networkx`). - `requirements-build.txt`: pin all build-system deps (with a `python_version` split for `numpy`). - `.ci/docker/requirements-ci.txt`: pin the previously-loose entries (`click`, `psutil`, `pytest-rerunfailures`, `unittest-xml-reporting`, `redis`, `pyzstd` split, `six`, `cuda-bindings`, `cupti-python`, `tqdm`, `uv`, `librosa`) and add `python_version` conditionals for 3.14/3.15. ## Per-version splits (dev/build) - **numpy** (build): `2.2.6` (<3.11), `2.4.6` (==3.11), `2.5.4` (>=3.12). - **networkx** (dev): `3.4.2` (<3.11), `3.6.1` (==3.11), `3.7` (>=3.12). - **filelock** (dev): `4.1.0` (<3.11), `4.2.0` (>=3.11). - **hypothesis** (dev): `6.168.5` (<3.11), `6.169.2` (>=3.11). Every other dev/build dep resolved identically across 3.10-3.15, so those are flat-pinned. ## 3.14 / 3.15 conditionals in requirements-ci.txt Restored from 2.14 (lost in the 2.15 branch): - **pywavelets**: `1.9.0` for 3.14 (1.7.0 has no cp314 wheel). - **fbscribelogger**: guarded to `< 3.14` (its `thriftpy2` dep has no cp314/cp315 wheel and would source-build in the compiler-less test image). New for 3.15 (earliest release with a cp315 wheel): - **numpy** `2.5.2` (the existing `2.4.6` pin for 3.15 has no cp315 wheel), **pandas** `3.0.6`, **optree** `0.20.0`, **pywavelets** `1.10.0`, **aiohttp** `3.14.4`. - **scikit-image**: skipped on 3.15 (no release ships a cp315 wheel yet). ## How versions were resolved Per the documented process: installed each requirements file in a fresh venv inside an `ubuntu:24.04` container with no C compiler (deadsnakes for the non-native Python versions) and pinned the `pip freeze` output. All three files install on **3.10-3.15** with `pip check` clean and no new compiler-dependent source builds (only the pre-existing pure-Python `pwlf` and `coremltools` sdists, plus `pyyaml` on 3.15, which builds without its optional C extension). ## Test plan TheRock CI `multi_arch_build_portable_linux_pytorch_wheels.yml` (gfx94X-dcgpu, ROCm 10.2.0a20261013, `pytorch_git_ref` = `pablo-garay/release-2.15-integration`, which is this PR plus the related_commits from #3816): - [x] Python 3.11: build passed, [run 38705512288](https://github.com/ROCm/TheRock/actions/runs/38705512288) - [x] Python 3.12: build passed, [run 38705525582](https://github.com/ROCm/TheRock/actions/runs/38705525582) - [x] Python 3.13: build passed, [run 38705535781](https://github.com/ROCm/TheRock/actions/runs/38705535781) - [x] Python 3.14: build passed, [run 38705545732](https://github.com/ROCm/TheRock/actions/runs/38705545732) - Python 3.10: n/a. Triton 3.9 requires Python >=3.11, and TheRock dropped 3.10 release builds in ROCm/TheRock#8396 ([run 38705500960](https://github.com/ROCm/TheRock/actions/runs/38705500960) fails installing the triton wheel). - Python 3.15: n/a until ROCm/TheRock#8394 adds 3.15 to the build image ([run 38705556076](https://github.com/ROCm/TheRock/actions/runs/38705556076) fails at setup: `Could not find python: /opt/python/cp315-cp315`). The 3.15 pins were validated by the container install above. --------- Signed-off-by: pablo-garay <[email protected]>
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
Pin Python dependencies for the
release/2.14bringup so CI and builds are reproducible, and make everything resolve cleanly on Python 3.10 / 3.11 / 3.12 / 3.13 / 3.14. Mirrors the 2.13 bringup (#3445), plus the extra version-conditional bumps needed for 3.13/3.14.Three commits, one per file:
requirements.txt— pin all direct dev/install deps (with apython_versionsplit fornetworkx).requirements-build.txt— pin all build-system deps (with apython_versionsplit fornumpy)..ci/docker/requirements-ci.txt— pin the previously-loose entries (click,psutil,pytest-rerunfailures,unittest-xml-reporting,redis,pyzstdsplit,six,cuda-bindings,cupti-python,tqdm,uv,librosa) and addpython_versionconditionals for 3.13/3.14.Per-version splits (dev/build)
2.2.6(<3.11),2.4.6(==3.11),2.5.2(>=3.12).3.4.2(<3.11),3.6.1(>=3.11).Every other dev/build dep resolved identically across 3.10–3.14, so those are flat-pinned.
3.13 / 3.14 conditional bumps in requirements-ci.txt (new vs 2.13)
0.22.0for< 3.13,0.26.0for>= 3.13(0.22.0 has no cp313/cp314 wheel).2.8.8for< 3.13,3.6.1for>= 3.13(scikit-image 0.26 requires networkx>=3.0; keeping 2.8.8 forced pip to backtrack to a wheelless scikit-image).1.9.0for>= 3.14(1.7.0 has no cp314 wheel).< 3.14(itsthriftpy2dep has no cp314 wheel and would source-build in the compiler-less test image) — mirrors 2.13.How versions were resolved
Per the documented process (AIPYTORCH-748): installed each requirements file in a fresh venv inside an
ubuntu:24.04container (deadsnakes for the non-native Python versions) and pinned thepip freezeoutput. Verified all files install on 3.10–3.14 with no new compiler-dependent source builds (only pre-existingcoremltoolsfor <3.12 and pure-Pythonpwlf).Test plan
TheRock CI
multi_arch_build_portable_linux_pytorch_wheels.yml(gfx94X-dcgpu, ROCm 7.15.0a20260712,pytorch_git_ref= the pinned integration branch). The Build job passed for every Python version — torch + torchaudio + torchvision + triton + apex all built against the pinned requirements: