Compare commits

...
Author SHA1 Message Date
Saad Farooq d469817cb9 fix(cli): detect private registries from uv.lock
Use the pin-preserving pylock.toml install whenever uv.lock resolves any
package from a registry other than PyPI. Checking only [[tool.uv.index]]
in pyproject.toml missed indexes declared in uv.toml or via
extra-index-url, which fell back to requirements.txt and could install the
private name from PyPI.
2026-11-17 14:36:51 -05:00
Saad Farooqandopen-swe[bot] 7cb4b435d8 feat(cli): mount package credentials only during installation
Use optional netrc and npmrc secrets and preserve locked private index sources without weakening runtime constraints.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-11-17 17:14:54 +00:00
dependabot[bot] 02f2c2e6c9 chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 in /libs/cli (#9695)
Bumps
[opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python)
from 1.45.1 to 1.45.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-python/releases">opentelemetry-api's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.45.2/0.66b2</h2>
<p>This is a patch release on the previous 1.45.1/0.66b1 release, fixing
the issue(s) below.</p>
<h3>Added</h3>
<ul>
<li><code>opentelemetry-sdk</code>,
<code>opentelemetry-configuration</code>,
<code>opentelemetry-exporter-prometheus</code>: enforce metric
cardinality limits (default 2000) with the
<code>otel.metric.overflow</code> attribute, configurable through
<code>View(aggregation_cardinality_limit=...)</code>, reader
<code>cardinality_limits</code> and declarative configuration (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5809">#5809</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>opentelemetry-api</code>: limit <code>traceparent</code>
header length to 512 characters in
<code>TraceContextTextMapPropagator</code> during extraction (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5818">#5818</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md">opentelemetry-api's
changelog</a>.</em></p>
<blockquote>
<h2>Version 1.45.2/0.66b2 (2026-10-29)</h2>
<h3>Added</h3>
<ul>
<li><code>opentelemetry-sdk</code>,
<code>opentelemetry-configuration</code>,
<code>opentelemetry-exporter-prometheus</code>: enforce metric
cardinality limits
(default 2000) with the <code>otel.metric.overflow</code> attribute,
configurable
through <code>View(aggregation_cardinality_limit=...)</code>, reader
<code>cardinality_limits</code> and declarative configuration
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5809">#5809</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>opentelemetry-api</code>: limit <code>traceparent</code>
header length to 512 characters in
<code>TraceContextTextMapPropagator</code> during extraction
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5818">#5818</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/ad755945ad69008219e661c33ff1d72ff1bbcb51"><code>ad75594</code></a>
[release/v1.45.x-0.66bx] Prepare release 1.45.2/0.66b2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5862">#5862</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350"><code>78123a2</code></a>
[release/v1.45.x-0.66bx] Backport metric cardinality limits and
traceparent p...</li>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-python/compare/v1.45.1...v1.45.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=opentelemetry-api&package-manager=uv&previous-version=1.45.1&new-version=1.45.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langgraph/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-16 08:59:08 +00:00
dependabot[bot] c08760fa67 chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 in /libs/langgraph (#9696)
Bumps
[opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python)
from 1.45.1 to 1.45.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-python/releases">opentelemetry-api's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.45.2/0.66b2</h2>
<p>This is a patch release on the previous 1.45.1/0.66b1 release, fixing
the issue(s) below.</p>
<h3>Added</h3>
<ul>
<li><code>opentelemetry-sdk</code>,
<code>opentelemetry-configuration</code>,
<code>opentelemetry-exporter-prometheus</code>: enforce metric
cardinality limits (default 2000) with the
<code>otel.metric.overflow</code> attribute, configurable through
<code>View(aggregation_cardinality_limit=...)</code>, reader
<code>cardinality_limits</code> and declarative configuration (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5809">#5809</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>opentelemetry-api</code>: limit <code>traceparent</code>
header length to 512 characters in
<code>TraceContextTextMapPropagator</code> during extraction (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5818">#5818</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md">opentelemetry-api's
changelog</a>.</em></p>
<blockquote>
<h2>Version 1.45.2/0.66b2 (2026-10-29)</h2>
<h3>Added</h3>
<ul>
<li><code>opentelemetry-sdk</code>,
<code>opentelemetry-configuration</code>,
<code>opentelemetry-exporter-prometheus</code>: enforce metric
cardinality limits
(default 2000) with the <code>otel.metric.overflow</code> attribute,
configurable
through <code>View(aggregation_cardinality_limit=...)</code>, reader
<code>cardinality_limits</code> and declarative configuration
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5809">#5809</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>opentelemetry-api</code>: limit <code>traceparent</code>
header length to 512 characters in
<code>TraceContextTextMapPropagator</code> during extraction
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5818">#5818</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/ad755945ad69008219e661c33ff1d72ff1bbcb51"><code>ad75594</code></a>
[release/v1.45.x-0.66bx] Prepare release 1.45.2/0.66b2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5862">#5862</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350"><code>78123a2</code></a>
[release/v1.45.x-0.66bx] Backport metric cardinality limits and
traceparent p...</li>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-python/compare/v1.45.1...v1.45.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=opentelemetry-api&package-manager=uv&previous-version=1.45.1&new-version=1.45.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langgraph/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-16 08:58:44 +00:00
41fb001df9 fix(langgraph): avoid warning races in dynamic schemas (#9716)
Dynamic schema creation could swallow unrelated warnings or undo
warning-filter changes made by another thread. Remove redundant warning
contexts; existing namespace configuration and reserved-name remapping
already avoid Pydantic field-name warnings.

Preserve cached and uncached field/root schemas, defaults, aliases, and
validation. This fixes Python warning-state handling; no matching
JavaScript change is needed.

Made by [Robin](https://github.com/langchain-ai/open-swe) · [view
thread](https://robin.langchain.dev/agents/2b0a6758-41fe-51a2-b21a-a5beb35ecd97)
· openai:gpt-6.1-sol (xhigh)

Co-authored-by: Mason Daugherty <mdrxy@users.noreply.github.com>
Co-authored-by: Robin <open-swe@users.noreply.github.com>
2026-11-15 14:59:36 -05:00
8 changed files with 494 additions and 102 deletions

No files matched your search

+19 -9
View File
@@ -146,6 +146,11 @@ DEFAULT_IMAGE_DISTRO = "debian"
_BUILD_TOOLS = ("pip", "setuptools", "wheel")
_PYTHON_INSTALL_RUN = "RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false"
_PYTHON_INSTALL_ENV = "NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1"
_NODE_INSTALL_RUN = (
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false"
)
def _get_pip_cleanup_lines(
@@ -157,7 +162,7 @@ def _get_pip_cleanup_lines(
f"""# -- Ensure user deps didn't inadvertently overwrite langgraph-api
RUN mkdir -p /api/langgraph_api /api/langgraph_runtime /api/langgraph_license && \
touch /api/langgraph_api/__init__.py /api/langgraph_runtime/__init__.py /api/langgraph_license/__init__.py
RUN PYTHONDONTWRITEBYTECODE=1 {install_cmd} --no-cache-dir --no-deps -e /api
{_PYTHON_INSTALL_RUN} {_PYTHON_INSTALL_ENV} {install_cmd} --no-cache-dir --no-deps -e /api
# -- End of ensuring user deps didn't inadvertently overwrite langgraph-api --
# -- Removing build deps from the final image ~<:===~~~ --"""
]
@@ -1237,9 +1242,11 @@ def _update_http_app_path(
def _build_python_install_commands(
config: Config, install_cmd: str
config: Config, install_cmd: str, *, constraints: bool = True
) -> tuple[str, str, str]:
base_install = f"PYTHONDONTWRITEBYTECODE=1 {install_cmd} --no-cache-dir -c /api/constraints.txt"
base_install = f"{_PYTHON_INSTALL_ENV} {install_cmd} --no-cache-dir"
if constraints:
base_install += " -c /api/constraints.txt"
local_reqs_pip_install = base_install
global_reqs_pip_install = base_install
@@ -1449,7 +1456,9 @@ def python_config_to_docker(
_update_http_app_path(config_path, config, local_deps)
pip_pkgs_str = (
f"RUN {local_reqs_pip_install} {' '.join(pypi_deps)}" if pypi_deps else ""
f"{_PYTHON_INSTALL_RUN} {local_reqs_pip_install} {' '.join(pypi_deps)}"
if pypi_deps
else ""
)
if local_deps.pip_reqs:
pip_reqs_str = os.linesep.join(
@@ -1460,7 +1469,7 @@ def python_config_to_docker(
)
for reqpath, destpath in local_deps.pip_reqs
)
pip_reqs_str += f"{os.linesep}RUN {local_reqs_pip_install} {' '.join('-r ' + r for _, r in local_deps.pip_reqs)}"
pip_reqs_str += f"{os.linesep}{_PYTHON_INSTALL_RUN} {local_reqs_pip_install} {' '.join('-r ' + r for _, r in local_deps.pip_reqs)}"
pip_reqs_str = f"""# -- Installing local requirements --
{pip_reqs_str}
# -- End of local requirements install --"""
@@ -1559,7 +1568,8 @@ ADD {relpath} /deps/{name}
"# -- Installing JS dependencies --",
f"ENV NODE_VERSION={config.get('node_version') or DEFAULT_NODE_VERSION}",
f"WORKDIR {local_deps.working_dir}",
f"RUN {_get_node_pm_install_cmd(config_path.parent)} && tsx /api/langgraph_api/js/build.mts",
f"{_NODE_INSTALL_RUN} {_get_node_pm_install_cmd(config_path.parent)}",
"RUN tsx /api/langgraph_api/js/build.mts",
"# -- End of JS dependencies install --",
]
)
@@ -1579,7 +1589,7 @@ ADD {relpath} /deps/{name}
# Add main dockerfile content
dep_vname = "$$dep" if escape_variables else "$dep"
local_deps_install_str = f"""RUN for dep in /deps/*; do \
local_deps_install_str = f"""{_PYTHON_INSTALL_RUN} for dep in /deps/*; do \
echo "Installing {dep_vname}"; \
if [ -d "{dep_vname}" ]; then \
echo "Installing {dep_vname}"; \
@@ -1660,7 +1670,7 @@ def node_config_to_docker(
# Monorepo case: install from root, build from config directory
container_root = f"/deps/{pathlib.Path(build_context).name}"
install_workdir = container_root
install_step = f"RUN {install_cmd}"
install_step = f"{_NODE_INSTALL_RUN} {install_cmd}"
if build_command:
build_step = f"RUN {build_command}"
@@ -1669,7 +1679,7 @@ def node_config_to_docker(
else:
# Original behavior: everything happens in the same directory
install_workdir = faux_path
install_step = f"RUN {install_cmd}"
install_step = f"{_NODE_INSTALL_RUN} {install_cmd}"
build_step = 'RUN (test ! -f /api/langgraph_api/js/build.mts && echo "Prebuild script not found, skipping") || tsx /api/langgraph_api/js/build.mts'
if build_context:
+47 -21
View File
@@ -85,6 +85,9 @@ class DockerBuildPlan:
return os.linesep.join(self.lines)
_PYPI_SIMPLE = "https://pypi.org/simple"
def _normalize_package_name(name: str) -> str:
return re.sub(r"[-_.]+", "-", name).lower()
@@ -237,6 +240,18 @@ def _validate_uv_lock_source_entry(
return workspace_dependencies
def _locks_non_pypi_registry(uv_lock_path: pathlib.Path) -> bool:
"""Whether uv.lock installs any package from a registry other than PyPI."""
with uv_lock_path.open("rb") as lock_file:
packages = tomllib.load(lock_file).get("package", [])
return any(
str(package.get("source", {}).get("registry", _PYPI_SIMPLE)).rstrip("/")
!= _PYPI_SIMPLE
for package in packages
if isinstance(package, dict)
)
def _get_uv_lock_package_enabled(package: UvLockPackage) -> bool:
uv_tool = package.raw_uv_tool
if uv_tool and not isinstance(uv_tool, dict):
@@ -874,6 +889,8 @@ def python_config_to_docker_uv_lock(
build_tools_to_uninstall: tuple[str, ...] | None,
) -> tuple[str, dict[str, str]]:
from langgraph_cli.config import (
_NODE_INSTALL_RUN,
_PYTHON_INSTALL_RUN,
DEFAULT_NODE_VERSION,
_build_python_install_commands,
_build_runtime_env_vars,
@@ -945,6 +962,7 @@ def python_config_to_docker_uv_lock(
return f"ADD {relative_source} {destination}"
uv_export_project_dir = "/tmp/uv_export/project"
has_indexes = _locks_non_pypi_registry(plan.uv_lock_path)
env_vars = _build_runtime_env_vars(config)
image_str = docker_tag(config, base_image, api_version)
@@ -998,23 +1016,30 @@ def python_config_to_docker_uv_lock(
)
)
docker_plan.add_instruction("WORKDIR", uv_export_project_dir)
docker_plan.add_instruction(
"RUN",
" ".join(
[
"uv export",
f"--package {shlex.quote(plan.target.name)}",
"--frozen",
"--no-hashes",
"--no-emit-project",
"--no-emit-workspace",
"-o uv_requirements.txt",
]
),
)
docker_plan.add_instruction(
"RUN", f"{global_reqs_pip_install} -r uv_requirements.txt"
export_command = " ".join(
[
"uv export",
f"--package {shlex.quote(plan.target.name)}",
"--frozen",
"--no-hashes",
"--no-emit-project",
"--no-emit-workspace",
]
)
docker_plan.add_instruction("RUN", f"{export_command} -o uv_requirements.txt")
dependency_install = f"{global_reqs_pip_install} -r uv_requirements.txt"
if has_indexes:
docker_plan.add_instruction(
"RUN", f"{export_command} --format pylock.toml -o pylock.toml"
)
_, pylock_install, _ = _build_python_install_commands(
config, install_cmd, constraints=False
)
dependency_install = (
f"{pylock_install} -r pylock.toml && "
f"{global_reqs_pip_install} --dry-run --offline --no-deps -r uv_requirements.txt"
)
docker_plan.add_raw(f"{_PYTHON_INSTALL_RUN} {dependency_install}")
docker_plan.add_instruction("RUN", "rm -rf /tmp/uv_export")
docker_plan.add_raw("# -- End of uv.lock dependencies install --")
docker_plan.add_blank()
@@ -1030,7 +1055,9 @@ def python_config_to_docker_uv_lock(
docker_plan.add_instruction(
"WORKDIR", plan.container_roots[package.root].as_posix()
)
docker_plan.add_instruction("RUN", f"{global_reqs_pip_install} --no-deps -e .")
docker_plan.add_raw(
f"{_PYTHON_INSTALL_RUN} {global_reqs_pip_install} --no-deps -e ."
)
docker_plan.add_raw(f"# -- End of workspace package {package_label} --")
docker_plan.add_blank()
@@ -1044,11 +1071,10 @@ def python_config_to_docker_uv_lock(
"ENV", f"NODE_VERSION={config.get('node_version') or DEFAULT_NODE_VERSION}"
)
docker_plan.add_instruction("WORKDIR", plan.working_dir)
docker_plan.add_instruction(
"RUN",
f"{_get_node_pm_install_cmd(plan.target_root)} && "
"tsx /api/langgraph_api/js/build.mts",
docker_plan.add_raw(
f"{_NODE_INSTALL_RUN} {_get_node_pm_install_cmd(plan.target_root)}"
)
docker_plan.add_instruction("RUN", "tsx /api/langgraph_api/js/build.mts")
docker_plan.add_raw("# -- End of JS dependencies install --")
docker_plan.add_blank()
+1 -1
View File
@@ -142,7 +142,7 @@ services:
COPY --from=cli_1 . /deps/cli_1
# -- End of local package ../../.. --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
+276 -26
View File
@@ -40,6 +40,7 @@ def _write_uv_lock_workspace(
agent_sources: str = "",
shared_uv_config: str = "",
agent_dependencies: list[str] | None = None,
lock_text: str = "# uv lock file\n",
) -> tuple[pathlib.Path, pathlib.Path]:
project_root = tmpdir_path / "workspace"
config_dir = project_root / config_relative_dir
@@ -52,7 +53,7 @@ def _write_uv_lock_workspace(
extra_dir.mkdir(parents=True)
deploy_dir.mkdir(parents=True)
(project_root / "uv.lock").write_text("# uv lock file\n")
(project_root / "uv.lock").write_text(lock_text)
(project_root / "pyproject.toml").write_text(
textwrap.dedent(
f"""
@@ -894,6 +895,153 @@ def test_validate_config_multiplatform():
# config_to_docker
def _assert_install_secret_scope(dockerfile: str) -> None:
python_mount = "--mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false"
node_mount = (
"--mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false"
)
for line in dockerfile.splitlines():
if not line.startswith("RUN "):
assert "LANGSMITH_NETRC" not in line
assert "LANGSMITH_NPMRC" not in line
assert "NETRC=" not in line
continue
if "pip install " in line:
assert line.startswith(f"RUN {python_mount} ")
assert "NETRC=/run/secrets/langsmith.netrc " in line
assert node_mount not in line
elif node_mount in line:
assert line.startswith(f"RUN {node_mount} ")
assert "tsx " not in line
assert python_mount not in line
else:
assert "--mount=type=secret" not in line
assert "NETRC=" not in line
assert "LANGSMITH_UV_CONFIG" not in dockerfile
assert "LANGSMITH_PIP_CONFIG" not in dockerfile
@pytest.mark.parametrize("installer", ["pip", "uv"])
@pytest.mark.parametrize("pip_config", [False, True])
def test_python_install_secrets_are_optional_and_install_only(
tmp_path: pathlib.Path, installer: str, pip_config: bool
):
(tmp_path / "pyproject.toml").write_text(
'[project]\nname = "agent"\nversion = "0.1.0"\n'
)
loose = tmp_path / "loose"
loose.mkdir()
(loose / "requirements.txt").write_text("private-dep==1.0\n")
(loose / "agent.py").touch()
config = {
"dependencies": ["public-dep", ".", "./loose"],
"graphs": {"agent": "agent:graph"},
"pip_installer": installer,
"dockerfile_lines": ["RUN echo custom-step"],
}
if pip_config:
config["pip_config_file"] = "pip.conf"
dockerfile, _ = config_to_docker(
tmp_path / "langgraph.json", validate_config(config)
)
_assert_install_secret_scope(dockerfile)
installs = [line for line in dockerfile.splitlines() if "pip install " in line]
assert len(installs) == 4
assert "public-dep" in installs[0]
assert " -r " in installs[1]
assert "for dep in /deps/*" in installs[2]
assert " --no-deps -e /api" in installs[3]
assert dockerfile.count("ADD pip.conf /pipconfig.txt") == int(pip_config)
assert dockerfile.count("PIP_CONFIG_FILE=/pipconfig.txt") == 3 * int(pip_config)
assert "target=/pipconfig.txt" not in dockerfile
assert "target=/root/.netrc" not in dockerfile
@pytest.mark.parametrize("monorepo", [False, True])
@pytest.mark.parametrize(
("manifest", "contents", "install_command", "expected"),
[
("package-lock.json", "{}", None, "npm ci"),
("pnpm-lock.yaml", "", None, "pnpm i --frozen-lockfile"),
("yarn.lock", "", None, "yarn install --frozen-lockfile"),
("package.json", '{"packageManager":"npm@10.0.0"}', None, "npm i"),
("package.json", '{"packageManager":"pnpm@9.0.0"}', None, "pnpm i"),
("package.json", '{"packageManager":"yarn@1.22.22"}', None, "yarn install"),
("package.json", "{}", "npm ci --omit=dev", "npm ci --omit=dev"),
("package.json", "{}", "pnpm install", "pnpm install"),
("package.json", "{}", "yarn install", "yarn install"),
],
)
def test_node_install_secrets_cover_managers_overrides_and_monorepos(
tmp_path: pathlib.Path,
monorepo: bool,
manifest: str,
contents: str,
install_command: str | None,
expected: str,
):
(tmp_path / manifest).write_text(contents)
config_dir = tmp_path / "apps" / "agent" if monorepo else tmp_path
config_dir.mkdir(parents=True, exist_ok=True)
dockerfile, _ = config_to_docker(
config_dir / "langgraph.json",
validate_config(
{"node_version": "20", "graphs": {"agent": "./agent.js:graph"}}
),
install_command=install_command,
build_command="npm run custom-build" if monorepo else None,
build_context=str(tmp_path) if monorepo else None,
)
_assert_install_secret_scope(dockerfile)
expected_install = (
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false "
+ expected
)
assert expected_install in dockerfile
assert dockerfile.count("id=LANGSMITH_NPMRC") == 1
if monorepo:
assert f"WORKDIR /deps/{tmp_path.name}\n" in dockerfile
assert f"WORKDIR /deps/{tmp_path.name}/apps/agent" in dockerfile
assert "RUN npm run custom-build" in dockerfile
else:
assert "RUN (test ! -f /api/langgraph_api/js/build.mts" in dockerfile
@pytest.mark.parametrize("source_kind", ["dependencies", "uv"])
@pytest.mark.parametrize("manager", ["npm", "pnpm", "yarn"])
def test_mixed_python_node_secrets_end_before_build(
tmp_path: pathlib.Path, source_kind: str, manager: str
):
project_root, config_path = _write_uv_lock_workspace(
tmp_path,
agent_sources="[tool.uv.sources]\nshared = { workspace = true }",
)
agent_root = project_root / "apps" / "agent"
(agent_root / "package.json").write_text(
json.dumps({"packageManager": f"{manager}@1.0.0"})
)
(agent_root / "ui.tsx").touch()
config = {
"graphs": {"agent": "../../apps/agent/src/agent/graph.py:graph"},
"ui": {"agent": "../../apps/agent/ui.tsx"},
}
if source_kind == "uv":
config["source"] = {"kind": "uv", "root": "../..", "package": "agent"}
else:
config_path = agent_root / "langgraph.json"
config["graphs"] = {"agent": "./src/agent/graph.py:graph"}
config["dependencies"] = ["."]
config["ui"] = {"agent": "./ui.tsx"}
dockerfile, _ = config_to_docker(config_path, validate_config(config))
_assert_install_secret_scope(dockerfile)
assert dockerfile.count("id=LANGSMITH_NPMRC") == 1
assert "\nRUN tsx /api/langgraph_api/js/build.mts\n" in dockerfile
if source_kind == "uv":
assert dockerfile.count("id=LANGSMITH_NETRC") == 4
assert "RUN uv export " in dockerfile
assert "RUN rm -rf /tmp/uv_export" in dockerfile
def test_config_to_docker_simple():
graphs = {"agent": "./agent.py:graph"}
actual_docker_stdin, additional_contexts = config_to_docker(
@@ -912,7 +1060,7 @@ def test_config_to_docker_simple():
FROM langchain/langgraph-api:3.11
# -- Installing local requirements --
COPY --from=outer-requirements.txt requirements.txt /deps/outer-graphs_reqs_a/graphs_reqs_a/requirements.txt
RUN PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -r /deps/outer-graphs_reqs_a/graphs_reqs_a/requirements.txt
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -r /deps/outer-graphs_reqs_a/graphs_reqs_a/requirements.txt
# -- End of local requirements install --
# -- Adding local package ../../examples --
COPY --from=examples . /deps/examples
@@ -946,7 +1094,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency graphs_reqs_a --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGGRAPH_HTTP='{{"app": "/deps/examples/my_app.py:app"}}'
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
@@ -1003,7 +1151,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}'
"""
@@ -1050,7 +1198,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PIP_CONFIG_FILE=/pipconfig.txt PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PIP_CONFIG_FILE=/pipconfig.txt NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}'
"""
@@ -1112,7 +1260,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency graphs --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-graphs/src/agent.py:graph"}}'
{FORMATTED_CLEANUP_LINES}\
@@ -1148,7 +1296,7 @@ dependencies = ["langchain"]"""
ADD . /deps/unit_tests
# -- End of local package . --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{"agent": "/deps/unit_tests/graphs/agent.py:graph"}'
"""
@@ -1180,7 +1328,7 @@ def test_config_to_docker_end_to_end():
ARG meow
ARG foo
ADD pipconfig.txt /pipconfig.txt
RUN PIP_CONFIG_FILE=/pipconfig.txt PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt langchain langchain_openai
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false PIP_CONFIG_FILE=/pipconfig.txt NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt langchain langchain_openai
# -- Adding non-package dependency graphs --
ADD ./graphs/ /deps/outer-graphs/src
RUN set -ex && \\
@@ -1196,7 +1344,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency graphs --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PIP_CONFIG_FILE=/pipconfig.txt PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PIP_CONFIG_FILE=/pipconfig.txt NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-graphs/src/agent.py:graph"}}'
{FORMATTED_CLEANUP_LINES}"""
@@ -1226,7 +1374,7 @@ ARG meow
ARG foo
ADD . /deps/unit_tests
WORKDIR /deps/unit_tests
RUN npm i
RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i
ENV LANGGRAPH_AUTH='{"path": "./graphs/auth.mts:auth"}'
ENV LANGGRAPH_UI='{"agent": "./graphs/agent.ui.jsx"}'
ENV LANGGRAPH_UI_CONFIG='{"shared": ["nuqs"]}'
@@ -1417,7 +1565,7 @@ ARG meow
ARG foo
ADD . /deps/unit_tests
WORKDIR /deps/unit_tests
RUN npm i
RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i
ENV LANGGRAPH_AUTH='{"path": "./graphs/auth.mts:auth"}'
ENV LANGGRAPH_UI='{"agent": "./graphs/agent.ui.jsx"}'
ENV LANGGRAPH_UI_CONFIG='{"shared": ["nuqs"]}'
@@ -1540,7 +1688,7 @@ RUN set -ex && \\
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGGRAPH_UI='{{"agent": "./graphs/agent.ui.jsx"}}'
ENV LANGGRAPH_UI_CONFIG='{{"shared": ["nuqs"]}}'
@@ -1548,7 +1696,8 @@ ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:gra
# -- Installing JS dependencies --
ENV NODE_VERSION=20
WORKDIR /deps/outer-unit_tests/unit_tests
RUN npm i && tsx /api/langgraph_api/js/build.mts
RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i
RUN tsx /api/langgraph_api/js/build.mts
# -- End of JS dependencies install --
{FORMATTED_CLEANUP_LINES}
WORKDIR /deps/outer-unit_tests/unit_tests"""
@@ -1587,13 +1736,14 @@ RUN set -ex && \\
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $dep"; if [ -d "$dep" ]; then echo "Installing $dep"; (cd "$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"python": "/deps/outer-unit_tests/unit_tests/multiplatform/python.py:graph", "js": "/deps/outer-unit_tests/unit_tests/multiplatform/js.mts:graph"}}'
# -- Installing JS dependencies --
ENV NODE_VERSION=22
WORKDIR /deps/outer-unit_tests/unit_tests
RUN npm i && tsx /api/langgraph_api/js/build.mts
RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i
RUN tsx /api/langgraph_api/js/build.mts
# -- End of JS dependencies install --
{FORMATTED_CLEANUP_LINES}
WORKDIR /deps/outer-unit_tests/unit_tests"""
@@ -1625,7 +1775,11 @@ def test_config_to_docker_gen_ui_python_uses_workdir_with_special_chars():
)
assert "WORKDIR /deps/outer-proj;echo pwned/src" in docker
assert "RUN npm i && tsx /api/langgraph_api/js/build.mts" in docker
assert (
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i"
in docker
)
assert "RUN tsx /api/langgraph_api/js/build.mts" in docker
assert "RUN cd /deps/outer-proj;echo pwned/src" not in docker
assert ">> '/deps/outer-proj;echo pwned/pyproject.toml'" in docker
@@ -1652,7 +1806,10 @@ def test_config_to_docker_nodejs_uses_workdir_with_special_chars():
)
assert "WORKDIR /deps/proj;echo pwned" in docker
assert "RUN npm i" in docker
assert (
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false npm i"
in docker
)
assert "RUN cd /deps/proj;echo pwned" not in docker
@@ -1773,7 +1930,7 @@ def test_config_to_docker_uv_lock():
shared_workdir = "WORKDIR /deps/workspace/libs/shared"
shared_install = (
"RUN PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir "
"RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir "
"-c /api/constraints.txt --no-deps -e ."
)
agent_workdir = "WORKDIR /deps/workspace/apps/agent"
@@ -1805,6 +1962,99 @@ def test_config_to_docker_uv_lock():
assert "rm /usr/bin/uv /usr/bin/uvx" in docker
_PRIVATE_REGISTRY_LOCK = textwrap.dedent(
"""
version = 1
[[package]]
name = "private-dep"
version = "1.0"
source = { registry = "https://packages.example.com/simple/" }
[[package]]
name = "httpx"
version = "0.28.1"
source = { registry = "https://pypi.org/simple" }
"""
)
def test_private_registry_in_lock_uses_pylock_without_pyproject_index(
tmp_path: pathlib.Path,
):
_, config_path = _write_uv_lock_workspace(
tmp_path,
agent_sources="[tool.uv.sources]\nshared = { workspace = true }\n",
agent_dependencies=["shared", "private-dep==1.0"],
lock_text=_PRIVATE_REGISTRY_LOCK,
)
config = {
"graphs": {"agent": "../../apps/agent/src/agent/graph.py:graph"},
"source": {"kind": "uv", "root": "../..", "package": "agent"},
}
docker, _ = config_to_docker(config_path, validate_config(config))
assert "--format pylock.toml -o pylock.toml" in docker
assert "-r pylock.toml" in docker
@pytest.mark.parametrize("index_location", ["root", "member"])
@pytest.mark.parametrize("pip_config", [False, True])
def test_uv_index_sources_use_pylock_without_index_fallback(
tmp_path: pathlib.Path, index_location: str, pip_config: bool
):
index_config = textwrap.dedent(
"""
[[tool.uv.index]]
name = "private"
url = "https://packages.example.com/simple/"
explicit = true
"""
)
sources = (
"[tool.uv.sources]\nshared = { workspace = true }\n"
'private-dep = { index = "private" }\n'
)
project_root, config_path = _write_uv_lock_workspace(
tmp_path,
root_sources=index_config if index_location == "root" else "",
agent_sources=sources + (index_config if index_location == "member" else ""),
agent_dependencies=["shared", "private-dep==1.0", "httpx>=0.28"],
lock_text=_PRIVATE_REGISTRY_LOCK,
)
pyproject_path = (
project_root if index_location == "root" else project_root / "apps" / "agent"
) / "pyproject.toml"
original_pyproject = pyproject_path.read_text()
config = {
"graphs": {"agent": "../../apps/agent/src/agent/graph.py:graph"},
"source": {"kind": "uv", "root": "../..", "package": "agent"},
}
if pip_config:
config["pip_config_file"] = "pip.conf"
dockerfile, _ = config_to_docker(config_path, validate_config(config))
_assert_install_secret_scope(dockerfile)
assert "--format pylock.toml -o pylock.toml" in dockerfile
install_line = next(
line for line in dockerfile.splitlines() if " -r pylock.toml" in line
)
install_step, constraint_check = install_line.split(" && ")
assert " -c " not in install_step
assert (
" -c /api/constraints.txt --dry-run --offline --no-deps -r uv_requirements.txt"
in constraint_check
)
assert " -o uv_requirements.txt" in dockerfile
assert "--emit-index-url" not in dockerfile
assert "--index-url" not in dockerfile
assert "--extra-index-url" not in dockerfile
assert "UV_CONFIG_FILE" not in dockerfile
assert "packages.example.com" not in dockerfile
assert pyproject_path.read_text() == original_pyproject
assert dockerfile.count("PIP_CONFIG_FILE=/pipconfig.txt") == 4 * int(pip_config)
def test_config_to_docker_uv_lock_honors_root_workspace_sources():
with tempfile.TemporaryDirectory() as tmpdir:
tmpdir_path = pathlib.Path(tmpdir)
@@ -2154,7 +2404,7 @@ def test_config_to_docker_uv_lock_detects_js_pm_from_target_package_root():
assert "WORKDIR /deps/workspace/apps/agent" in docker
assert (
"RUN pnpm i --frozen-lockfile && tsx /api/langgraph_api/js/build.mts"
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false pnpm i --frozen-lockfile\nRUN tsx /api/langgraph_api/js/build.mts"
in docker
)
assert (
@@ -2191,7 +2441,7 @@ def test_config_to_docker_uv_lock_uses_workdir_for_js_install_with_special_chars
assert "WORKDIR /deps/workspace/apps/agent;echo pwned" in docker
assert (
"RUN pnpm i --frozen-lockfile && tsx /api/langgraph_api/js/build.mts"
"RUN --mount=type=secret,id=LANGSMITH_NPMRC,target=/root/.npmrc,required=false pnpm i --frozen-lockfile\nRUN tsx /api/langgraph_api/js/build.mts"
in docker
)
assert "RUN cd /deps/workspace/apps/agent;echo pwned" not in docker
@@ -2725,7 +2975,7 @@ def test_config_to_docker_uv_lock_root_package_copy_skips_unrelated_members():
)
assert "WORKDIR /deps/workspace" in docker
assert (
"RUN PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir "
"RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir "
"-c /api/constraints.txt --no-deps -e ." in docker
)
@@ -2858,7 +3108,7 @@ def test_config_to_compose_simple_config():
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
@@ -2899,7 +3149,7 @@ def test_config_to_compose_env_vars():
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
@@ -2944,7 +3194,7 @@ def test_config_to_compose_env_file():
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
@@ -2982,7 +3232,7 @@ def test_config_to_compose_watch():
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
@@ -3029,7 +3279,7 @@ def test_config_to_compose_end_to_end():
done
# -- End of non-package dependency unit_tests --
# -- Installing all local dependencies --
RUN for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
RUN --mount=type=secret,id=LANGSMITH_NETRC,target=/run/secrets/langsmith.netrc,required=false for dep in /deps/*; do echo "Installing $$dep"; if [ -d "$$dep" ]; then echo "Installing $$dep"; (cd "$$dep" && NETRC=/run/secrets/langsmith.netrc PYTHONDONTWRITEBYTECODE=1 uv pip install --system --no-cache-dir -c /api/constraints.txt -e .); fi; done
# -- End of local dependencies install --
ENV LANGSERVE_GRAPHS='{{"agent": "/deps/outer-unit_tests/unit_tests/agent.py:graph"}}'
{textwrap.indent(textwrap.dedent(FORMATTED_CLEANUP_LINES), " ")}
+9 -9
View File
@@ -1398,14 +1398,14 @@ wheels = [
[[package]]
name = "opentelemetry-api"
version = "1.45.1"
version = "1.45.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" } },
]
sdist = { url = "https://files.pythonhosted.org/packages/2e/02/6e0ae9cc61bd3169d401077b507b3ebc344745171e1051ab430be012dcd9/opentelemetry_api-1.45.1.tar.gz", hash = "sha256:aa38ed19bcc084ba42782a73255b3582283eced7ad6dddbd6695189e69adfb75", size = 72804, upload-time = "2026-10-06T17:32:58.133Z" }
sdist = { url = "https://files.pythonhosted.org/packages/19/14/cf3a6b6448849656e1e5f4e2101f3988dc6789724050096aba1bc5ccf592/opentelemetry_api-1.45.2.tar.gz", hash = "sha256:d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4", size = 73277, upload-time = "2026-10-29T17:29:37.888Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/1e/41/f7dcf80b81ee8e71c1a2b59f14208bc723edbd89ed027a73b175abf6348e/opentelemetry_api-1.45.1-py3-none-any.whl", hash = "sha256:b31553efa588ae44bc306f863c785c5333a9ecc091248c6ee68b4b6c87fdedfb", size = 60256, upload-time = "2026-10-06T17:32:33.506Z" },
{ url = "https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc88e67e73bd6c7aa1905ef18d89e1281c81/opentelemetry_api-1.45.2-py3-none-any.whl", hash = "sha256:2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34", size = 60335, upload-time = "2026-10-29T17:29:06.955Z" },
]
[[package]]
@@ -1497,29 +1497,29 @@ wheels = [
[[package]]
name = "opentelemetry-sdk"
version = "1.45.1"
version = "1.45.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "opentelemetry-api" },
{ name = "opentelemetry-semantic-conventions" },
{ name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" } },
]
sdist = { url = "https://files.pythonhosted.org/packages/a1/79/7392e21a1c8f0c61d90b223e31c7e48cb9d452e91a6b820ad24cca5f23c4/opentelemetry_sdk-1.45.1.tar.gz", hash = "sha256:63d24a6ca645019a631e6a51999c73e93adcac1196ca640b8ae78a7cc4762bf3", size = 218324, upload-time = "2026-10-06T17:33:13.26Z" }
sdist = { url = "https://files.pythonhosted.org/packages/7b/1a/74a21d4d6969fb8b432ac397e66112a8167a6deb267ea4559dbaf2fe91ef/opentelemetry_sdk-1.45.2.tar.gz", hash = "sha256:7eec4de13dd21ff3a1670dcb0e02079e692736f94d733dfdce5af461d884248d", size = 221705, upload-time = "2026-10-29T17:29:54.685Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/95/3c/87c42b4bd6dd297536f04cd9383d212ac557ecd49f2cbdcd46da1c9ef5c8/opentelemetry_sdk-1.45.1-py3-none-any.whl", hash = "sha256:c604c11dc429810812348989115fa44bd558772a3d7442afc43d024f2c250ca4", size = 140063, upload-time = "2026-10-06T17:32:55.04Z" },
{ url = "https://files.pythonhosted.org/packages/9f/a5/9a3b793ef48245f2336a16beb2324c2397dbb3f987cd68942f77cca06156/opentelemetry_sdk-1.45.2-py3-none-any.whl", hash = "sha256:ff974ea70ee4f1d51e2ec152db37c2b626c7bf82bb3f7d86114fd8704e7199c6", size = 141756, upload-time = "2026-10-29T17:29:33.722Z" },
]
[[package]]
name = "opentelemetry-semantic-conventions"
version = "0.66b1"
version = "0.66b2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "opentelemetry-api" },
{ name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" } },
]
sdist = { url = "https://files.pythonhosted.org/packages/46/e4/dbbfb2a010c4db2224a5114638acede6fe563d33cc20fb1752cebcbe6298/opentelemetry_semantic_conventions-0.66b1.tar.gz", hash = "sha256:497ca63bf383723411e8eaf60c8779e9877633c936bb641080adab59d0eb6ec8", size = 150250, upload-time = "2026-10-06T17:33:14.073Z" }
sdist = { url = "https://files.pythonhosted.org/packages/37/3f/50f95972b50e8e353f5b9342034c9cd17730f1956f009ce6a3fbbd89f9ce/opentelemetry_semantic_conventions-0.66b2.tar.gz", hash = "sha256:7da5f1a5dc4383eb66711d4d3d3e71824d9403ac1559fea021cc103c1a4c4976", size = 150246, upload-time = "2026-10-29T17:29:55.682Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/bc/14/67f8aa798857f8cf686f515bf93d9bb877ce952ddc8efae0fa25b45ce0d6/opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl", hash = "sha256:d4cddeb4315490b35213f55e2bdc9ac54bb1e4d318927475bed62b35545e581b", size = 206279, upload-time = "2026-10-06T17:32:56.103Z" },
{ url = "https://files.pythonhosted.org/packages/67/bd/6bf33ed31521c565931c037e9e81bac47c1acb000e850c6e24220e2a0c00/opentelemetry_semantic_conventions-0.66b2-py3-none-any.whl", hash = "sha256:4cbe61e5f9275d57ab31708446e7938ef4291ebbe6a7fca6f7a629c5acae87d8", size = 206280, upload-time = "2026-10-29T17:29:35.062Z" },
]
[[package]]
+10 -26
View File
@@ -2,8 +2,6 @@ from __future__ import annotations
import sys
import typing
import warnings
from contextlib import nullcontext
from dataclasses import is_dataclass
from functools import lru_cache
from typing import (
@@ -105,8 +103,7 @@ def _create_root_model(
if default_ is not NO_DEFAULT:
base_class_attributes["root"] = default_
with warnings.catch_warnings():
custom_root_type = type(name, (RootModel,), base_class_attributes)
custom_root_type = type(name, (RootModel,), base_class_attributes)
return cast("type[BaseModel]", custom_root_type)
@@ -225,28 +222,15 @@ def create_model(
)
return named_root_model
# No root, just field definitions
names = set(field_definitions.keys())
capture_warnings = False
for name in names:
# Also if any non-reserved name is used (e.g., model_id or model_name)
if name.startswith("model"):
capture_warnings = True
with warnings.catch_warnings() if capture_warnings else nullcontext():
if capture_warnings:
warnings.filterwarnings(action="ignore")
try:
return _create_model_cached(model_name, **field_definitions)
except TypeError:
# something in field definitions is not hashable
return _create_model_base(
model_name,
__config__=_SchemaConfig,
**_remap_field_definitions(field_definitions),
)
try:
return _create_model_cached(model_name, **field_definitions)
except TypeError:
# something in field definitions is not hashable
return _create_model_base(
model_name,
__config__=_SchemaConfig,
**_remap_field_definitions(field_definitions),
)
def is_supported_by_pydantic(type_: Any) -> bool:
+123 -1
View File
@@ -6,10 +6,14 @@ import re
import sys
import typing
import uuid
import warnings
from concurrent.futures import ThreadPoolExecutor
from enum import Enum
from threading import Event
from typing import Annotated, Literal, Optional
import pydantic
import pytest
import typing_extensions
from langgraph.checkpoint.base import BaseCheckpointSaver
from pydantic import (
@@ -25,7 +29,7 @@ from pydantic import (
model_validator,
)
from langgraph._internal._pydantic import is_supported_by_pydantic
from langgraph._internal._pydantic import create_model, is_supported_by_pydantic
from langgraph.constants import END, START
from langgraph.func import entrypoint, task
from langgraph.graph.state import StateGraph
@@ -33,6 +37,124 @@ from langgraph.types import Command, Interrupt, interrupt
from tests.any_str import AnyStr
@pytest.mark.parametrize("root_model", [False, True], ids=["fields", "root"])
@pytest.mark.parametrize("default", [None, []], ids=["cached", "uncached"])
def test_create_model_preserves_concurrent_warnings(root_model, default) -> None:
schema_started = Event()
warning_emitted = Event()
class PausedSchema:
@classmethod
def __get_pydantic_core_schema__(cls, source, handler):
schema_started.set()
assert warning_emitted.wait(timeout=10)
return handler(source)
type_ = Annotated[list[int] | None, PausedSchema]
kwargs = (
{"root": (type_, default)}
if root_model
else {"field_definitions": {"model_values": (type_, default)}}
)
with warnings.catch_warnings(record=True) as captured:
warnings.simplefilter("always")
with ThreadPoolExecutor(max_workers=1) as executor:
future = executor.submit(create_model, "ConcurrentSchema", **kwargs)
try:
assert schema_started.wait(timeout=10)
warnings.warn("unrelated concurrent warning", UserWarning)
warnings.simplefilter("error", DeprecationWarning)
finally:
warning_emitted.set()
model = future.result(timeout=10)
assert [str(warning.message) for warning in captured] == [
"unrelated concurrent warning"
]
with pytest.raises(DeprecationWarning, match="retained warning filter"):
warnings.warn("retained warning filter", DeprecationWarning)
instance = model.model_validate(["1"] if root_model else {"model_values": ["1"]})
assert instance.model_dump() == ([1] if root_model else {"model_values": [1]})
@pytest.mark.parametrize("default", [0, []], ids=["cached", "uncached"])
def test_create_model_model_fields(default) -> None:
with warnings.catch_warnings():
warnings.simplefilter("error")
model = create_model(
"ModelFields",
field_definitions={
"model_id": (int, ...),
"model_name": (str, "default"),
"model_dump": (str, ...),
"_private": (int, 0),
"model_value": (int | list[int], default),
},
)
instance = model.model_validate(
{"model_id": "1", "model_dump": "data", "_private": "2"}
)
assert model.__name__ == "ModelFields"
assert instance.model_dump(by_alias=True) == {
"model_id": 1,
"model_name": "default",
"model_dump": "data",
"_private": 2,
"model_value": default,
}
with pytest.raises(pydantic.ValidationError, match="model_id"):
model.model_validate({"model_id": "invalid", "model_dump": "data"})
with pytest.raises(pydantic.ValidationError, match="frozen_instance"):
instance.model_id = 2
schema = model.model_json_schema()
assert schema["title"] == "ModelFields"
assert schema["required"] == ["model_id", "model_dump"]
assert set(schema["properties"]) == {
"model_id",
"model_name",
"model_dump",
"_private",
"model_value",
}
assert schema["properties"]["model_dump"] == {
"title": "Model Dump",
"type": "string",
}
assert schema["properties"]["model_value"]["default"] == default
@pytest.mark.parametrize("default", [0, []], ids=["cached", "uncached"])
def test_create_root_model_defaults(default) -> None:
model = create_model("RootSchema", root=(int | list[int], default))
assert model.__name__ == "RootSchema"
assert model().model_dump() == default
assert model.model_validate("2").model_dump() == 2
schema = model.model_json_schema()
assert schema == {
"anyOf": [{"type": "integer"}, {"items": {"type": "integer"}, "type": "array"}],
"default": default,
"title": "RootSchema",
}
with pytest.warns(pydantic.PydanticDeprecatedSince20, match="deprecated"):
assert model.schema() == schema
def test_create_model_preserves_schema_warnings() -> None:
class WarningSchema:
@classmethod
def __get_pydantic_core_schema__(cls, source, handler):
warnings.warn("custom schema warning", UserWarning)
return handler(source)
with pytest.warns(UserWarning, match="custom schema warning"):
create_model(
"WarningSchema", field_definitions={"model_value": (WarningSchema, ...)}
)
def test_is_supported_by_pydantic() -> None:
"""Test if types are supported by pydantic."""
+9 -9
View File
@@ -2182,14 +2182,14 @@ wheels = [
[[package]]
name = "opentelemetry-api"
version = "1.45.1"
version = "1.45.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/2e/02/6e0ae9cc61bd3169d401077b507b3ebc344745171e1051ab430be012dcd9/opentelemetry_api-1.45.1.tar.gz", hash = "sha256:aa38ed19bcc084ba42782a73255b3582283eced7ad6dddbd6695189e69adfb75", size = 72804, upload-time = "2026-10-06T17:32:58.133Z" }
sdist = { url = "https://files.pythonhosted.org/packages/19/14/cf3a6b6448849656e1e5f4e2101f3988dc6789724050096aba1bc5ccf592/opentelemetry_api-1.45.2.tar.gz", hash = "sha256:d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4", size = 73277, upload-time = "2026-10-29T17:29:37.888Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/1e/41/f7dcf80b81ee8e71c1a2b59f14208bc723edbd89ed027a73b175abf6348e/opentelemetry_api-1.45.1-py3-none-any.whl", hash = "sha256:b31553efa588ae44bc306f863c785c5333a9ecc091248c6ee68b4b6c87fdedfb", size = 60256, upload-time = "2026-10-06T17:32:33.506Z" },
{ url = "https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc88e67e73bd6c7aa1905ef18d89e1281c81/opentelemetry_api-1.45.2-py3-none-any.whl", hash = "sha256:2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34", size = 60335, upload-time = "2026-10-29T17:29:06.955Z" },
]
[[package]]
@@ -2281,29 +2281,29 @@ wheels = [
[[package]]
name = "opentelemetry-sdk"
version = "1.45.1"
version = "1.45.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "opentelemetry-api" },
{ name = "opentelemetry-semantic-conventions" },
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/a1/79/7392e21a1c8f0c61d90b223e31c7e48cb9d452e91a6b820ad24cca5f23c4/opentelemetry_sdk-1.45.1.tar.gz", hash = "sha256:63d24a6ca645019a631e6a51999c73e93adcac1196ca640b8ae78a7cc4762bf3", size = 218324, upload-time = "2026-10-06T17:33:13.26Z" }
sdist = { url = "https://files.pythonhosted.org/packages/7b/1a/74a21d4d6969fb8b432ac397e66112a8167a6deb267ea4559dbaf2fe91ef/opentelemetry_sdk-1.45.2.tar.gz", hash = "sha256:7eec4de13dd21ff3a1670dcb0e02079e692736f94d733dfdce5af461d884248d", size = 221705, upload-time = "2026-10-29T17:29:54.685Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/95/3c/87c42b4bd6dd297536f04cd9383d212ac557ecd49f2cbdcd46da1c9ef5c8/opentelemetry_sdk-1.45.1-py3-none-any.whl", hash = "sha256:c604c11dc429810812348989115fa44bd558772a3d7442afc43d024f2c250ca4", size = 140063, upload-time = "2026-10-06T17:32:55.04Z" },
{ url = "https://files.pythonhosted.org/packages/9f/a5/9a3b793ef48245f2336a16beb2324c2397dbb3f987cd68942f77cca06156/opentelemetry_sdk-1.45.2-py3-none-any.whl", hash = "sha256:ff974ea70ee4f1d51e2ec152db37c2b626c7bf82bb3f7d86114fd8704e7199c6", size = 141756, upload-time = "2026-10-29T17:29:33.722Z" },
]
[[package]]
name = "opentelemetry-semantic-conventions"
version = "0.66b1"
version = "0.66b2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "opentelemetry-api" },
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/46/e4/dbbfb2a010c4db2224a5114638acede6fe563d33cc20fb1752cebcbe6298/opentelemetry_semantic_conventions-0.66b1.tar.gz", hash = "sha256:497ca63bf383723411e8eaf60c8779e9877633c936bb641080adab59d0eb6ec8", size = 150250, upload-time = "2026-10-06T17:33:14.073Z" }
sdist = { url = "https://files.pythonhosted.org/packages/37/3f/50f95972b50e8e353f5b9342034c9cd17730f1956f009ce6a3fbbd89f9ce/opentelemetry_semantic_conventions-0.66b2.tar.gz", hash = "sha256:7da5f1a5dc4383eb66711d4d3d3e71824d9403ac1559fea021cc103c1a4c4976", size = 150246, upload-time = "2026-10-29T17:29:55.682Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/bc/14/67f8aa798857f8cf686f515bf93d9bb877ce952ddc8efae0fa25b45ce0d6/opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl", hash = "sha256:d4cddeb4315490b35213f55e2bdc9ac54bb1e4d318927475bed62b35545e581b", size = 206279, upload-time = "2026-10-06T17:32:56.103Z" },
{ url = "https://files.pythonhosted.org/packages/67/bd/6bf33ed31521c565931c037e9e81bac47c1acb000e850c6e24220e2a0c00/opentelemetry_semantic_conventions-0.66b2-py3-none-any.whl", hash = "sha256:4cbe61e5f9275d57ab31708446e7938ef4291ebbe6a7fca6f7a629c5acae87d8", size = 206280, upload-time = "2026-10-29T17:29:35.062Z" },
]
[[package]]