release/2.13 bringup: pin requirements.txt#3445
Conversation
|
Jenkins build for db77a8d1ef918bdd6d9f794ecbdef27438c38468 commit finished as FAILURE |
|
Jenkins build for 7e6e20148a5a62abfba8f80622d0cd5c1b0f9c2a commit finished as NOT_BUILT |
|
Jenkins build for 7e6e20148a5a62abfba8f80622d0cd5c1b0f9c2a commit finished as FAILURE |
|
Jenkins build for cc7053e19dcf530997dde6ff1d5f72b4a071b370 commit finished as FAILURE |
|
Jenkins build for 0bdf6021017b89b9ffd5a340428399f6e32b2f03 commit finished as NOT_BUILT |
|
Jenkins build for 821d306eeffd90843bd654cf50fada711e217bad commit finished as NOT_BUILT |
|
Jenkins build for 821d306eeffd90843bd654cf50fada711e217bad commit finished as FAILURE Detected error during base docker image building: |
|
@pablo-garay Thanks for the PR. I would suggest we kick off builds on theRock CI for all python versions, so we can get a signal on how the build and core tests do with this pinning logic. @ethanwee1 can provide you more info on how to do that. |
Pin requirements.txt to the same versions used on release/2.12 (identical package set; optree kept split on python_version 3.14 as in 2.12). Signed-off-by: pablo-garay <pgarayfe@amd.com>
…pins Pin build-system deps in requirements-build.txt and set the direct requirements.txt pins to the versions selected for the 2.13 release. build keeps the [uv] extra (build[uv]==1.5.0). Signed-off-by: pablo-garay <pgarayfe@amd.com>
setuptools==81.0.0 and numpy==2.5.1. Signed-off-by: pablo-garay <pgarayfe@amd.com>
Signed-off-by: pablo-garay <pgarayfe@amd.com>
networkx 3.4.2 (<3.11) / 3.6.1 (>=3.11) in requirements.txt; numpy 2.2.6 (<3.11) / 2.4.6 (==3.11) / 2.5.1 (>=3.12) in requirements-build.txt. Signed-off-by: pablo-garay <pgarayfe@amd.com>
Pin the previously-loose entries to resolved versions (verified via uv pip compile on py3.10-3.14): click, librosa (<3.11), psutil, pytest-rerunfailures, unittest-xml-reporting, redis, pyzstd (split <3.13/>=3.13), six, tqdm, cuda-bindings, uv. Signed-off-by: pablo-garay <pgarayfe@amd.com>
cupti-python==13.3.0 (resolved uniform across py3.10-3.13; absent on 3.14 per existing marker). Marker/comment preserved. Signed-off-by: pablo-garay <pgarayfe@amd.com>
Revert the cuda-bindings hard pin back to the upstream range so it matches the accompanying comment (allow minor updates within the CUDA 13 major). Signed-off-by: pablo-garay <pgarayfe@amd.com>
821d306 to
c4dc10e
Compare
|
Jenkins build for 7bec22985731d62949ba36ea672f1108a9d76939 commit finished as NOT_BUILT |
fbscribelogger==0.1.7 caps thriftpy2<0.6.0, and thriftpy2 only ships cp314 wheels from 0.6.0. On Python 3.14 pip therefore source-builds thriftpy2 via distutils/gcc, which fails in the compiler-less test image (no_rocm_image_ubuntu24_04). fbscribelogger is a no-op on OSS/ROCm CI, so gate it to python_version < 3.14. Signed-off-by: pablo-garay <pgarayfe@amd.com>
|
Jenkins build for 7bec22985731d62949ba36ea672f1108a9d76939 commit finished as FAILURE |
done ; PTAL @ PR description |
Summary
Pin Python dependencies for the release/2.13 bringup so CI and builds are reproducible.
requirements.txt— pin all direct dev deps (with apython_versionsplit fornetworkx).requirements-build.txt— pin all build-system deps (with apython_versionsplit fornumpy)..ci/docker/requirements-ci.txt— pin the 12 previously-loose entries:click,librosa(<3.11),psutil,pytest-rerunfailures,unittest-xml-reporting,redis,pyzstd(<3.13/>=3.13),six,tqdm,cuda-bindings,cupti-python,uv. Everything else in the file was already pinned.Versions were resolved with
uv pip compileand verified to resolve cleanly on Python 3.10–3.14.Tested/Verified:
TESTED on different versions; good enough results (build steps passed + test failures unrelated to changes):
Py3.10: https://github.com/ROCm/TheRock/actions/runs/29779170268/job/88480432450
Py3.11: https://github.com/ROCm/TheRock/actions/runs/29779138751/job/88480277806
Py3.12: https://github.com/ROCm/TheRock/actions/runs/29593825191/job/87929269396
Py3.13: https://github.com/ROCm/TheRock/actions/runs/29779082237/job/88479960891
Py3.14: https://github.com/ROCm/TheRock/actions/runs/29783793885/job/88490775157