Skip to content

Commit ca20501

Browse files
committed
updated pyproject.toml and added test requiremnets
1 parent 513553f commit ca20501

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Copyright The OpenTelemetry Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
# ********************************
17+
# WARNING: NOT HERMETIC !!!!!!!!!!
18+
# ********************************
19+
#
20+
# This "requirements.txt" is installed in conjunction
21+
# with multiple other dependencies in the top-level "tox.ini"
22+
# file. In particular, please see:
23+
#
24+
# openai-latest: {[testenv]test_deps}
25+
# openai-latest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.latest.txt
26+
#
27+
# This provides additional dependencies, namely:
28+
#
29+
# opentelemetry-api
30+
# opentelemetry-sdk
31+
# opentelemetry-semantic-conventions
32+
#
33+
# ... with a "dev" version based on the latest distribution.
34+
35+
36+
# This variant of the requirements aims to test the system using
37+
# the newest supported version of external dependencies.
38+
39+
40+
# LangChain and related packages
41+
langchain
42+
langchain-aws
43+
langchain-community
44+
45+
# AWS
46+
boto3
47+
48+
# Agent tools
49+
duckduckgo-search
50+
51+
# Testing frameworks
52+
pytest==7.4.4
53+
pytest-vcr==1.0.2
54+
pytest-asyncio==0.21.0
55+
56+
# General dependencies
57+
pydantic==2.8.2
58+
httpx==0.27.2
59+
Deprecated==1.2.14
60+
importlib-metadata==6.11.0
61+
packaging==24.0
62+
wrapt==1.16.0
63+
64+
# Local development packages
65+
66+
-e opentelemetry-instrumentation
67+
-e instrumentation-genai/opentelemetry-instrumentation-langchain

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ dependencies = [
6666
"opentelemetry-util-http",
6767
"opentelemetry-instrumentation-vertexai[instruments]",
6868
"opentelemetry-instrumentation-openai-v2[instruments]",
69+
"opentelemetry-instrumentation-langchain[instruments]",
6970
]
7071

7172

@@ -136,6 +137,7 @@ opentelemetry-propagator-aws-xray = { workspace = true }
136137
opentelemetry-util-http = { workspace = true }
137138
opentelemetry-instrumentation-vertexai = { workspace = true }
138139
opentelemetry-instrumentation-openai-v2 = { workspace = true }
140+
opentelemetry-instrumentation-langchain = { workspace = true }
139141

140142
# https://docs.astral.sh/uv/reference/settings/#workspace
141143
[tool.uv.workspace]

0 commit comments

Comments
 (0)