From 8dda7c32bad1f69abb38ed7b151ae3171f84cec2 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 22 Feb 2024 17:22:35 -0800 Subject: [PATCH 1/6] infra: ci failure job (#17989) --- .github/workflows/check_diffs.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check_diffs.yml b/.github/workflows/check_diffs.yml index f13e8648cbce99..7769b3df61d850 100644 --- a/.github/workflows/check_diffs.yml +++ b/.github/workflows/check_diffs.yml @@ -126,22 +126,23 @@ jobs: # grep will exit non-zero if the target message isn't found, # and `set -e` above will cause the step to fail. echo "$STATUS" | grep 'nothing to commit, working tree clean' - ci_end: + ci_success: name: "CI Success" needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests] - if: ${{ always() }} runs-on: ubuntu-latest steps: - name: "CI Success" - if: ${{ !failure() }} run: | echo "Success" exit 0 + # this one is just for visibility, where CI success step gets skipped + ci_failure: + name: "CI Failure" + needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests] + if: ${{ !success() }} + runs-on: ubuntu-latest + steps: - name: "CI Failure" - if: ${{ failure() }} run: | echo "Failure" exit 1 - - - From a2886c450927bd5b131974ad55e09725961bf6d9 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 22 Feb 2024 17:26:55 -0800 Subject: [PATCH 2/6] infra: skip codespell ambr (#17992) --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 738e0643346b8c..28ede12c3e4a74 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -32,6 +32,6 @@ jobs: - name: Codespell uses: codespell-project/actions-codespell@v2 with: - skip: guide_imports.json + skip: guide_imports.json,*.ambr ignore_words_list: ${{ steps.extract_ignore_words.outputs.ignore_words_list }} exclude_file: libs/community/langchain_community/llms/yuan2.py From cc0290fdf3812c8ce307820ac1c8e592fa613a13 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 22 Feb 2024 21:33:59 -0800 Subject: [PATCH 3/6] openai[patch]: Release 0.0.7 (#17993) --- libs/partners/openai/poetry.lock | 12 ++++++------ libs/partners/openai/pyproject.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/partners/openai/poetry.lock b/libs/partners/openai/poetry.lock index c8e76949df1707..de7d834281075b 100644 --- a/libs/partners/openai/poetry.lock +++ b/libs/partners/openai/poetry.lock @@ -318,7 +318,7 @@ files = [ [[package]] name = "langchain-core" -version = "0.1.23" +version = "0.1.26" description = "Building applications with LLMs through composability" optional = false python-versions = ">=3.8.1,<4.0" @@ -328,7 +328,7 @@ develop = true [package.dependencies] anyio = ">=3,<5" jsonpatch = "^1.33" -langsmith = "^0.0.87" +langsmith = "^0.1.0" packaging = "^23.2" pydantic = ">=1,<3" PyYAML = ">=5.3" @@ -344,13 +344,13 @@ url = "../../core" [[package]] name = "langsmith" -version = "0.0.87" +version = "0.1.5" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." optional = false python-versions = ">=3.8.1,<4.0" files = [ - {file = "langsmith-0.0.87-py3-none-any.whl", hash = "sha256:8903d3811b9fc89eb18f5961c8e6935fbd2d0f119884fbf30dc70b8f8f4121fc"}, - {file = "langsmith-0.0.87.tar.gz", hash = "sha256:36c4cc47e5b54be57d038036a30fb19ce6e4c73048cd7a464b8f25b459694d34"}, + {file = "langsmith-0.1.5-py3-none-any.whl", hash = "sha256:a1811821a923d90e53bcbacdd0988c3c366aff8f4c120d8777e7af8ecda06268"}, + {file = "langsmith-0.1.5.tar.gz", hash = "sha256:aa7a2861aa3d9ae563a077c622953533800466c4e2e539b0d567b84d5fd5b157"}, ] [package.dependencies] @@ -1125,4 +1125,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "b4e8b107da054bb20fbdac062c95897c92df0100d0d387b47719adb93b55355a" +content-hash = "9042268bae5a1a551376a56281b3ba357893326bba0aeade8121c5d8d069998d" diff --git a/libs/partners/openai/pyproject.toml b/libs/partners/openai/pyproject.toml index 2308a97cf67af5..67f2b6fc5f9c8c 100644 --- a/libs/partners/openai/pyproject.toml +++ b/libs/partners/openai/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langchain-openai" -version = "0.0.6" +version = "0.0.7" description = "An integration package connecting OpenAI and LangChain" authors = [] readme = "README.md" @@ -12,7 +12,7 @@ license = "MIT" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" -langchain-core = "^0.1.16" +langchain-core = "^0.1.26" openai = "^1.10.0" numpy = "^1" tiktoken = ">=0.5.2,<1" From b46d6b04e1d735d6be768ac6fa424e883ce8fadf Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 22 Feb 2024 21:35:04 -0800 Subject: [PATCH 4/6] community[patch]: Release 0.0.22 (#17994) --- libs/community/poetry.lock | 4 ++-- libs/community/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/community/poetry.lock b/libs/community/poetry.lock index be5c69eebb2adf..73fcd32a7afeb3 100644 --- a/libs/community/poetry.lock +++ b/libs/community/poetry.lock @@ -3650,7 +3650,7 @@ files = [ [[package]] name = "langchain-core" -version = "0.1.24" +version = "0.1.26" description = "Building applications with LLMs through composability" optional = false python-versions = ">=3.8.1,<4.0" @@ -9162,4 +9162,4 @@ extended-testing = ["aiosqlite", "aleph-alpha-client", "anthropic", "arxiv", "as [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "5fdd9b2eb766411463fa27e19433daf5d5325f2af01ddd93b6a594e3e02a31de" +content-hash = "200df001a4e2099d4c41040984391acbdbc5719a072f80e3ee929221a7e8dfeb" diff --git a/libs/community/pyproject.toml b/libs/community/pyproject.toml index abf8dc89b6384d..64efa2bc20940b 100644 --- a/libs/community/pyproject.toml +++ b/libs/community/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langchain-community" -version = "0.0.21" +version = "0.0.22" description = "Community contributed LangChain integrations." authors = [] license = "MIT" @@ -9,7 +9,7 @@ repository = "https://github.com/langchain-ai/langchain" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" -langchain-core = ">=0.1.24,<0.2" +langchain-core = ">=0.1.26,<0.2" SQLAlchemy = ">=1.4,<3" requests = "^2" PyYAML = ">=5.3" From d9e6ca22799fe54482f5ca02eead6a23f0006c31 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 22 Feb 2024 21:45:30 -0800 Subject: [PATCH 5/6] lanchain[patch]: Release 0.1.9 (#17999) --- libs/langchain/poetry.lock | 4 ++-- libs/langchain/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/langchain/poetry.lock b/libs/langchain/poetry.lock index 1028d8b813dc41..2ca427c10685e8 100644 --- a/libs/langchain/poetry.lock +++ b/libs/langchain/poetry.lock @@ -3474,7 +3474,7 @@ url = "../community" [[package]] name = "langchain-core" -version = "0.1.24" +version = "0.1.26" description = "Building applications with LLMs through composability" optional = false python-versions = ">=3.8.1,<4.0" @@ -9150,4 +9150,4 @@ text-helpers = ["chardet"] [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "417ecc70e983739852f1556da647cf6c97ae6236b670d37227a19d1be92cb66d" +content-hash = "30df9669a4ed14c320cf8aac20f43d96234bad6d12ec6b6ac49984320832e029" diff --git a/libs/langchain/pyproject.toml b/libs/langchain/pyproject.toml index 17f7e50f76d559..f008d8a122acb8 100644 --- a/libs/langchain/pyproject.toml +++ b/libs/langchain/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langchain" -version = "0.1.8" +version = "0.1.9" description = "Building applications with LLMs through composability" authors = [] license = "MIT" @@ -12,7 +12,7 @@ langchain-server = "langchain.server:main" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" -langchain-core = ">=0.1.24,<0.2" +langchain-core = ">=0.1.26,<0.2" langchain-community = ">=0.0.21,<0.1" langsmith = "^0.1.0" pydantic = ">=1,<3" From 4197efd67a44f8bfd4875d63b960accf534cdeef Mon Sep 17 00:00:00 2001 From: Guangdong Liu Date: Fri, 23 Feb 2024 22:40:29 +0800 Subject: [PATCH 6/6] community: Fix SparkLLM error (#18015) Thank you for contributing to LangChain! - [x] **PR title**: "package: description" - Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..." for purely docs changes, "templates: ..." for template changes, "infra: ..." for CI changes. - Example: "community: add foobar LLM" - **Description:** fix SparkLLM error - **Issue:** the issue # it fixes, if applicable - **Dependencies:** any dependencies required for this change - **Twitter handle:** if your PR gets announced, and you'd like a mention, we'll gladly shout you out! --- libs/community/langchain_community/llms/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/llms/__init__.py b/libs/community/langchain_community/llms/__init__.py index 42cd3f0c2739b5..e894e76db0b778 100644 --- a/libs/community/langchain_community/llms/__init__.py +++ b/libs/community/langchain_community/llms/__init__.py @@ -959,5 +959,5 @@ def get_type_to_cls_dict() -> Dict[str, Callable[[], Type[BaseLLM]]]: "yandex_gpt": _import_yandex_gpt, "yuan2": _import_yuan2, "VolcEngineMaasLLM": _import_volcengine_maas, - "SparkLLM": _import_sparkllm(), + "SparkLLM": _import_sparkllm, }