Skip to content

Commit

Permalink
Remove [test] package from propagator-ot-trace (#2321)
Browse files Browse the repository at this point in the history
Fixes #2231
  • Loading branch information
ocelotl authored Mar 21, 2024
1 parent 1f3bcd6 commit dc62f8d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
3 changes: 0 additions & 3 deletions propagator/opentelemetry-propagator-ot-trace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ dependencies = [
"opentelemetry-sdk ~= 1.12",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_propagator]
ottrace = "opentelemetry.propagators.ot_trace:OTTracePropagator"

Expand Down
16 changes: 16 additions & 0 deletions propagator/opentelemetry-propagator-ot-trace/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 propagator/opentelemetry-propagator-ot-trace
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ commands_pre =

http: pip install {toxinidir}/util/opentelemetry-util-http
; In order to get a health coverage report,
propagator-ot-trace: pip install {toxinidir}/propagator/opentelemetry-propagator-ot-trace[test]
propagator-ot-trace: pip install -r {toxinidir}/propagator/opentelemetry-propagator-ot-trace/test-requirements.txt

propagator-aws-xray: pip install -r {toxinidir}/propagator/opentelemetry-propagator-aws-xray/test-requirements.txt

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

commands =
Expand Down

0 comments on commit dc62f8d

Please sign in to comment.