Skip to content

Commit 85bf22d

Browse files
committed
Remove [test] package from botocore instrumentation
Fixes open-telemetry#2193
1 parent 1e0b11f commit 85bf22d

File tree

3 files changed

+71
-10
lines changed

3 files changed

+71
-10
lines changed

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,69 @@
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 ../../../instrumentation/opentelemetry-instrumentation-botocore

tox.ini

+2-3
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ commands_pre =
341341

342342
aws-lambda: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
343343

344-
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
345344
boto: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
346345

347346
boto3sqs: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
@@ -354,7 +353,7 @@ commands_pre =
354353

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

357-
botocore: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
356+
botocore: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
358357

359358
cassandra: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra[test]
360359

@@ -537,7 +536,7 @@ commands_pre =
537536
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
538537
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
539538
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
540-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
539+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore
541540
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
542541
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
543542
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette[test]

0 commit comments

Comments
 (0)