Skip to content

Commit e4355b6

Browse files
committed
Remove [test] package from botocore instrumentation
Fixes #2193
1 parent 5e1e866 commit e4355b6

File tree

4 files changed

+73
-10
lines changed

4 files changed

+73
-10
lines changed

instrumentation/opentelemetry-instrumentation-boto/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test = [
3838
"markupsafe==2.0.1",
3939
"moto~=2.0",
4040
"opentelemetry-test-utils == 0.45b0.dev",
41+
"docker==7.0.0"
4142
]
4243

4344
[project.entry-points.opentelemetry_instrumentor]

instrumentation/opentelemetry-instrumentation-botocore/pyproject.toml

-7
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ dependencies = [
3434
instruments = [
3535
"botocore ~= 1.0",
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-botocore[instruments]",
39-
"markupsafe==2.0.1",
40-
"botocore ~= 1.0, < 1.31.81",
41-
"moto[all] ~= 2.2.6",
42-
"opentelemetry-test-utils == 0.45b0.dev",
43-
]
4437

4538
[project.entry-points.opentelemetry_instrumentor]
4639
botocore = "opentelemetry.instrumentation.botocore:BotocoreInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
annotated-types==0.6.0
2+
asgiref==3.7.2
3+
attrs==23.2.0
4+
aws-sam-translator==1.85.0
5+
aws-xray-sdk==2.12.1
6+
boto3==1.28.80
7+
botocore==1.31.80
8+
certifi==2024.2.2
9+
cffi==1.16.0
10+
cfn-lint==0.85.2
11+
charset-normalizer==3.3.2
12+
cryptography==42.0.5
13+
Deprecated==1.2.14
14+
docker==7.0.0
15+
ecdsa==0.18.0
16+
idna==3.6
17+
importlib-metadata==6.11.0
18+
importlib-resources==6.1.1
19+
iniconfig==2.0.0
20+
Jinja2==3.1.3
21+
jmespath==1.0.1
22+
jschema-to-python==1.2.3
23+
jsondiff==2.0.0
24+
jsonpatch==1.33
25+
jsonpickle==3.0.3
26+
jsonpointer==2.4
27+
jsonschema==4.21.1
28+
jsonschema-specifications==2023.12.1
29+
junit-xml==1.9
30+
MarkupSafe==2.0.1
31+
moto==2.2.20
32+
mpmath==1.3.0
33+
networkx==3.1
34+
packaging==23.2
35+
pbr==6.0.0
36+
pkgutil_resolve_name==1.3.10
37+
pluggy==1.4.0
38+
py==1.11.0
39+
py-cpuinfo==9.0.0
40+
pyasn1==0.5.1
41+
pycparser==2.21
42+
pydantic==2.6.2
43+
pydantic_core==2.16.3
44+
pytest==7.1.3
45+
pytest-benchmark==4.0.0
46+
python-dateutil==2.8.2
47+
python-jose==3.3.0
48+
pytz==2024.1
49+
PyYAML==6.0.1
50+
referencing==0.33.0
51+
regex==2023.12.25
52+
requests==2.31.0
53+
responses==0.25.0
54+
rpds-py==0.18.0
55+
rsa==4.9
56+
s3transfer==0.7.0
57+
sarif-om==1.0.4
58+
six==1.16.0
59+
sshpubkeys==3.3.1
60+
sympy==1.12
61+
tomli==2.0.1
62+
typing_extensions==4.9.0
63+
urllib3==1.26.18
64+
Werkzeug==2.1.2
65+
wrapt==1.16.0
66+
xmltodict==0.13.0
67+
zipp==3.17.0
68+
-e opentelemetry-instrumentation
69+
-e propagator/opentelemetry-propagator-aws-xray
70+
-e instrumentation/opentelemetry-instrumentation-botocore

tox.ini

+2-3
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ commands_pre =
347347

348348
aws-lambda: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda/test-requirements.txt
349349

350-
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
351350
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
352351

353352
boto3sqs: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
@@ -365,7 +364,7 @@ commands_pre =
365364
urllib3-0: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt
366365
urllib3-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-1.txt
367366

368-
botocore: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
367+
botocore: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
369368

370369
cassandra: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra/test-requirements.txt
371370

@@ -566,7 +565,7 @@ commands_pre =
566565
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi/test-requirements.txt
567566
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
568567
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt
569-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
568+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
570569
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
571570
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
572571
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette/test-requirements.txt

0 commit comments

Comments
 (0)