Skip to content

Commit a2ec3fb

Browse files
committed
Fix version conflict caused by non-hermetic requirements.
1 parent dd606c2 commit a2ec3fb

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/requirements.latest.txt

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,27 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
16+
# ********************************
17+
# WARNING: NOT HERMETIC !!!!!!!!!!
18+
**********************************
19+
#
20+
# This "requirements.txt" is installed in conjuction
21+
# with multiple other dependencies in the top-level "tox.ini"
22+
# file. In particular, please see:
23+
#
24+
# google-genai-recent-deps: {[testenv]test_deps}
25+
# google-genai-recent-deps: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-google-genai/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+
1536
# This variant of the requirements aims to test the system using
1637
# the newest supported version of external depenendencies.
1738

@@ -21,11 +42,8 @@ pytest-vcr==1.0.2
2142

2243
google-auth==2.38.0
2344
google-genai==1.0.0
24-
opentelemetry-api==1.30.0
25-
opentelemetry-sdk==1.30.0
26-
opentelemetry-semantic-conventions==0.51b0
27-
opentelemetry-instrumentation==0.51b0
2845

2946
# Install locally from the folder. This path is relative to the
3047
# root directory, given invocation from "tox" at root level.
48+
-e opentelemetry-instrumentation
3149
-e instrumentation-genai/opentelemetry-instrumentation-google-genai

0 commit comments

Comments
 (0)