Skip to content

Commit d530609

Browse files
committed
Remove [test] package from dbapi instrumentation
Fixes open-telemetry#2197
1 parent 46a8c59 commit d530609

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

instrumentation/opentelemetry-instrumentation-dbapi/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ dependencies = [
3232

3333
[project.optional-dependencies]
3434
instruments = []
35-
test = [
36-
"opentelemetry-test-utils == 0.45b0.dev",
37-
]
3835

3936
[project.urls]
4037
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-dbapi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
importlib-metadata==6.11.0
5+
iniconfig==2.0.0
6+
packaging==23.2
7+
pluggy==1.4.0
8+
py==1.11.0
9+
py-cpuinfo==9.0.0
10+
pytest==7.1.3
11+
pytest-benchmark==4.0.0
12+
tomli==2.0.1
13+
typing_extensions==4.9.0
14+
wrapt==1.16.0
15+
zipp==3.17.0
16+
-e opentelemetry-instrumentation
17+
-e instrumentation/opentelemetry-instrumentation-dbapi

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ commands_pre =
358358

359359
cassandra: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra[test]
360360

361-
dbapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
361+
dbapi: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt
362362

363363
django-{1,2,3,4}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
364364

@@ -535,7 +535,7 @@ commands_pre =
535535
python -m pip install -e {toxinidir}/util/opentelemetry-util-http[test]
536536
python -m pip install -e {toxinidir}/opentelemetry-instrumentation[test]
537537
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
538-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
538+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt
539539
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
540540
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
541541
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]

0 commit comments

Comments
 (0)