Skip to content

Commit 4f6b690

Browse files
committed
Remove [test] package from urllib instrumentation
Fixes #2225
1 parent 1c21715 commit 4f6b690

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

instrumentation/opentelemetry-instrumentation-urllib/pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ dependencies = [
3232

3333
[project.optional-dependencies]
3434
instruments = []
35-
test = [
36-
"httpretty ~= 1.0",
37-
"opentelemetry-test-utils == 0.45b0.dev",
38-
]
3935

4036
[project.entry-points.opentelemetry_instrumentor]
4137
urllib = "opentelemetry.instrumentation.urllib:URLLibInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
httpretty==1.1.4
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
py==1.11.0
10+
py-cpuinfo==9.0.0
11+
pytest==7.1.3
12+
pytest-benchmark==4.0.0
13+
tomli==2.0.1
14+
typing_extensions==4.9.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e ../../../opentelemetry-instrumentation
18+
-e ../../../instrumentation/opentelemetry-instrumentation-urllib

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ commands_pre =
403403

404404
flask-{213,220,300}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
405405

406-
urllib: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
406+
urllib: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib/test-requirements.txt
407407

408408
urllib3v-{1,2}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
409409

@@ -562,7 +562,7 @@ commands_pre =
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
565-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
565+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
567567
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]
568568
# prerequisite: follow the instructions here https://github.com/PyMySQL/mysqlclient#install

0 commit comments

Comments
 (0)