Skip to content

Commit c3d6cd1

Browse files
committed
Remove [test] package from opentelemetry-instrumentation
Fixes open-telemetry#2235
1 parent 24c1cca commit c3d6cd1

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

opentelemetry-instrumentation/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ dependencies = [
2929
"wrapt >= 1.0.0, < 2.0.0",
3030
]
3131

32-
[project.optional-dependencies]
33-
test = []
34-
3532
[project.scripts]
3633
opentelemetry-bootstrap = "opentelemetry.instrumentation.bootstrap:run"
3734
opentelemetry-instrument = "opentelemetry.instrumentation.auto_instrumentation:run"
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 opentelemetry-instrumentation

tox.ini

+3-1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ commands_pre =
323323
test: pip install opentelemetry-test-utils[test]@{env:CORE_REPO}\#egg=opentelemetry-test-utils&subdirectory=tests/opentelemetry-test-utils
324324
test: pip install {toxinidir}/opentelemetry-instrumentation
325325

326+
opentelemetry-instrumentation: pip install -r {toxinidir}/opentelemetry-instrumentation/test-requirements.txt
327+
326328
distro: pip install {toxinidir}/opentelemetry-distro
327329

328330
asgi: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
@@ -565,11 +567,11 @@ commands_pre =
565567
python -m pip install {env:CORE_REPO}\#egg=opentelemetry-sdk&subdirectory=opentelemetry-sdk
566568
python -m pip install {env:CORE_REPO}\#egg=opentelemetry-test-utils&subdirectory=tests/opentelemetry-test-utils
567569
python -m pip install -e {toxinidir}/util/opentelemetry-util-http[test]
568-
python -m pip install -e {toxinidir}/opentelemetry-instrumentation[test]
569570
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi/test-requirements.txt
570571
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
571572
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt
572573
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
574+
pip install -r {toxinidir}/opentelemetry-instrumentation/test-requirements.txt
573575
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
574576
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
575577
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette/test-requirements.txt

0 commit comments

Comments
 (0)