Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove [test] package from aiopg instrumentation
Browse files Browse the repository at this point in the history
Fixes #2185
ocelotl committed Mar 12, 2024
1 parent 565e78d commit f7f62e3
Showing 3 changed files with 25 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -34,11 +34,6 @@ dependencies = [
instruments = [
"aiopg >= 0.13.0, < 2.0.0",
]
test = [
"opentelemetry-instrumentation-aiopg[instruments]",
"opentelemetry-semantic-conventions == 0.45b0.dev",
"opentelemetry-test-utils == 0.45b0.dev",
]

[project.entry-points.opentelemetry_instrumentor]
aiopg = "opentelemetry.instrumentation.aiopg:AiopgInstrumentor"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
aiopg==1.4.0
asgiref==3.7.2
async-timeout==4.0.3
attrs==23.2.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
install==1.3.5
packaging==23.2
pluggy==1.4.0
psycopg2-binary==2.9.9
py==1.11.0
py-cpuinfo==9.0.0
pytest==7.1.3
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
-e instrumentation/opentelemetry-instrumentation-dbapi
-e instrumentation/opentelemetry-instrumentation-aiopg
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -406,7 +406,7 @@ commands_pre =

aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]

aiopg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
aiopg: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt

richconsole: pip install flaky {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]

@@ -563,7 +563,7 @@ commands_pre =
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
@@ -609,7 +609,7 @@ deps =
# you might have to install additional packages depending on your OS
psycopg ~= 3.1.17
psycopg2 ~= 2.9.5
aiopg >= 0.13.0, < 1.3.0
aiopg==1.4.0
sqlalchemy ~= 1.4
redis ~= 4.3
celery[pytest] >= 4.0, < 6.0

0 comments on commit f7f62e3

Please sign in to comment.