Skip to content

Commit

Permalink
Remove [test] package from requests instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Mar 15, 2024
1 parent d1c3cb3 commit 3d0eecf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ dependencies = [
instruments = [
"requests ~= 2.0",
]
test = [
"opentelemetry-instrumentation-requests[instruments]",
"httpretty ~= 1.0",
"opentelemetry-test-utils == 0.45b0.dev",
]

[project.entry-points.opentelemetry_instrumentor]
requests = "opentelemetry.instrumentation.requests:RequestsInstrumentor"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
asgiref==3.7.2
attrs==23.2.0
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
httpretty==1.1.4
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.9.0
urllib3==2.2.1
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
-e util/opentelemetry-util-http
-e instrumentation/opentelemetry-instrumentation-requests
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ commands_pre =

grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]

requests,urllib,urllib3v-{1,2}: pip install {toxinidir}/util/opentelemetry-util-http
,urllib,urllib3v-{1,2}: pip install {toxinidir}/util/opentelemetry-util-http

wsgi: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi/test-requirements.txt

Expand Down Expand Up @@ -404,7 +404,7 @@ commands_pre =

remoulade: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-remoulade[test]

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

starlette: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette/test-requirements.txt

Expand Down Expand Up @@ -589,7 +589,7 @@ commands_pre =
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server/test-requirements.txt
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid/test-requirements.txt
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-requests/test-requirements.txt
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]
Expand Down

0 comments on commit 3d0eecf

Please sign in to comment.