Skip to content

Commit c2fe2ec

Browse files
Support aio_pika 9
1 parent b513d1f commit c2fe2ec

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131

3232
[project.optional-dependencies]
3333
instruments = [
34-
"aio_pika >= 7.2.0, < 9.0.0",
34+
"aio_pika >= 7.2.0, < 10.0.0",
3535
]
3636
test = [
3737
"opentelemetry-instrumentation-aio-pika[instruments]",

instrumentation/opentelemetry-instrumentation-aio-pika/src/opentelemetry/instrumentation/aio_pika/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
from typing import Collection
1515

16-
_instruments: Collection[str] = ("aio_pika >= 7.2.0, < 9.0.0",)
16+
_instruments: Collection[str] = ("aio_pika >= 7.2.0, < 10.0.0",)
Binary file not shown.

opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
libraries = {
1919
"aio_pika": {
20-
"library": "aio_pika >= 7.2.0, < 9.0.0",
20+
"library": "aio_pika >= 7.2.0, < 10.0.0",
2121
"instrumentation": "opentelemetry-instrumentation-aio-pika==0.37b0.dev",
2222
},
2323
"aiohttp": {

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ envlist =
207207
pypy3-test-instrumentation-pika{0,1}
208208

209209
; opentelemetry-instrumentation-aio-pika
210-
py3{7,8,9,10,11}-test-instrumentation-aio-pika{7,8}
211-
pypy3-test-instrumentation-aio-pika{7,8}
210+
py3{7,8,9,10,11}-test-instrumentation-aio-pika{7,8,9}
211+
pypy3-test-instrumentation-aio-pika{7,8,9}
212212

213213
; opentelemetry-instrumentation-kafka-python
214214
py3{7,8,9,10,11}-test-instrumentation-kafka-python
@@ -256,6 +256,7 @@ deps =
256256
pika1: pika>=1.0.0
257257
aio-pika7: aio_pika~=7.2.0
258258
aio-pika8: aio_pika>=8.0.0,<9.0.0
259+
aio-pika8: aio_pika>=9.0.0,<10.0.0
259260
pymemcache135: pymemcache ==1.3.5
260261
pymemcache200: pymemcache >2.0.0,<3.0.0
261262
pymemcache300: pymemcache >3.0.0,<3.4.2
@@ -302,7 +303,7 @@ changedir =
302303
test-instrumentation-logging: instrumentation/opentelemetry-instrumentation-logging/tests
303304
test-instrumentation-mysql: instrumentation/opentelemetry-instrumentation-mysql/tests
304305
test-instrumentation-pika{0,1}: instrumentation/opentelemetry-instrumentation-pika/tests
305-
test-instrumentation-aio-pika{7,8}: instrumentation/opentelemetry-instrumentation-aio-pika/tests
306+
test-instrumentation-aio-pika{7,8,9}: instrumentation/opentelemetry-instrumentation-aio-pika/tests
306307
test-instrumentation-psycopg2: instrumentation/opentelemetry-instrumentation-psycopg2/tests
307308
test-instrumentation-pymemcache{135,200,300,342}: instrumentation/opentelemetry-instrumentation-pymemcache/tests
308309
test-instrumentation-pymongo: instrumentation/opentelemetry-instrumentation-pymongo/tests
@@ -344,7 +345,7 @@ commands_pre =
344345

345346
pika{0,1}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pika[test]
346347

347-
aio-pika{7,8}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
348+
aio-pika{7,8,9}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
348349

349350
kafka-python: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
350351

0 commit comments

Comments
 (0)