Skip to content

langchain_cohere: add cohere as a partner package #10630

langchain_cohere: add cohere as a partner package

langchain_cohere: add cohere as a partner package #10630

Triggered via pull request March 13, 2024 23:59
Status Failure
Total duration 1m 3s
Artifacts

check_diffs.yml

on: pull_request
Matrix: compile-integration-tests
Matrix: dependencies
Matrix: extended-tests
Matrix: lint
Matrix: test
CI Success
0s
CI Success
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 1 warning
Ruff (I001): libs/partners/cohere/langchain_cohere/chat_models.py#L1
langchain_cohere/chat_models.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): libs/partners/cohere/langchain_cohere/embeddings.py#L1
langchain_cohere/embeddings.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/langchain_cohere/embeddings.py#L1
langchain_cohere/embeddings.py:1:20: F401 `typing.Any` imported but unused
Ruff (E501): libs/partners/cohere/langchain_cohere/embeddings.py#L74
langchain_cohere/embeddings.py:74:89: E501 Line too long (92 > 88)
Ruff (E501): libs/partners/cohere/langchain_cohere/embeddings.py#L85
langchain_cohere/embeddings.py:85:89: E501 Line too long (92 > 88)
Ruff (I001): libs/partners/cohere/langchain_cohere/llms.py#L1
langchain_cohere/llms.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/tests/integration_tests/test_llms.py#L2
tests/integration_tests/test_llms.py:2:35: F401 `langchain_cohere.llms.BaseCohere` imported but unused
Ruff (I001): libs/partners/cohere/tests/unit_tests/test_llms.py#L3
tests/unit_tests/test_llms.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/tests/unit_tests/test_llms.py#L3
tests/unit_tests/test_llms.py:3:21: F401 `pathlib.Path` imported but unused
Ruff (F401): libs/partners/cohere/tests/unit_tests/test_llms.py#L9
tests/unit_tests/test_llms.py:9:46: F401 `langchain_community.llms.loading.load_llm` imported but unused
cd libs/partners/cohere / poetry run pytest -m compile tests/integration_tests #3.11
The job was canceled because "_3_10" failed.
cd libs/partners/cohere / make test #3.11
Process completed with exit code 2.
cd libs/partners/cohere / make test #3.8
The job was canceled because "_3_11" failed.
cd libs/partners/cohere / make test #3.8
Process completed with exit code 2.
cd libs/partners/cohere / make test #3.10
The job was canceled because "_3_11" failed.
cd libs/partners/cohere / make test #3.10
Process completed with exit code 2.
cd libs/partners/cohere / poetry run pytest -m compile tests/integration_tests #3.8
The job was canceled because "_3_10" failed.
cd libs/partners/cohere / poetry run pytest -m compile tests/integration_tests #3.9
The job was canceled because "_3_10" failed.
cd libs/partners/cohere / make test #3.9
The job was canceled because "_3_11" failed.
cd libs/partners/cohere / make test #3.9
Process completed with exit code 2.
cd libs/partners/cohere / make lint #3.11
The job was canceled because "_3_8" failed.
Ruff (I001): libs/partners/cohere/langchain_cohere/chat_models.py#L1
langchain_cohere/chat_models.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): libs/partners/cohere/langchain_cohere/embeddings.py#L1
langchain_cohere/embeddings.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/langchain_cohere/embeddings.py#L1
langchain_cohere/embeddings.py:1:20: F401 `typing.Any` imported but unused
Ruff (E501): libs/partners/cohere/langchain_cohere/embeddings.py#L74
langchain_cohere/embeddings.py:74:89: E501 Line too long (92 > 88)
Ruff (E501): libs/partners/cohere/langchain_cohere/embeddings.py#L85
langchain_cohere/embeddings.py:85:89: E501 Line too long (92 > 88)
Ruff (I001): libs/partners/cohere/langchain_cohere/llms.py#L1
langchain_cohere/llms.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/tests/integration_tests/test_llms.py#L2
tests/integration_tests/test_llms.py:2:35: F401 `langchain_cohere.llms.BaseCohere` imported but unused
Ruff (I001): libs/partners/cohere/tests/unit_tests/test_llms.py#L3
tests/unit_tests/test_llms.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): libs/partners/cohere/tests/unit_tests/test_llms.py#L3
tests/unit_tests/test_llms.py:3:21: F401 `pathlib.Path` imported but unused
Ruff (F401): libs/partners/cohere/tests/unit_tests/test_llms.py#L9
tests/unit_tests/test_llms.py:9:46: F401 `langchain_community.llms.loading.load_llm` imported but unused
cd libs/partners/cohere / dependency checks 3.8
Process completed with exit code 2.
cd libs/partners/cohere / dependency checks 3.9
The job was canceled because "_3_8" failed.
cd libs/partners/cohere / dependency checks 3.9
Process completed with exit code 2.
cd libs/partners/cohere / dependency checks 3.11
The job was canceled because "_3_8" failed.
cd libs/partners/cohere / dependency checks 3.10
The job was canceled because "_3_8" failed.
cd libs/partners/cohere / dependency checks 3.11
Process completed with exit code 2.
cd libs/partners/cohere / dependency checks 3.10
Process completed with exit code 2.
CI Success
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Ana06/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.