Skip to content

Commit 5101aec

Browse files
jamesbchaoqusongms
andauthored
Upgrade setuptools to 78.1.1 in rai vision and rai text (#4232)
* initial * fixups * increase responsibleai_text_sample_test timeout --------- Co-authored-by: qusongms <[email protected]> Co-authored-by: qunsong <[email protected]>
1 parent 865d32e commit 5101aec

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

assets/responsibleai/environments/responsibleai-text/context/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ RUN pip install git+https://github.com/huggingface/evaluate.git
4444
# To resolve vulnerability issue
4545
RUN pip install 'Werkzeug>=3.0.3'
4646
RUN pip install 'tqdm>=4.66.3'
47+
RUN pip install 'setuptools>=78.1.1'
4748

4849
# clean conda and pip caches
4950
RUN conda run -p $CONDA_PREFIX pip cache purge && \
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
azure-ai-ml==1.25.0
22
azure-identity==1.20.0
3-
azureml-core>=1.58.0
3+
azureml-core>=1.58.0
4+
marshmallow==3.19.0

assets/responsibleai/environments/responsibleai-text/tests/responsibleai_text_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
BUILD_CONTEXT = Path("../context")
1515
JOB_SOURCE_CODE = "src"
16-
TIMEOUT_MINUTES = os.environ.get("timeout_minutes", 30)
16+
TIMEOUT_MINUTES = os.environ.get("timeout_minutes", 60)
1717
STD_LOG = Path("artifacts/user_logs/std_log.txt")
1818

1919

assets/responsibleai/environments/responsibleai-vision/context/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ RUN pip install 'azureml-dataset-runtime=={{latest-pypi-version}}' \
4040
RUN pip install 'scikit-learn>=1.5.1' \
4141
'interpret-community==0.31.0' \
4242
'Pillow>=10.3.0' \
43-
'setuptools>=65.5.1' \
4443
'numpy==1.26.2' \
4544
'scipy==1.10.0' \
4645
'statsmodels==0.14.0' \
@@ -66,6 +65,7 @@ RUN pip install 'lightgbm>=4.6.0'
6665
RUN pip install 'torch>=2.2.2'
6766
# To resolve GHSA-jh2j-j4j9-crg3 vulnerability issue
6867
RUN pip install 'opencv-python-headless==4.8.1.78'
68+
RUN pip install 'setuptools>=78.1.1'
6969

7070
# clean conda and pip caches
7171
RUN conda run -p $CONDA_PREFIX pip cache purge && \
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
azure-ai-ml==1.25.0
22
azure-identity==1.20.0
3-
azureml-core>=1.58.0
3+
azureml-core>=1.58.0
4+
marshmallow==3.19.0

assets/responsibleai/text/components/rai_text_insights/spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ outputs:
6969
type: path
7070
description: Json file to which UX is serialized to for viewing in static AzureML Studio UI
7171
code: ../src
72-
environment: azureml://registries/azureml/environments/responsibleai-text/versions/18
72+
environment: azureml://registries/azureml/environments/responsibleai-text/versions/19
7373
command: >-
7474
python ./rai_text_insights.py
7575
--task_type ${{inputs.task_type}}

assets/responsibleai/vision/components/rai_vision_insights/spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ outputs:
116116
type: path
117117
description: Json file to which UX is serialized to for viewing in static AzureML Studio UI
118118
code: ../src
119-
environment: azureml://registries/azureml/environments/responsibleai-vision/versions/21
119+
environment: azureml://registries/azureml/environments/responsibleai-vision/versions/22
120120
command: >-
121121
python ./rai_vision_insights.py
122122
--task_type ${{inputs.task_type}}

0 commit comments

Comments
 (0)