Skip to content

Upgrade setuptools to 78.1.1 in rai vision and rai text #4232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN pip install git+https://github.com/huggingface/evaluate.git
# To resolve vulnerability issue
RUN pip install 'Werkzeug>=3.0.3'
RUN pip install 'tqdm>=4.66.3'
RUN pip install 'setuptools>=78.1.1'

# clean conda and pip caches
RUN conda run -p $CONDA_PREFIX pip cache purge && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
azure-ai-ml==1.25.0
azure-identity==1.20.0
azureml-core>=1.58.0
azureml-core>=1.58.0
marshmallow==3.19.0
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

BUILD_CONTEXT = Path("../context")
JOB_SOURCE_CODE = "src"
TIMEOUT_MINUTES = os.environ.get("timeout_minutes", 30)
TIMEOUT_MINUTES = os.environ.get("timeout_minutes", 60)
STD_LOG = Path("artifacts/user_logs/std_log.txt")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RUN pip install 'azureml-dataset-runtime=={{latest-pypi-version}}' \
RUN pip install 'scikit-learn>=1.5.1' \
'interpret-community==0.31.0' \
'Pillow>=10.3.0' \
'setuptools>=65.5.1' \
'numpy==1.26.2' \
'scipy==1.10.0' \
'statsmodels==0.14.0' \
Expand All @@ -66,6 +65,7 @@ RUN pip install 'lightgbm>=4.6.0'
RUN pip install 'torch>=2.2.2'
# To resolve GHSA-jh2j-j4j9-crg3 vulnerability issue
RUN pip install 'opencv-python-headless==4.8.1.78'
RUN pip install 'setuptools>=78.1.1'

# clean conda and pip caches
RUN conda run -p $CONDA_PREFIX pip cache purge && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
azure-ai-ml==1.25.0
azure-identity==1.20.0
azureml-core>=1.58.0
azureml-core>=1.58.0
marshmallow==3.19.0
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ outputs:
type: path
description: Json file to which UX is serialized to for viewing in static AzureML Studio UI
code: ../src
environment: azureml://registries/azureml/environments/responsibleai-text/versions/18
environment: azureml://registries/azureml/environments/responsibleai-text/versions/19
command: >-
python ./rai_text_insights.py
--task_type ${{inputs.task_type}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ outputs:
type: path
description: Json file to which UX is serialized to for viewing in static AzureML Studio UI
code: ../src
environment: azureml://registries/azureml/environments/responsibleai-vision/versions/21
environment: azureml://registries/azureml/environments/responsibleai-vision/versions/22
command: >-
python ./rai_vision_insights.py
--task_type ${{inputs.task_type}}
Expand Down
Loading