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 28, 2024
1 parent 2518a4a commit c2644f4
Show file tree
Hide file tree
Showing 3 changed files with 25 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,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
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 c2644f4

Please sign in to comment.