-
Notifications
You must be signed in to change notification settings - Fork 931
[chore] Replace '-0' and '-1' with semantically meaningful suffixes. Other minor fixes in 'instrumentation-genai' test structure. #3268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
xrmx
merged 5 commits into
open-telemetry:main
from
michaelsafyan:genai_tox_improvements
Feb 19, 2025
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
bc2befd
Replace '-0' and '-1' with semantically meaningful suffixes.
michaelsafyan 61690a2
Merge branch 'open-telemetry:main' into genai_tox_improvements
michaelsafyan 2b89b63
Act on feedback in PR 3268.
michaelsafyan d9ba9e8
Merge branch 'main' into genai_tox_improvements
michaelsafyan 762b55e
Fix typos.
michaelsafyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
instrumentation-genai/opentelemetry-instrumentation-openai-v2/test-requirements-0.txt
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
instrumentation-genai/opentelemetry-instrumentation-openai-v2/test-requirements-1.txt
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.latest.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # 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. | ||
|
|
||
|
|
||
| # ******************************** | ||
| # WARNING: NOT HERMETIC !!!!!!!!!! | ||
| # ******************************** | ||
| # | ||
| # This "requirements.txt" is installed in conjuction | ||
| # with multiple other dependencies in the top-level "tox.ini" | ||
| # file. In particular, please see: | ||
| # | ||
| # openai-recent-deps: {[testenv]test_deps} | ||
| # openai-recent-deps: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.latest.txt | ||
| # | ||
| # This provides additional dependencies, namely: | ||
| # | ||
| # opentelemetry-api | ||
| # opentelemetry-sdk | ||
| # opentelemetry-semantic-conventions | ||
| # | ||
| # ... with a "dev" version based on the latest distribution. | ||
|
|
||
|
|
||
| # This variant of the requirements aims to test the system using | ||
| # the newest supported version of external depenendencies. | ||
|
|
||
| openai==1.26.0 | ||
| pydantic==2.8.2 | ||
| httpx==0.27.2 | ||
| Deprecated==1.2.14 | ||
| importlib-metadata==6.11.0 | ||
| packaging==24.0 | ||
| pytest==7.4.4 | ||
| pytest-vcr==1.0.2 | ||
| pytest-asyncio==0.21.0 | ||
| wrapt==1.16.0 | ||
| # test with the latest version of opentelemetry-api, sdk, and semantic conventions | ||
|
|
||
| -e opentelemetry-instrumentation | ||
| -e instrumentation-genai/opentelemetry-instrumentation-openai-v2 | ||
33 changes: 33 additions & 0 deletions
33
instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.oldest.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # 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. | ||
|
|
||
| # This variant of the requirements aims to test the system using | ||
| # the oldest supported version of external depenendencies. | ||
|
|
||
| openai==1.26.0 | ||
| pydantic==2.8.2 | ||
| httpx==0.27.2 | ||
| Deprecated==1.2.14 | ||
| importlib-metadata==6.11.0 | ||
| packaging==24.0 | ||
| pytest==7.4.4 | ||
| pytest-vcr==1.0.2 | ||
| pytest-asyncio==0.21.0 | ||
| wrapt==1.16.0 | ||
| opentelemetry-exporter-otlp-proto-http~=1.30 | ||
| opentelemetry-api==1.30 # when updating, also update in pyproject.toml | ||
| opentelemetry-sdk==1.30 # when updating, also update in pyproject.toml | ||
| opentelemetry-semantic-conventions==0.51b0 # when updating, also update in pyproject.toml | ||
|
|
||
| -e instrumentation-genai/opentelemetry-instrumentation-openai-v2 |
54 changes: 0 additions & 54 deletions
54
instrumentation-genai/opentelemetry-instrumentation-vertexai/test-requirements-1.txt
This file was deleted.
Oops, something went wrong.
92 changes: 92 additions & 0 deletions
92
instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/requirements.latest.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| # 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. | ||
|
|
||
|
|
||
| # ******************************** | ||
| # WARNING: NOT HERMETIC !!!!!!!!!! | ||
| # ******************************** | ||
| # | ||
| # This "requirements.txt" is installed in conjuction | ||
| # with multiple other dependencies in the top-level "tox.ini" | ||
| # file. In particular, please see: | ||
| # | ||
| # vertexai-recent-deps: {[testenv]test_deps} | ||
| # vertexai-recent-deps: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/requirements.latest.txt | ||
| # | ||
| # This provides additional dependencies, namely: | ||
| # | ||
| # opentelemetry-api | ||
| # opentelemetry-sdk | ||
| # opentelemetry-semantic-conventions | ||
| # | ||
| # ... with a "dev" version based on the latest distribution. | ||
|
|
||
|
|
||
| # This variant of the requirements aims to test the system using | ||
| # the newest supported version of external depenendencies. | ||
|
|
||
| annotated-types==0.7.0 | ||
| asgiref==3.8.1 | ||
| cachetools==5.5.0 | ||
| certifi==2024.8.30 | ||
| charset-normalizer==3.4.0 | ||
| Deprecated==1.2.15 | ||
| docstring_parser==0.16 | ||
| exceptiongroup==1.2.2 | ||
| google-api-core==2.23.0 | ||
| google-auth==2.36.0 | ||
| google-cloud-aiplatform==1.79.0 | ||
| google-cloud-bigquery==3.27.0 | ||
| google-cloud-core==2.4.1 | ||
| google-cloud-resource-manager==1.13.1 | ||
| google-cloud-storage==2.19.0 | ||
| google-crc32c==1.5.0 | ||
| google-resumable-media==2.7.2 | ||
| googleapis-common-protos==1.66.0 | ||
| grpc-google-iam-v1==0.13.1 | ||
| grpcio==1.68.1 | ||
| grpcio-status==1.68.1 | ||
| idna==3.10 | ||
| importlib_metadata==8.5.0 | ||
| iniconfig==2.0.0 | ||
| multidict==6.1.0 | ||
| packaging==24.2 | ||
| pluggy==1.5.0 | ||
| propcache==0.2.0 | ||
| proto-plus==1.25.0 | ||
| protobuf==5.29.1 | ||
| pyasn1==0.6.1 | ||
| pyasn1_modules==0.4.1 | ||
| pydantic==2.10.3 | ||
| pydantic_core==2.27.1 | ||
| pytest==7.4.4 | ||
| pytest-asyncio==0.21.0 | ||
| pytest-vcr==1.0.2 | ||
| python-dateutil==2.9.0.post0 | ||
| PyYAML==6.0.2 | ||
| requests==2.32.3 | ||
| rsa==4.9 | ||
| shapely==2.0.6 | ||
| six==1.17.0 | ||
| tomli==2.2.1 | ||
| typing_extensions==4.12.2 | ||
| urllib3==1.26.20 | ||
| vcrpy==6.0.2 | ||
| wrapt==1.17.0 | ||
| yarl==1.15.2 | ||
| zipp==3.20.2 | ||
| # test with the latest version of opentelemetry-api, sdk, and semantic conventions | ||
|
|
||
| -e opentelemetry-instrumentation | ||
| -e instrumentation-genai/opentelemetry-instrumentation-vertexai[instruments] |
17 changes: 17 additions & 0 deletions
17
...entation-vertexai/test-requirements-0.txt → ...on-vertexai/tests/requirements.oldest.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.