# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Oldest test-only dependency pins for langchain unit tests.
#
# Only pin provider libraries that have NO lower bound in pyproject.toml. The package's own 
# declared deps — opentelemetry-instrumentation, opentelemetry-util-genai, and langchain 
# (via the instruments extra) — are resolved to their
# pyproject floors by UV_RESOLUTION=lowest-direct on the oldest tox factor, so they are NOT pinned
# here to avoid drift between the declared bound and the tested version.

# Exception: this change depends on the fully-qualified error.type behavior added in
# opentelemetry-util-genai 1.1b0, which is not on PyPI yet. Install it from the workspace so the
# oldest env exercises the required behavior. Remove this once 1.1b0 is released and bump the
# pyproject floor to >= 1.1b0.
-e ./util/opentelemetry-util-genai

langchain-openai==0.2.0
langchain-aws==0.2.2
langchain-google-genai==2.0.0
langchain-anthropic==0.3.0
boto3==1.37.0