Skip to content

Commit 1f9dbeb

Browse files
committed
test: add openai agents requirements
1 parent fffb4de commit 1f9dbeb

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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_agents-latest: {[testenv]test_deps}
25+
# openai_agents-latest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-agents-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+
openai-agents==0.3.3
40+
pydantic==2.8.2
41+
httpx==0.27.2
42+
Deprecated==1.2.14
43+
importlib-metadata==6.11.0
44+
packaging==24.0
45+
pytest==7.4.4
46+
pytest-asyncio==0.21.0
47+
wrapt==1.16.0
48+
# test with the latest version of opentelemetry-api, sdk, and semantic conventions
49+
50+
-e opentelemetry-instrumentation
51+
-e instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
# This variant of the requirements aims to test the system using
16+
# the oldest supported version of external dependencies.
17+
18+
openai-agents==0.3.3
19+
pydantic==2.8.2
20+
httpx==0.27.2
21+
Deprecated==1.2.14
22+
importlib-metadata==6.11.0
23+
packaging==24.0
24+
pytest==7.4.4
25+
pytest-asyncio==0.21.0
26+
wrapt==1.16.0
27+
opentelemetry-exporter-otlp-proto-grpc~=1.30
28+
opentelemetry-exporter-otlp-proto-http~=1.30
29+
opentelemetry-api==1.37 # when updating, also update in pyproject.toml
30+
opentelemetry-sdk==1.37 # when updating, also update in pyproject.toml
31+
opentelemetry-semantic-conventions==0.58b0 # when updating, also update in pyproject.toml
32+
33+
-e instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2

0 commit comments

Comments
 (0)