Skip to content

Commit 8567520

Browse files
committed
Remove [test] package from pyramid instrumentation
Fixes open-telemetry#2214
1 parent 46a8c59 commit 8567520

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed

instrumentation/opentelemetry-instrumentation-pyramid/pyproject.toml

-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ dependencies = [
3636
instruments = [
3737
"pyramid >= 1.7",
3838
]
39-
test = [
40-
"opentelemetry-instrumentation-pyramid[instruments]",
41-
"opentelemetry-test-utils == 0.45b0.dev",
42-
"werkzeug == 0.16.1",
43-
]
4439

4540
[project.entry-points.opentelemetry_instrumentor]
4641
pyramid = "opentelemetry.instrumentation.pyramid:PyramidInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
hupper==1.12.1
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
PasteDeploy==3.1.0
9+
plaster==1.1.2
10+
plaster-pastedeploy==1.0.1
11+
pluggy==1.4.0
12+
py==1.11.0
13+
py-cpuinfo==9.0.0
14+
pyramid==2.0.2
15+
pytest==7.1.3
16+
pytest-benchmark==4.0.0
17+
tomli==2.0.1
18+
translationstring==1.4
19+
typing_extensions==4.9.0
20+
venusian==3.1.0
21+
WebOb==1.8.7
22+
Werkzeug==0.16.1
23+
wrapt==1.16.0
24+
zipp==3.17.0
25+
zope.deprecation==5.0
26+
zope.interface==6.2
27+
-e opentelemetry-instrumentation
28+
-e util/opentelemetry-util-http
29+
-e instrumentation/opentelemetry-instrumentation-wsgi
30+
-e instrumentation/opentelemetry-instrumentation-pyramid

tox.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ commands_pre =
333333

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

336-
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
337-
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
336+
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},tornado,starlette,fastapi,aiohttp,asgi,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
337+
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
338338
asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
339339

340340
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
@@ -378,7 +378,7 @@ commands_pre =
378378

379379
pymysql: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]
380380

381-
pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
381+
pyramid: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid/test-requirements.txt
382382

383383
sqlite3: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
384384

@@ -565,7 +565,7 @@ commands_pre =
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
567567
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
568-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
568+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid/test-requirements.txt
569569
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
571571
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]

0 commit comments

Comments
 (0)