Skip to content

chore: update langchain latest version to 1.5.3 - #18855

Open
dd-octo-sts[bot] wants to merge 1 commit into
mainfrom
upgrade-latest-langchain-version
Open

chore: update langchain latest version to 1.5.3#18855
dd-octo-sts[bot] wants to merge 1 commit into
mainfrom
upgrade-latest-langchain-version

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Update langchain lockfiles and dependency package lockfiles.
This performs the following updates:

  1. Some langchain lockfiles use langchain latest. This will update langchain and dependencies.
  2. Some langchain lockfiles use a pinned (non-latest) version of langchain, but require the latest version of another package. This will update all such packages.

@dd-octo-sts dd-octo-sts Bot added the changelog/no-changelog A changelog entry is not required for this PR. label Jul 3, 2026
@dd-octo-sts
dd-octo-sts Bot requested review from a team as code owners July 3, 2026 00:54
@dd-octo-sts dd-octo-sts Bot added the changelog/no-changelog A changelog entry is not required for this PR. label Jul 3, 2026
@dd-octo-sts
dd-octo-sts Bot requested review from dubloom and juanjux July 3, 2026 00:54
@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Codeowners resolved as

.riot/requirements/1631cdb.txt                                          @DataDog/apm-python
.riot/requirements/166aa1b.txt                                          @DataDog/apm-python
.riot/requirements/176838a.txt                                          @DataDog/apm-python
.riot/requirements/1785cfd.txt                                          @DataDog/apm-python
.riot/requirements/1d20b78.txt                                          @DataDog/apm-python
.riot/requirements/1d65880.txt                                          @DataDog/apm-python
.riot/requirements/1f09c40.txt                                          @DataDog/apm-python
.riot/requirements/39c94a2.txt                                          @DataDog/apm-python
.riot/requirements/69b607b.txt                                          @DataDog/apm-python
.riot/requirements/bf481d9.txt                                          @DataDog/apm-python
.riot/requirements/ffee599.txt                                          @DataDog/apm-python
scripts/integration_registry/registry.yaml                              @DataDog/apm-core-python @DataDog/apm-idm-python
supported_versions.json                                                 @DataDog/apm-core-python @DataDog/apm-idm-python

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

⚠️ Warnings

🚦 11 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741238-d2b8243-manylinux2014_x86_64, 1]   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v126532274-233089d-musllinux_1_2_x86_64, 1]   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [arm64, cp315-cp315, v113741357-d2b8243-manylinux2014_aarch64, 1]   View in Datadog   GitLab

View all 11 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 47b7a1c | Docs | Datadog PR Page | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f0b4ab7e79

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

tested_versions_by_dependency:
mistralai:
min: 2.0.0
min: 2.4.9

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Mistral min version aligned with support

When the integration-registry tests run, this new minimum conflicts with ddtrace/contrib/internal/mistralai/patch.py, where _supported_versions() still advertises {"mistralai": ">=2.0.0"}. tests/contrib/integration_registry/test_contrib_versions.py::test_supported_versions_align_with_registry requires the registry's tested minimum major.minor to match the declared supported minimum, so having only 2.4.x here will fail that check and also stops the metadata from proving the advertised >=2.0 support; either keep a 2.0.x tested/registry entry or update the supported-version contract if 2.0 is no longer supported.

Useful? React with 👍 / 👎.

@pr-commenter

pr-commenter Bot commented Jul 3, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-31 01:17:44

Comparing candidate commit 47b7a1c in PR branch upgrade-latest-langchain-version with baseline commit fdf7d2e in branch main.

Found 0 performance improvements and 6 performance regressions! Performance is the same for 615 metrics, 10 unstable metrics.

scenario:iastaspects-lstrip_aspect

  • 🟥 execution_time [+70.528µs; +74.761µs] or [+22.362%; +23.704%]

scenario:iastaspects-translate_aspect

  • 🟥 execution_time [+52.393µs; +57.565µs] or [+10.619%; +11.667%]

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+89.985µs; +97.064µs] or [+21.282%; +22.956%]

scenario:span-start

  • 🟥 execution_time [+1.569ms; +1.748ms] or [+9.918%; +11.046%]

scenario:telemetryaddmetric-1-count-metric-1-times

  • 🟥 execution_time [+215.356ns; +251.697ns] or [+10.357%; +12.105%]

scenario:tracer-small

  • 🟥 execution_time [+32.369µs; +34.849µs] or [+9.970%; +10.733%]

@emmettbutler
emmettbutler force-pushed the upgrade-latest-langchain-version branch from f0b4ab7 to f764aa6 Compare July 8, 2026 17:00
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 8, 2026

Copy link
Copy Markdown

Circular import analysis

⚠️ Existing circular imports

There are 3 circular imports that already exist on the base branch and have not been changed by this PR.

ddtrace.trace -> ddtrace._trace.tracer -> ddtrace.internal.debug -> ddtrace.trace
ddtrace -> ddtrace.trace -> ddtrace._trace.tracer -> ddtrace.internal.debug -> ddtrace
ddtrace -> ddtrace.trace -> ddtrace._trace.tracer -> ddtrace.internal.debug -> ddtrace.internal.runtime.runtime_metrics -> ddtrace

@emmettbutler

Copy link
Copy Markdown
Collaborator

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jul 24, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-07-24 18:04:08 UTC ℹ️ Start processing command /merge


2026-07-24 18:04:14 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-07-24 22:40:14 UTC ⚠️ MergeQueue: This merge request was unqueued

devflow unqueued this merge request: It did not become mergeable within the expected time

@dd-octo-sts dd-octo-sts Bot changed the title chore: update langchain latest version to 1.3.11 chore: update langchain latest version to 1.5.3 Jul 31, 2026
@dd-octo-sts
dd-octo-sts Bot force-pushed the upgrade-latest-langchain-version branch from c4903be to 47b7a1c Compare July 31, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants