From a0d84f3354ac68f5d1d41316b66b34c7ba664506 Mon Sep 17 00:00:00 2001 From: Zhengfei Wang <38847871+zhengfeiwang@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:45:11 +0800 Subject: [PATCH] [azure][test] pin `azure-ai-ml` to aovid azure replay test breaking (#3661) # Description `azure-ai-ml` breaks Azure replay test since version 1.19.0, this PR targets to pin the version as a short-term workaround. # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [x] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](https://github.com/microsoft/promptflow/blob/main/CONTRIBUTING.md).** - [x] **I confirm that all new dependencies are compatible with the MIT license.** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [x] Pull request includes test coverage for the included changes. --- src/promptflow-azure/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/promptflow-azure/pyproject.toml b/src/promptflow-azure/pyproject.toml index 65d46e2e10b..1bb43faaaa7 100644 --- a/src/promptflow-azure/pyproject.toml +++ b/src/promptflow-azure/pyproject.toml @@ -58,6 +58,7 @@ promptflow-tools = {path = "../promptflow-tools"} promptflow-recording = {path = "../promptflow-recording", develop = true} [tool.poetry.group.ci.dependencies] +azure-ai-ml = ">=1.14.0,<1.19.0" # 1.19.0 will break azure replay test import-linter = "*" promptflow-core = {path = "../promptflow-core", extras = ["azureml-serving"]} promptflow-devkit = {path = "../promptflow-devkit"}