From 561d2e515e64c87efd7eb3b51cb50ec1cea5c1e2 Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:32:55 +0530 Subject: [PATCH 1/6] testing --- sdk/ml/azure-ai-ml/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/ml/azure-ai-ml/CHANGELOG.md b/sdk/ml/azure-ai-ml/CHANGELOG.md index 6890cd8fc09d..2d6fba0136ad 100644 --- a/sdk/ml/azure-ai-ml/CHANGELOG.md +++ b/sdk/ml/azure-ai-ml/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.25.0 (Unreleased) ### Features Added + - Test ### Bugs Fixed From f230ef72cff4340b9f4d34a0bb6acfae0ce8d38b Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:25:07 +0530 Subject: [PATCH 2/6] api review comment for kwargs in job entity --- sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py b/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py index 0413eb447630..b181636ed722 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py @@ -17,16 +17,10 @@ from azure.ai.ml._restclient.v2023_04_01_preview.models import JobBase, JobService from azure.ai.ml._restclient.v2023_04_01_preview.models import JobType as RestJobType from azure.ai.ml._restclient.v2024_01_01_preview.models import JobBase as JobBase_2401 -from azure.ai.ml._restclient.v2024_01_01_preview.models import ( - JobType as RestJobType_20240101Preview, -) +from azure.ai.ml._restclient.v2024_01_01_preview.models import JobType as RestJobType_20240101Preview from azure.ai.ml._utils._html_utils import make_link, to_html from azure.ai.ml._utils.utils import dump_yaml_to_file -from azure.ai.ml.constants._common import ( - BASE_PATH_CONTEXT_KEY, - PARAMS_OVERRIDE_KEY, - CommonYamlFields, -) +from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY, PARAMS_OVERRIDE_KEY, CommonYamlFields from azure.ai.ml.constants._compute import ComputeType from azure.ai.ml.constants._job.job import JobServices, JobType from azure.ai.ml.entities._mixins import TelemetryMixin @@ -76,8 +70,6 @@ class Job(Resource, ComponentTranslatableMixin, TelemetryMixin): :type services: Optional[dict[str, ~azure.ai.ml.entities.JobService]] :param compute: Information about the compute resources associated with the job. :type compute: Optional[str] - :keyword kwargs: A dictionary of additional configuration parameters. - :paramtype kwargs: dict """ def __init__( From 3f360f9d0a05f4ec74283edbb6d546cc96b22544 Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:27:26 +0530 Subject: [PATCH 3/6] remove unuse entry in change log --- sdk/ml/azure-ai-ml/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/ml/azure-ai-ml/CHANGELOG.md b/sdk/ml/azure-ai-ml/CHANGELOG.md index 281b8a69859e..9cc7e26d35b2 100644 --- a/sdk/ml/azure-ai-ml/CHANGELOG.md +++ b/sdk/ml/azure-ai-ml/CHANGELOG.md @@ -7,7 +7,6 @@ ## 1.25.0 (2025-02-11) ### Features Added - - Test ### Bugs Fixed - #39187 - Submitting a Command job created using the __call__ method on another Command is missing outputs. From 49951b0083fba3780adce5dbde33cb75462b1fb6 Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Thu, 23 Oct 2025 14:15:49 +0530 Subject: [PATCH 4/6] disabling 3.14 test cases --- sdk/ml/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/ml/ci.yml b/sdk/ml/ci.yml index 82c4f5a25c82..d89eaaac0366 100644 --- a/sdk/ml/ci.yml +++ b/sdk/ml/ci.yml @@ -32,6 +32,8 @@ extends: ServiceDirectory: ml TestTimeoutInMinutes: 75 TestProxy: true + MatrixFilters: + - PythonVersion=^(?!3\.14) # This is a short term solution to create API review for python azure-ml package only when running pipeline manually # Long term solution should be to have different versions on main branch and release branch for python package so APIView can have different revisions for each version. # Tracking issue: https://github.com/Azure/azure-sdk-for-python/issues/29196 From 5a4f620afbaaacf76c3175f1e4137a68913694b6 Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Thu, 23 Oct 2025 15:19:56 +0530 Subject: [PATCH 5/6] testability matrix --- eng/tools/azure-sdk-tools/ci_tools/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tools/azure-sdk-tools/ci_tools/functions.py b/eng/tools/azure-sdk-tools/ci_tools/functions.py index 09295b829000..2d6a2b338fc7 100644 --- a/eng/tools/azure-sdk-tools/ci_tools/functions.py +++ b/eng/tools/azure-sdk-tools/ci_tools/functions.py @@ -55,7 +55,7 @@ "sdk/textanalytics/azure-ai-textanalytics", ] -TEST_COMPATIBILITY_MAP = {"azure-ai-ml": ">=3.7"} +TEST_COMPATIBILITY_MAP = {"azure-ai-ml": ">=3.7, !=3.14.*"} TEST_PYTHON_DISTRO_INCOMPATIBILITY_MAP = { "azure-storage-blob": "pypy", "azure-storage-queue": "pypy", From 1ffdb80d2ae6770b80fd073b11792999cf37abbf Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Thu, 23 Oct 2025 15:41:40 +0530 Subject: [PATCH 6/6] following eval --- sdk/ml/ci.yml | 5 +++ sdk/ml/platform-matrix.json | 64 +++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 sdk/ml/platform-matrix.json diff --git a/sdk/ml/ci.yml b/sdk/ml/ci.yml index d89eaaac0366..060a9cc19baf 100644 --- a/sdk/ml/ci.yml +++ b/sdk/ml/ci.yml @@ -32,6 +32,11 @@ extends: ServiceDirectory: ml TestTimeoutInMinutes: 75 TestProxy: true + MatrixConfigs: + - Name: ai_ci_matrix + Path: sdk/ml/platform-matrix.json + Selection: sparse + GenerateVMJobs: true MatrixFilters: - PythonVersion=^(?!3\.14) # This is a short term solution to create API review for python azure-ml package only when running pipeline manually diff --git a/sdk/ml/platform-matrix.json b/sdk/ml/platform-matrix.json new file mode 100644 index 000000000000..5729efe0ad67 --- /dev/null +++ b/sdk/ml/platform-matrix.json @@ -0,0 +1,64 @@ +{ + "displayNames": { + "--disablecov": "", + "false": "", + "true": "" + }, + "matrix": { + "Agent": { + "macos-latest": { "OSVmImage": "env:MACVMIMAGE", "Pool": "env:MACPOOL" }, + "ubuntu-24.04": { "OSVmImage": "env:LINUXVMIMAGE", "Pool": "env:LINUXPOOL" } + }, + "PythonVersion": [ "3.9", "3.11", "3.10" ], + "CoverageArg": "--disablecov", + "TestSamples": "false" + }, + "include": [ + { + "CoverageConfig": { + "ubuntu2404_39_coverage": { + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", + "PythonVersion": "3.9", + "CoverageArg": "", + "TestSamples": "false" + } + } + }, + { + "Config": { + "Ubuntu2404_312": { + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", + "PythonVersion": "3.12", + "CoverageArg": "--disablecov", + "TestSamples": "false" + } + } + }, + { + "Config": { + "sk_Ubuntu2404_310": { + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", + "PythonVersion": "3.10", + "CoverageArg": "--disablecov", + "TestSamples": "false", + "InjectedPackages": "semantic-kernel", + "UnsupportedToxEnvironments": "sdist,depends,latestdependency,mindependency,whl_no_aio" + } + } + }, + { + "Config": { + "Ubuntu2404_313": { + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", + "PythonVersion": "3.13", + "CoverageArg": "--disablecov", + "TestSamples": "false" + } + } + } + ] +}