Skip to content

Commit

Permalink
Remove [test] package from aiopg instrumentation
Browse files Browse the repository at this point in the history
Fixes #2185
  • Loading branch information
ocelotl committed Feb 17, 2024
1 parent 2518a4a commit 0ae42fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ dependencies = [
instruments = [
"aiopg >= 0.13.0, < 2.0.0",
]
test = [
"opentelemetry-instrumentation-aiopg[instruments]",
"opentelemetry-semantic-conventions == 0.44b0.dev",
"opentelemetry-test-utils == 0.44b0.dev",
]

[project.entry-points.opentelemetry_instrumentor]
aiopg = "opentelemetry.instrumentation.aiopg:AiopgInstrumentor"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
aiopg==1.4.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
Expand Up @@ -457,7 +457,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]

Expand Down Expand Up @@ -558,7 +558,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]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg
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]
Expand Down Expand Up @@ -603,7 +603,7 @@ deps =
# see https://www.psycopg.org/docs/install.html#build-prerequisites
# you might have to install additional packages depending on your OS
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
Expand Down

0 comments on commit 0ae42fd

Please sign in to comment.