Skip to content

Commit 1a87b85

Browse files
committed
Remove [test] package from distro
Fixes open-telemetry#2237
1 parent 565e78d commit 1a87b85

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

Diff for: opentelemetry-distro/pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ dependencies = [
3131
otlp = [
3232
"opentelemetry-exporter-otlp == 1.24.0.dev",
3333
]
34-
test = []
3534

3635
[project.entry-points.opentelemetry_configurator]
3736
configurator = "opentelemetry.distro:OpenTelemetryConfigurator"

Diff for: opentelemetry-distro/test-requirements.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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
17+
-e opentelemetry-distro

Diff for: tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ commands_pre =
319319
test: pip install opentelemetry-test-utils[test]@{env:CORE_REPO}\#egg=opentelemetry-test-utils&subdirectory=tests/opentelemetry-test-utils
320320
test: pip install {toxinidir}/opentelemetry-instrumentation
321321

322-
distro: pip install {toxinidir}/opentelemetry-distro
322+
distro: pip install -r {toxinidir}/opentelemetry-distro/test-requirements.txt
323323

324324
celery: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-celery[test]
325325

@@ -589,7 +589,7 @@ commands_pre =
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]
592-
python -m pip install -e {toxinidir}/opentelemetry-distro[test]
592+
pip install -r {toxinidir}/opentelemetry-distro/test-requirements.txt
593593

594594
commands =
595595
python scripts/eachdist.py lint --check-only

0 commit comments

Comments
 (0)