Skip to content

Commit 79b3176

Browse files
committed
Remove [test] package from aws-lambda instrumentation
Fixes open-telemetry#2190
1 parent dcffb58 commit 79b3176

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

instrumentation/opentelemetry-instrumentation-aws-lambda/pyproject.toml

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

2929
[project.optional-dependencies]
3030
instruments = []
31-
test = [
32-
"opentelemetry-test-utils == 0.45b0.dev",
33-
]
3431

3532
[project.urls]
3633
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-aws-lambda"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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.9.0
14+
wrapt==1.16.0
15+
zipp==3.17.0
16+
-e opentelemetry-instrumentation
17+
-e propagator/opentelemetry-propagator-aws-xray
18+
-e instrumentation/opentelemetry-instrumentation-aws-lambda

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ commands_pre =
345345

346346
asyncpg: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements.txt
347347

348-
aws-lambda: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
348+
aws-lambda: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda/test-requirements.txt
349349

350350
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
351351
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
@@ -609,7 +609,7 @@ commands_pre =
609609
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
610610
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
611611
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx/test-requirements-1.txt
612-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
612+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
613613
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
614614
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio/test-requirements.txt
615615
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]

0 commit comments

Comments
 (0)