Skip to content

Commit 638057f

Browse files
committed
Remove [test] package from requests instrumentation
Fixes open-telemetry#2217
1 parent 1c21715 commit 638057f

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-requests/pyproject.toml

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ dependencies = [
3434
instruments = [
3535
"requests ~= 2.0",
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-requests[instruments]",
39-
"httpretty ~= 1.0",
40-
"opentelemetry-test-utils == 0.45b0.dev",
41-
]
4237

4338
[project.entry-points.opentelemetry_instrumentor]
4439
requests = "opentelemetry.instrumentation.requests:RequestsInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
certifi==2024.2.2
4+
charset-normalizer==3.3.2
5+
Deprecated==1.2.14
6+
httpretty==1.1.4
7+
idna==3.6
8+
importlib-metadata==6.11.0
9+
iniconfig==2.0.0
10+
packaging==23.2
11+
pluggy==1.4.0
12+
py==1.11.0
13+
py-cpuinfo==9.0.0
14+
pytest==7.1.3
15+
pytest-benchmark==4.0.0
16+
requests==2.31.0
17+
tomli==2.0.1
18+
typing_extensions==4.9.0
19+
urllib3==2.2.1
20+
wrapt==1.16.0
21+
zipp==3.17.0
22+
-e ../../../opentelemetry-instrumentation
23+
-e ../../../instrumentation/opentelemetry-instrumentation-requests

Diff for: tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ commands_pre =
437437

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

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

442442
starlette: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette[test]
443443

@@ -561,7 +561,7 @@ commands_pre =
561561
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
564-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
564+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
567567
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]

0 commit comments

Comments
 (0)