Skip to content

core: Bump ruff version to 0.9 #36309

core: Bump ruff version to 0.9

core: Bump ruff version to 0.9 #36309

Triggered via pull request January 14, 2025 12:11
Status Failure
Total duration 4m 45s
Artifacts

check_diffs.yml

on: pull_request
Matrix: compile-integration-tests
Matrix: extended-tests
Matrix: lint
Matrix: test-doc-imports
Waiting for pending jobs
Matrix: test-pydantic
Matrix: test
CI Success
0s
CI Success
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 66 warnings
Ruff (FURB188): libs/core/langchain_core/language_models/llms.py#L352
langchain_core/language_models/llms.py:352:9: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
Ruff (ASYNC110): libs/core/langchain_core/rate_limiters.py#L251
langchain_core/rate_limiters.py:251:9: ASYNC110 Use `anyio.Event` instead of awaiting `anyio.sleep` in a `while` loop
Ruff (B039): libs/core/langchain_core/runnables/config.py#L114
langchain_core/runnables/config.py:114:38: B039 Do not use mutable data structures for `ContextVar` defaults
cd libs/core / make lint #3.12
Process completed with exit code 2.
Ruff (FURB188): libs/core/langchain_core/language_models/llms.py#L352
langchain_core/language_models/llms.py:352:9: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
Ruff (ASYNC110): libs/core/langchain_core/rate_limiters.py#L251
langchain_core/rate_limiters.py:251:9: ASYNC110 Use `anyio.Event` instead of awaiting `anyio.sleep` in a `while` loop
Ruff (B039): libs/core/langchain_core/runnables/config.py#L114
langchain_core/runnables/config.py:114:38: B039 Do not use mutable data structures for `ContextVar` defaults
cd libs/core / make lint #3.10
Process completed with exit code 2.
Ruff (FURB188): libs/core/langchain_core/language_models/llms.py#L352
langchain_core/language_models/llms.py:352:9: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
Ruff (ASYNC110): libs/core/langchain_core/rate_limiters.py#L251
langchain_core/rate_limiters.py:251:9: ASYNC110 Use `anyio.Event` instead of awaiting `anyio.sleep` in a `while` loop
Ruff (B039): libs/core/langchain_core/runnables/config.py#L114
langchain_core/runnables/config.py:114:38: B039 Do not use mutable data structures for `ContextVar` defaults
cd libs/core / make lint #3.11
Process completed with exit code 2.
Ruff (FURB188): libs/core/langchain_core/language_models/llms.py#L352
langchain_core/language_models/llms.py:352:9: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
Ruff (ASYNC110): libs/core/langchain_core/rate_limiters.py#L251
langchain_core/rate_limiters.py:251:9: ASYNC110 Use `anyio.Event` instead of awaiting `anyio.sleep` in a `while` loop
Ruff (B039): libs/core/langchain_core/runnables/config.py#L114
langchain_core/runnables/config.py:114:38: B039 Do not use mutable data structures for `ContextVar` defaults
cd libs/core / make lint #3.9
Process completed with exit code 2.
Ruff (FURB188): libs/core/langchain_core/language_models/llms.py#L352
langchain_core/language_models/llms.py:352:9: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
Ruff (ASYNC110): libs/core/langchain_core/rate_limiters.py#L251
langchain_core/rate_limiters.py:251:9: ASYNC110 Use `anyio.Event` instead of awaiting `anyio.sleep` in a `while` loop
Ruff (B039): libs/core/langchain_core/runnables/config.py#L114
langchain_core/runnables/config.py:114:38: B039 Do not use mutable data structures for `ContextVar` defaults
cd libs/core / make lint #3.13
Process completed with exit code 2.
CI Success
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.6.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / poetry run pytest -m compile tests/integration_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.5.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.6.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.5.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make extended_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI Success
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636