Skip to content

Commit 3ca5d21

Browse files
committed
Remove [test] package from aws-lambda instrumentation
Fixes open-telemetry#2190
1 parent 2518a4a commit 3ca5d21

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-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.44b0.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,2 @@
1+
-e ../../../opentelemetry-instrumentation
2+
-e ../../../instrumentation/opentelemetry-instrumentation-aws-lambda

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ commands_pre =
392392

393393
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
394394

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

397397
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
398398
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
@@ -575,7 +575,7 @@ commands_pre =
575575
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
576576
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
577577
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
578-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
578+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda
579579
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
580580
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
581581
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]

0 commit comments

Comments
 (0)