From d292a304a12ffc18c4044590118157422122584d Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Fri, 24 Oct 2025 15:55:07 +0000 Subject: [PATCH 1/5] fix security issue --- pip_requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pip_requirements.txt b/pip_requirements.txt index 382b4deeb27c..45a8bae11905 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -1,5 +1,4 @@ ---extra-index-url https://test.pypi.org/simple -hip-python +hip-python --index-url https://test.pypi.org/simple tomli==2.0.1 numpy>=1.19.5, <=2.1.2 ml_dtypes>=0.1.0, <=0.5.0 # provides several NumPy dtype extensions, including the bf16 From f729314820e5c09b39ad6e7acc2042736d4857fd Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Fri, 24 Oct 2025 16:00:20 +0000 Subject: [PATCH 2/5] Fix URL --- pip_requirements.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pip_requirements.txt b/pip_requirements.txt index 45a8bae11905..1ad02273ce46 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -1,7 +1,6 @@ hip-python --index-url https://test.pypi.org/simple -tomli==2.0.1 -numpy>=1.19.5, <=2.1.2 -ml_dtypes>=0.1.0, <=0.5.0 # provides several NumPy dtype extensions, including the bf16 +numpy>=1.19.5,<=2.1.2 +ml_dtypes>=0.1.0,<=0.5.0 # provides several NumPy dtype extensions, including the bf16 scipy pandas jinja2 From f062ba5149a64522d7fb023034eb7bc37b394413 Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Fri, 24 Oct 2025 16:09:25 +0000 Subject: [PATCH 3/5] Fix --extra-index-url --- mlir/utils/jenkins/Dockerfile | 1 + pip_requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/utils/jenkins/Dockerfile b/mlir/utils/jenkins/Dockerfile index 0d720092634d..f9bd05d13ae6 100644 --- a/mlir/utils/jenkins/Dockerfile +++ b/mlir/utils/jenkins/Dockerfile @@ -97,6 +97,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # ^ pip install pandas... is needed to output performance tests and regenerate test suites # Has a copy of the requirements.txt install bit for the new python version +RUN pip install --index-url https://test.pypi.org/simple/ hip-python # Need "render" group because some CI hosts have /dev/kfd under it. RUN groupadd -f render diff --git a/pip_requirements.txt b/pip_requirements.txt index 1ad02273ce46..d3aca105a637 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -1,5 +1,4 @@ -hip-python --index-url https://test.pypi.org/simple -numpy>=1.19.5,<=2.1.2 +numpy>=1.19.5,<=2.1.2 ml_dtypes>=0.1.0,<=0.5.0 # provides several NumPy dtype extensions, including the bf16 scipy pandas From 3c37df1dc5e7241d45141fb194252034b221e47e Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Fri, 24 Oct 2025 16:13:43 +0000 Subject: [PATCH 4/5] Use pip3 --- mlir/utils/jenkins/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/utils/jenkins/Dockerfile b/mlir/utils/jenkins/Dockerfile index f9bd05d13ae6..b3f382d9bae4 100644 --- a/mlir/utils/jenkins/Dockerfile +++ b/mlir/utils/jenkins/Dockerfile @@ -97,7 +97,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # ^ pip install pandas... is needed to output performance tests and regenerate test suites # Has a copy of the requirements.txt install bit for the new python version -RUN pip install --index-url https://test.pypi.org/simple/ hip-python +RUN pip3 install --index-url https://test.pypi.org/simple/ hip-python # Need "render" group because some CI hosts have /dev/kfd under it. RUN groupadd -f render From e85183e6fede3acde05c4efd846708704fdc2e98 Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Fri, 24 Oct 2025 16:26:39 +0000 Subject: [PATCH 5/5] remove hip-python only --- pip_requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pip_requirements.txt b/pip_requirements.txt index d3aca105a637..5888e7eb0a96 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -1,5 +1,6 @@ -numpy>=1.19.5,<=2.1.2 -ml_dtypes>=0.1.0,<=0.5.0 # provides several NumPy dtype extensions, including the bf16 +tomli==2.0.1 +numpy>=1.19.5, <=2.1.2 +ml_dtypes>=0.1.0, <=0.5.0 # provides several NumPy dtype extensions, including the bf16 scipy pandas jinja2