From 4a91f864d14e8fa187b3badbbf7cbee84fb0e015 Mon Sep 17 00:00:00 2001 From: B-Step62 Date: Thu, 15 Feb 2024 13:14:15 +0900 Subject: [PATCH 1/3] Remove langchain CI test workaround of installing langchain-community from source Signed-off-by: B-Step62 --- .github/workflows/cross-version-tests.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/cross-version-tests.yml b/.github/workflows/cross-version-tests.yml index 5b08187318e51..e13d03e619d44 100644 --- a/.github/workflows/cross-version-tests.yml +++ b/.github/workflows/cross-version-tests.yml @@ -188,13 +188,6 @@ jobs: - name: Install ${{ matrix.package }} ${{ matrix.version }} run: | ${{ matrix.install }} - # temp workaround before langchain_community release the following PR in a new version - # https://github.com/langchain-ai/langchain/pull/15691 - if [ "${{ matrix.package }}/${{ matrix.category }}" = "langchain/autologging" ] - then - pip uninstall -y langchain_community - pip install git+https://github.com/hwchase17/langchain#subdirectory=libs/community - fi - name: Install pydantic no-binary for langchain if: matrix.package == 'langchain' && ( matrix.version == 'dev' || matrix.version >= '0.0.267') run: | From 162140cf855f5febe541bdeffa38c1d203ce5bc2 Mon Sep 17 00:00:00 2001 From: B-Step62 Date: Thu, 15 Feb 2024 13:33:13 +0900 Subject: [PATCH 2/3] dummy commit to trigger test Signed-off-by: B-Step62 --- mlflow/langchain/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mlflow/langchain/__init__.py b/mlflow/langchain/__init__.py index 1d483a5583b91..7d888f5e6c068 100644 --- a/mlflow/langchain/__init__.py +++ b/mlflow/langchain/__init__.py @@ -82,6 +82,8 @@ _MODEL_TYPE_KEY = "model_type" +_DUMMY = "haha" + def get_default_pip_requirements(): """ Returns: From 639ef968f5be11a21d018c072356749fa24aecf6 Mon Sep 17 00:00:00 2001 From: B-Step62 Date: Thu, 15 Feb 2024 14:09:52 +0900 Subject: [PATCH 3/3] revert dummy commit Signed-off-by: B-Step62 --- mlflow/langchain/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mlflow/langchain/__init__.py b/mlflow/langchain/__init__.py index 7d888f5e6c068..1d483a5583b91 100644 --- a/mlflow/langchain/__init__.py +++ b/mlflow/langchain/__init__.py @@ -82,8 +82,6 @@ _MODEL_TYPE_KEY = "model_type" -_DUMMY = "haha" - def get_default_pip_requirements(): """ Returns: