Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d06b9e4

Browse files
committedFeb 29, 2024
Remove [test] package from sdk-extension-aws
Fixes open-telemetry#2234
1 parent 8daa8ad commit d06b9e4

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed
 

Diff for: ‎.github/workflows/instrumentations_1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- "richconsole"
3232
- "psycopg"
3333
- "prometheus-remote-write"
34-
- "sdkextension-aws"
34+
- "sdk-extension-aws"
3535
- "propagator-aws-xray"
3636
- "propagator-ot-trace"
3737
- "resource-detector-container"

Diff for: ‎sdk-extension/opentelemetry-sdk-extension-aws/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ dependencies = [
2727
"opentelemetry-sdk ~= 1.12",
2828
]
2929

30-
[project.optional-dependencies]
31-
test = []
32-
3330
[project.entry-points.opentelemetry_id_generator]
3431
xray = "opentelemetry.sdk.extension.aws.trace.aws_xray_id_generator:AwsXRayIdGenerator"
3532

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
importlib-metadata==6.11.0
5+
iniconfig==2.0.0
6+
packaging==23.2
7+
pluggy==1.4.0
8+
py==1.11.0
9+
py-cpuinfo==9.0.0
10+
pytest==7.1.3
11+
pytest-benchmark==4.0.0
12+
tomli==2.0.1
13+
typing_extensions==4.10.0
14+
wrapt==1.16.0
15+
zipp==3.17.0
16+
-e ../../../sdk-extension/opentelemetry-sdk-extension-aws

Diff for: ‎tox.ini

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ envlist =
1111
pypy3-test-resource-detector-container
1212

1313
; opentelemetry-sdk-extension-aws
14-
py3{8,9,10,11}-test-sdkextension-aws
15-
pypy3-test-sdkextension-aws
14+
py3{8,9,10,11}-test-sdk-extension-aws
15+
pypy3-test-sdk-extension-aws
1616

1717
; opentelemetry-distro
1818
py3{8,9,10,11}-test-distro
@@ -359,7 +359,7 @@ changedir =
359359
test-instrumentation-httpx-{18,21}: instrumentation/opentelemetry-instrumentation-httpx/tests
360360
test-instrumentation-asyncio: instrumentation/opentelemetry-instrumentation-asyncio/tests
361361
test-util-http: util/opentelemetry-util-http/tests
362-
test-sdkextension-aws: sdk-extension/opentelemetry-sdk-extension-aws/tests
362+
test-sdk-extension-aws: sdk-extension/opentelemetry-sdk-extension-aws/tests
363363
test-resource-detector-container: resource/opentelemetry-resource-detector-container/tests
364364
test-propagator-aws: propagator/opentelemetry-propagator-aws-xray/tests
365365
test-propagator-ot-trace: propagator/opentelemetry-propagator-ot-trace/tests
@@ -480,7 +480,7 @@ commands_pre =
480480

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

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.