Skip to content

Commit

Permalink
Remove [test] package from opentelemetry-propagator-b3
Browse files Browse the repository at this point in the history
Fixes #3716
  • Loading branch information
ocelotl committed Mar 9, 2024
1 parent 41cf788 commit 7aa2e42
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
3 changes: 0 additions & 3 deletions propagator/opentelemetry-propagator-b3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ dependencies = [
"opentelemetry-api ~= 1.3",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_propagator]
b3 = "opentelemetry.propagators.b3:B3SingleFormat"
b3multi = "opentelemetry.propagators.b3:B3MultiFormat"
Expand Down
18 changes: 18 additions & 0 deletions propagator/opentelemetry-propagator-b3/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
flaky==3.7.0
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-api
-e propagator/opentelemetry-propagator-b3
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ commands_pre =

exporter-zipkin-json: pip install {toxinidir}/exporter/opentelemetry-exporter-zipkin-json

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

propagator-jaeger: pip install {toxinidir}/propagator/opentelemetry-propagator-jaeger

Expand Down Expand Up @@ -229,7 +229,7 @@ commands_pre =
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-json[test]
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-proto-http[test]
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin[test]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-b3[test]
pip install -r {toxinidir}/propagator/opentelemetry-propagator-b3/test-requirements.txt
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-jaeger[test]
# Pin protobuf version due to lint failing on v3.20.0
# https://github.com/protocolbuffers/protobuf/issues/9730
Expand Down

0 comments on commit 7aa2e42

Please sign in to comment.