Skip to content

Commit

Permalink
Remove [test] package from resource-detector-container (#2319)
Browse files Browse the repository at this point in the history
Fixes #2228
  • Loading branch information
ocelotl committed Mar 21, 2024
1 parent a892b0b commit 4107d39
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ dependencies = [
"opentelemetry-sdk ~= 1.12",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_resource_detector]
container = "opentelemetry.resource.detector.container:ContainerResourceDetector"

Expand Down
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 resource/opentelemetry-resource-detector-container
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ commands_pre =

sdkextension-aws: pip install {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]

resource-detector-container: pip install {toxinidir}/resource/opentelemetry-resource-detector-container[test]
resource-detector-container: pip install -r {toxinidir}/resource/opentelemetry-resource-detector-container/test-requirements.txt

http: pip install {toxinidir}/util/opentelemetry-util-http
; In order to get a health coverage report,
Expand Down Expand Up @@ -618,7 +618,7 @@ commands_pre =
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
# requires snappy headers to be available on the system
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
python -m pip install -e {toxinidir}/resource/opentelemetry-resource-detector-container[test]
pip install -r {toxinidir}/resource/opentelemetry-resource-detector-container/test-requirements.txt
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]
Expand Down

0 comments on commit 4107d39

Please sign in to comment.