Skip to content

Commit

Permalink
Remove [test] package from sdk-extension-aws
Browse files Browse the repository at this point in the history
Fixes #2234
  • Loading branch information
ocelotl committed Feb 29, 2024
1 parent 8daa8ad commit d06b9e4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/instrumentations_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- "richconsole"
- "psycopg"
- "prometheus-remote-write"
- "sdkextension-aws"
- "sdk-extension-aws"
- "propagator-aws-xray"
- "propagator-ot-trace"
- "resource-detector-container"
Expand Down
3 changes: 0 additions & 3 deletions sdk-extension/opentelemetry-sdk-extension-aws/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ dependencies = [
"opentelemetry-sdk ~= 1.12",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_id_generator]
xray = "opentelemetry.sdk.extension.aws.trace.aws_xray_id_generator:AwsXRayIdGenerator"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==23.2
pluggy==1.4.0
py==1.11.0
py-cpuinfo==9.0.0
pytest==7.1.3
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
zipp==3.17.0
-e ../../../sdk-extension/opentelemetry-sdk-extension-aws
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ envlist =
pypy3-test-resource-detector-container

; opentelemetry-sdk-extension-aws
py3{8,9,10,11}-test-sdkextension-aws
pypy3-test-sdkextension-aws
py3{8,9,10,11}-test-sdk-extension-aws
pypy3-test-sdk-extension-aws

; opentelemetry-distro
py3{8,9,10,11}-test-distro
Expand Down Expand Up @@ -359,7 +359,7 @@ changedir =
test-instrumentation-httpx-{18,21}: instrumentation/opentelemetry-instrumentation-httpx/tests
test-instrumentation-asyncio: instrumentation/opentelemetry-instrumentation-asyncio/tests
test-util-http: util/opentelemetry-util-http/tests
test-sdkextension-aws: sdk-extension/opentelemetry-sdk-extension-aws/tests
test-sdk-extension-aws: sdk-extension/opentelemetry-sdk-extension-aws/tests
test-resource-detector-container: resource/opentelemetry-resource-detector-container/tests
test-propagator-aws: propagator/opentelemetry-propagator-aws-xray/tests
test-propagator-ot-trace: propagator/opentelemetry-propagator-ot-trace/tests
Expand Down Expand Up @@ -480,7 +480,7 @@ commands_pre =

httpx-{18,21}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]

sdkextension-aws: pip install {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
sdk-extension-aws: pip install -r {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws/test-requirements.txt

resource-detector-container: pip install {toxinidir}/resource/opentelemetry-resource-detector-container[test]

Expand Down Expand Up @@ -588,7 +588,7 @@ commands_pre =
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
# requires snappy headers to be available on the system
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws
python -m pip install -e {toxinidir}/resource/opentelemetry-resource-detector-container[test]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-aws-xray[test]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-ot-trace[test]
Expand Down

0 comments on commit d06b9e4

Please sign in to comment.