Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9f2510d

Browse files
committedFeb 24, 2024
Remove [test] package from pymongo instrumentation
Fixes open-telemetry#2212
1 parent 1c21715 commit 9f2510d

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
dnspython==2.6.1
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
py==1.11.0
10+
py-cpuinfo==9.0.0
11+
pymongo==4.6.2
12+
pytest==7.1.3
13+
pytest-benchmark==4.0.0
14+
tomli==2.0.1
15+
typing_extensions==4.9.0
16+
wrapt==1.16.0
17+
zipp==3.17.0
18+
-e ../../../opentelemetry-instrumentation
19+
-e ../../../instrumentation/opentelemetry-instrumentation-pymongo

‎tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ commands_pre =
423423

424424
pymemcache-{135,200,300,342,400}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
425425

426-
pymongo: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
426+
pymongo: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo/test-requirements.txt
427427

428428
psycopg2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
429429

@@ -568,7 +568,7 @@ commands_pre =
568568
# prerequisite: follow the instructions here https://github.com/PyMySQL/mysqlclient#install
569569
# for your OS to install the required dependencies
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysqlclient[test]
571-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
571+
python -m pip install -e {{toxinidir}}/instrumentation/opentelemetry-instrumentation-pymongo
572572
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
573573
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
574574
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]

0 commit comments

Comments
 (0)
Please sign in to comment.