Skip to content

Commit

Permalink
Remove [test] package from propagator-aws-xray
Browse files Browse the repository at this point in the history
Fixes #2230
  • Loading branch information
ocelotl committed Mar 6, 2024
1 parent 46a8c59 commit bc230df
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
3 changes: 0 additions & 3 deletions propagator/opentelemetry-propagator-aws-xray/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ dependencies = [
"opentelemetry-api ~= 1.12",
]

[project.optional-dependencies]
test = []

[project.entry-points.opentelemetry_propagator]
xray = "opentelemetry.propagators.aws:AwsXRayPropagator"

Expand Down
21 changes: 21 additions & 0 deletions propagator/opentelemetry-propagator-aws-xray/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
asgiref==3.7.2
attrs==23.2.0
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
idna==3.6
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
requests==2.31.0
tomli==2.0.1
typing_extensions==4.10.0
urllib3==2.2.1
wrapt==1.16.0
zipp==3.17.0
-e propagator/opentelemetry-propagator-aws-xray
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ commands_pre =
; In order to get a health coverage report,
propagator-ot-trace: pip install {toxinidir}/propagator/opentelemetry-propagator-ot-trace[test]

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

; we have to install packages in editable mode.
coverage: python {toxinidir}/scripts/eachdist.py install --editable
Expand Down Expand Up @@ -587,7 +587,7 @@ commands_pre =
# 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]
python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-aws-xray[test]
pip install -r {toxinidir}/propagator/opentelemetry-propagator-aws-xray/test-requirements.txt
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 bc230df

Please sign in to comment.