Skip to content

Commit 528f276

Browse files
committed
Remove [test] package from logging instrumentation
Fixes #2206
1 parent 1782e96 commit 528f276

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

instrumentation/opentelemetry-instrumentation-logging/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ dependencies = [
3030

3131
[project.optional-dependencies]
3232
instruments = []
33-
test = [
34-
"opentelemetry-test-utils == 0.45b0.dev",
35-
]
3633

3734
[project.entry-points.opentelemetry_instrumentor]
3835
logging = "opentelemetry.instrumentation.logging:LoggingInstrumentor"
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-logging

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ commands_pre =
419419

420420
jinja2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
421421

422-
logging: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
422+
logging: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-logging/test-requirements.txt
423423

424424
aio-pika-{0,1,2}: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika/test-requirements-2.txt
425425

@@ -586,8 +586,8 @@ commands_pre =
586586
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
587587
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
588588
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
589-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
590589
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-4.txt
590+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-logging/test-requirements.txt
591591
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
592592
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
593593
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt

0 commit comments

Comments
 (0)