From 0235c3acc61a7de938d7a8297c2113ea7bc48df2 Mon Sep 17 00:00:00 2001 From: Tom Care Date: Fri, 10 Apr 2020 12:30:05 -0700 Subject: [PATCH 1/2] Update CI conda deps to match training/scoring SDK - Tied SDK version to 1.2.x as with conda_dependencies.yml - Allow deps to fall out based on SDK - Kept the rest of the deps manually specified to keep image size small and minimize regressions --- diabetes_regression/ci_dependencies.yml | 27 +++++++++++++------------ 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/diabetes_regression/ci_dependencies.yml b/diabetes_regression/ci_dependencies.yml index a6033e42..0526e6af 100644 --- a/diabetes_regression/ci_dependencies.yml +++ b/diabetes_regression/ci_dependencies.yml @@ -2,26 +2,27 @@ name: mlopspython_ci dependencies: # The python interpreter version. - - python=3.7.5 + - python=3.7.* # dependencies with versions aligned with conda_dependencies.yml. - - numpy=1.18.1 - - pandas=1.0.0 - - scikit-learn=0.22.1 + - numpy + - pandas + - scikit-learn # dependencies for MLOps with R. - r=3.6.0 - r-essentials=3.6.0 - - pip=20.0.2 + - pip + - pip: # dependencies with versions aligned with conda_dependencies.yml. - - azureml-sdk==1.1.5.1 + - azureml-sdk==1.2.* # Additional pip dependencies for the CI environment. - - pytest==5.3.1 - - pytest-cov==2.8.1 - - requests==2.22.0 - - python-dotenv==0.10.3 - - flake8==3.7.9 - - flake8_formatter_junit_xml==0.0.6 - - azure-cli==2.2.0 + - pytest + - pytest-cov + - requests + - python-dotenv + - flake8 + - flake8_formatter_junit_xml + - azure-cli From adfa587ea218ff9fcff9813e1150f603af8e9883 Mon Sep 17 00:00:00 2001 From: Tom Care Date: Mon, 13 Apr 2020 12:30:42 -0700 Subject: [PATCH 2/2] Lock versions to point updates --- diabetes_regression/ci_dependencies.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/diabetes_regression/ci_dependencies.yml b/diabetes_regression/ci_dependencies.yml index 0526e6af..eeb359f3 100644 --- a/diabetes_regression/ci_dependencies.yml +++ b/diabetes_regression/ci_dependencies.yml @@ -5,24 +5,24 @@ dependencies: - python=3.7.* # dependencies with versions aligned with conda_dependencies.yml. - - numpy - - pandas - - scikit-learn + - numpy=1.18.* + - pandas=1.0.* + - scikit-learn=0.22.* # dependencies for MLOps with R. - r=3.6.0 - r-essentials=3.6.0 - - pip + - pip=20.0.* - pip: # dependencies with versions aligned with conda_dependencies.yml. - azureml-sdk==1.2.* # Additional pip dependencies for the CI environment. - - pytest - - pytest-cov - - requests - - python-dotenv - - flake8 - - flake8_formatter_junit_xml - - azure-cli + - pytest==5.4.* + - pytest-cov==2.8.* + - requests==2.23.* + - python-dotenv==0.12.* + - flake8==3.7.* + - flake8_formatter_junit_xml==0.0.* + - azure-cli==2.3.*