Skip to content

Commit

Permalink
Remove [test] package from opentelemetry-exporter-opencensus (#3755)
Browse files Browse the repository at this point in the history
Fixes #3727
  • Loading branch information
ocelotl authored Mar 15, 2024
1 parent dd1ec97 commit 473156b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
3 changes: 0 additions & 3 deletions exporter/opentelemetry-exporter-opencensus/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ dependencies = [
"setuptools >= 16.0",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_traces_exporter]
opencensus = "opentelemetry.exporter.opencensus.trace_exporter:OpenCensusSpanExporter"

Expand Down
23 changes: 23 additions & 0 deletions exporter/opentelemetry-exporter-opencensus/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
flaky==3.7.0
grpcio==1.62.0
importlib-metadata==6.11.0
iniconfig==2.0.0
opencensus-proto==0.1.0
packaging==23.2
pluggy==1.4.0
protobuf==3.20.3
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 opentelemetry-sdk
-e opentelemetry-semantic-conventions
-e exporter/opentelemetry-exporter-opencensus
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ commands_pre =
getting-started: pip install -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-wsgi&subdirectory=instrumentation/opentelemetry-instrumentation-wsgi
getting-started: pip install -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-flask&subdirectory=instrumentation/opentelemetry-instrumentation-flask

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

exporter-otlp-proto-common: pip install {toxinidir}/opentelemetry-proto
exporter-otlp-proto-common: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
Expand Down Expand Up @@ -220,7 +220,7 @@ commands_pre =
python -m pip install -e {toxinidir}/tests/opentelemetry-test-utils[test]
pip install -r {toxinidir}/shim/opentelemetry-opentracing-shim/test-requirements.txt
pip install -r {toxinidir}/shim/opentelemetry-opencensus-shim/test-requirements.txt
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-opencensus[test]
pip install -r {toxinidir}/exporter/opentelemetry-exporter-opencensus/test-requirements.txt
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common[test]
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc[test]
pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt
Expand Down

0 comments on commit 473156b

Please sign in to comment.