diff --git a/.github/workflows/build_doc_ci.yml b/.github/workflows/build_doc_ci.yml index a2176567a03..c9f48e02669 100644 --- a/.github/workflows/build_doc_ci.yml +++ b/.github/workflows/build_doc_ci.yml @@ -52,7 +52,7 @@ jobs: shell: powershell working-directory: scripts/docs/ run: |- - pip install langchain + pip install langchain tenacity<8.4.0 ./doc_generation.ps1 -WithReferenceDoc:$true -WarningAsError:$true # Note: We have this job separately because some error may missing when build link check exists. @@ -85,5 +85,5 @@ jobs: shell: powershell working-directory: scripts/docs/ run: |- - pip install langchain + pip install langchain tenacity<8.4.0 ./doc_generation.ps1 -WithReferenceDoc:$true -WarningAsError:$true -BuildLinkCheck diff --git a/.github/workflows/promptflow-executor-e2e-test.yml b/.github/workflows/promptflow-executor-e2e-test.yml index 93af8cdb637..705b02a117d 100644 --- a/.github/workflows/promptflow-executor-e2e-test.yml +++ b/.github/workflows/promptflow-executor-e2e-test.yml @@ -148,7 +148,7 @@ jobs: run: | gci env:* | sort-object name az account show - pip install langchain-community + pip install langchain-community tenacity<8.4.0 # numexpr is required by langchain in e2e tests. pip install numexpr python scripts/building/run_coverage_tests.py ` diff --git a/.github/workflows/promptflow-executor-unit-test.yml b/.github/workflows/promptflow-executor-unit-test.yml index 214a82495db..969fcff2757 100644 --- a/.github/workflows/promptflow-executor-unit-test.yml +++ b/.github/workflows/promptflow-executor-unit-test.yml @@ -150,7 +150,7 @@ jobs: run: | gci env:* | sort-object name az account show - pip install langchain-community + pip install langchain-community tenacity<8.4.0 python scripts/building/run_coverage_tests.py ` -p ${{ env.testWorkingDirectory }}/promptflow ` -t ${{ env.testWorkingDirectory }}/tests/executor/unittests ` diff --git a/.github/workflows/promptflow-import-linter.yml b/.github/workflows/promptflow-import-linter.yml index cafa3bfc81d..51a2a07bd29 100644 --- a/.github/workflows/promptflow-import-linter.yml +++ b/.github/workflows/promptflow-import-linter.yml @@ -67,5 +67,5 @@ jobs: echo "=== promptflow-azure full lints ===" poetry run pip install langchain + poetry run pip install "tenacity<8.4.0" poetry run python ${{ github.workspace }}/scripts/import_linter/import_linter.py -