From 647badc3794bcf8d101306380dd087400889c49d Mon Sep 17 00:00:00 2001 From: Phillip Verheyden Date: Sun, 15 Jan 2023 21:56:14 -0600 Subject: [PATCH] Run tests on aio-pika 7 and 8 --- .../opentelemetry-instrumentation-aio-pika/pyproject.toml | 2 +- tox.ini | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml b/instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml index ac06e601cf..0b577fd470 100644 --- a/instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ [project.optional-dependencies] instruments = [ - "aio_pika >= 7.2.0", + "aio_pika >= 7.2.0,<9", ] test = [ "opentelemetry-instrumentation-aio-pika[instruments]", diff --git a/tox.ini b/tox.ini index 4cd6fa02f5..e339353b09 100644 --- a/tox.ini +++ b/tox.ini @@ -203,6 +203,10 @@ envlist = py3{7,8,9,10,11}-test-instrumentation-pika{0,1} pypy3-test-instrumentation-pika{0,1} + ; opentelemetry-instrumentation-aio-pika + py3{7,8,9,10,11}-test-instrumentation-aio-pika{7,8} + pypy3-test-instrumentation-aio-pika{7,8} + ; opentelemetry-instrumentation-kafka-python py3{7,8,9,10,11}-test-instrumentation-kafka-python pypy3-test-instrumentation-kafka-python @@ -247,6 +251,8 @@ deps = sqlalchemy14: sqlalchemy~=1.4 pika0: pika>=0.12.0,<1.0.0 pika1: pika>=1.0.0 + aio-pika7: aio_pika~=7.2.0 + aio-pika8: aio_pika>=8.0.0,<9 pymemcache135: pymemcache ==1.3.5 pymemcache200: pymemcache >2.0.0,<3.0.0 pymemcache300: pymemcache >3.0.0,<3.4.2