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 5943b46

Browse files
committedFeb 24, 2024
Remove [test] package from pymysql instrumentation
Fixes #2213
1 parent 1c21715 commit 5943b46

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed
 

‎instrumentation/opentelemetry-instrumentation-pymysql/pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ dependencies = [
3333
instruments = [
3434
"PyMySQL < 2",
3535
]
36-
test = [
37-
"opentelemetry-instrumentation-pymysql[instruments]",
38-
"opentelemetry-test-utils == 0.45b0.dev",
39-
]
4036

4137
[project.entry-points.opentelemetry_instrumentor]
4238
pymysql = "opentelemetry.instrumentation.pymysql:PyMySQLInstrumentor"
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+
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+
PyMySQL==1.1.0
11+
pytest==7.1.3
12+
pytest-benchmark==4.0.0
13+
tomli==2.0.1
14+
typing_extensions==4.9.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e ../../../opentelemetry-instrumentation
18+
-e ../../../instrumentation/opentelemetry-instrumentation-dbapi
19+
-e ../../../instrumentation/opentelemetry-instrumentation-pymysql

‎tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ commands_pre =
427427

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

430-
pymysql: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]
430+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql
431431

432432
pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
433433

@@ -564,7 +564,7 @@ commands_pre =
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
567-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql[test]
567+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymysql
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]

0 commit comments

Comments
 (0)
Please sign in to comment.