Skip to content

Commit

Permalink
Remove [test] package from distro
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Feb 29, 2024
1 parent 8daa8ad commit 4858a44
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 0 additions & 1 deletion opentelemetry-distro/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies = [
otlp = [
"opentelemetry-exporter-otlp == 1.24.0.dev",
]
test = []

[project.entry-points.opentelemetry_configurator]
configurator = "opentelemetry.distro:OpenTelemetryConfigurator"
Expand Down
16 changes: 16 additions & 0 deletions opentelemetry-distro/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==23.2
pluggy==1.4.0
py==1.11.0
py-cpuinfo==9.0.0
pytest==7.1.3
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
zipp==3.17.0
-e ../../opentelemetry-distro
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ commands_pre =
test: pip install opentelemetry-test-utils[test]@{env:CORE_REPO}\#egg=opentelemetry-test-utils&subdirectory=tests/opentelemetry-test-utils
test: pip install {toxinidir}/opentelemetry-instrumentation

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

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

Expand Down Expand Up @@ -592,7 +592,7 @@ commands_pre =
python -m pip install -e {toxinidir}/resource/opentelemetry-resource-detector-container[test]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-aws-xray[test]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-ot-trace[test]
python -m pip install -e {toxinidir}/opentelemetry-distro[test]
python -m pip install -e {toxinidir}/opentelemetry-distro

commands =
python scripts/eachdist.py lint --check-only
Expand Down

0 comments on commit 4858a44

Please sign in to comment.