Skip to content

Commit cbfd506

Browse files
committed
Remove [test] package from sdk-extension-aws
Fixes open-telemetry#2234
1 parent 8daa8ad commit cbfd506

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

sdk-extension/opentelemetry-sdk-extension-aws/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ dependencies = [
2828
]
2929

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

3633
[project.urls]
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

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)