Skip to content

Commit

Permalink
Fix RAI image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft committed Nov 27, 2024
1 parent 57da35d commit e8bdfb1
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ extra_config: environment.yaml
test:
pytest:
enabled: true
pip_requirements: tests/requirements.txt
conda_environment: tests/test_conda_env.yaml
tests_dir: tests
categories: ["Responsible AI"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
azure-ai-ml~=1.0.0
azure.identity==1.10.0
azureml-core~=1.53.0
azure-ai-ml==1.22.4
azure.identity==1.19.0
azureml-core>=1.58.0
azureml-mlflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channels:
- conda-forge
- defaults
- anaconda
dependencies:
- python=3.12.0
- pip
- pip:
- -r requirements.txt
## Test requirements
- pytest
- tqdm
- azure-core
name: rai_test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spec: spec.yaml
extra_config: environment.yaml
test:
pytest:
enabled: true
pip_requirements: tests/requirements.txt
enabled: true
conda_environment: tests/test_conda_env.yaml
tests_dir: tests
categories: ["Responsible AI"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channels:
- conda-forge
- defaults
- anaconda
dependencies:
- python=3.12.0
- pip
- pip:
- -r requirements.txt
## Test requirements
- pytest
- tqdm
- azure-core
name: rai_test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ extra_config: environment.yaml
test:
pytest:
enabled: true
pip_requirements: tests/requirements.txt
conda_environment: tests/test_conda_env.yaml
tests_dir: tests
categories: ["Responsible AI"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channels:
- conda-forge
- defaults
- anaconda
dependencies:
- python=3.12.0
- pip
- pip:
- -r requirements.txt
## Test requirements
- pytest
- tqdm
- azure-core
name: rai_test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_azure_ai_ml_automl():
subscription_id = os.environ.get("subscription_id")
resource_group = os.environ.get("resource_group")
workspace_name = os.environ.get("workspace")

# test
ml_client = MLClient(
AzureCliCredential(), subscription_id, resource_group, workspace_name
)
Expand Down

0 comments on commit e8bdfb1

Please sign in to comment.