From e6952b04d54c360fb65406dc7b269efa15071164 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 25 Mar 2024 13:46:29 -0700 Subject: [PATCH] cohere[patch]: fix release (#19529) --- .github/workflows/_integration_test.yml | 1 + .github/workflows/_release.yml | 1 + libs/partners/cohere/poetry.lock | 14 +++++++++++++- libs/partners/cohere/pyproject.toml | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_integration_test.yml b/.github/workflows/_integration_test.yml index fead96b5674..3d4019bd125 100644 --- a/.github/workflows/_integration_test.yml +++ b/.github/workflows/_integration_test.yml @@ -76,6 +76,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }} VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }} + COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} run: | make integration_tests diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 49b20777dca..a9f9ce73dd6 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -215,6 +215,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }} VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }} + COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} run: make integration_tests working-directory: ${{ inputs.working-directory }} diff --git a/libs/partners/cohere/poetry.lock b/libs/partners/cohere/poetry.lock index 5a9ce3dfb63..e3fae42bd8e 100644 --- a/libs/partners/cohere/poetry.lock +++ b/libs/partners/cohere/poetry.lock @@ -190,6 +190,17 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +[[package]] +name = "defusedxml" +version = "0.7.1" +description = "XML bomb protection for Python stdlib modules" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +files = [ + {file = "defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61"}, + {file = "defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69"}, +] + [[package]] name = "exceptiongroup" version = "1.2.0" @@ -332,6 +343,7 @@ develop = true [package.dependencies] anyio = ">=3,<5" +defusedxml = "^0.7" jsonpatch = "^1.33" langsmith = "^0.1.0" packaging = "^23.2" @@ -945,4 +957,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "2c92d85fe59e96a6595d10908cbf35e61bb02b7b952e507a7b05b4f621b00965" +content-hash = "7ed2d31c084d528c64eb959df1a2ea29345a70117e9d29f322607fe247804cc5" diff --git a/libs/partners/cohere/pyproject.toml b/libs/partners/cohere/pyproject.toml index 9967e6b229f..41b7f21f708 100644 --- a/libs/partners/cohere/pyproject.toml +++ b/libs/partners/cohere/pyproject.toml @@ -12,7 +12,7 @@ license = "MIT" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" -langchain-core = ">=0.0.12" +langchain-core = "^0.1.32" cohere = "^5.1.1" [tool.poetry.group.test]