Skip to content

Commit df5e78c

Browse files
committed
Remove [test] package from sdk-extension-aws
Fixes open-telemetry#2234
1 parent 46a8c59 commit df5e78c

File tree

4 files changed

+21
-8
lines changed

4 files changed

+21
-8
lines changed

.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"

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

tox.ini

+4-4
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
@@ -422,7 +422,7 @@ commands_pre =
422422

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

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

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

@@ -585,7 +585,7 @@ commands_pre =
585585
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
586586
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
587587
# requires snappy headers to be available on the system
588-
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
588+
pip install -r {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws/test-requirements.txt
589589
python -m pip install -e {toxinidir}/resource/opentelemetry-resource-detector-container[test]
590590
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-aws-xray[test]
591591
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-ot-trace[test]

0 commit comments

Comments
 (0)