@@ -172,8 +172,12 @@ envlist =
172172 pypy3-test-instrumentation-grpc
173173
174174 ; opentelemetry-instrumentation-sqlalchemy
175- py3{8,9,10,11}-test-instrumentation-sqlalchemy-{14}
176- pypy3-test-instrumentation-sqlalchemy-{11,14}
175+ ; The numbers at the end of the environment names
176+ ; below mean these dependencies are being used:
177+ ; 0: sqlalchemy>=1.1,<1.2 aiosqlite
178+ ; 1: sqlalchemy~=1.4
179+ py3{8,9,10,11}-test-instrumentation-sqlalchemy-{1}
180+ pypy3-test-instrumentation-sqlalchemy-{0,1}
177181
178182 ; opentelemetry-instrumentation-redis
179183 py3{8,9,10,11}-test-instrumentation-redis
@@ -279,9 +283,6 @@ deps =
279283 flask-300: Flask >=3.0.0
280284 flask-300: Werkzeug >=3.0.0
281285 grpc: pytest-asyncio
282- sqlalchemy-11: sqlalchemy>=1.1,<1.2
283- sqlalchemy-14: aiosqlite
284- sqlalchemy-14: sqlalchemy~=1.4
285286 sio-pika-0: pika>=0.12.0,<1.0.0
286287 sio-pika-1: pika>=1.0.0
287288 aio-pika-7: aio_pika~=7.2.0
@@ -414,7 +415,8 @@ commands_pre =
414415
415416 sklearn: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sklearn[test]
416417
417- sqlalchemy-{11,14}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy[test]
418+ sqlalchemy-0: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-0.txt
419+ sqlalchemy-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-1.txt
418420
419421 elasticsearch-{2,5,6}: pip install {toxinidir}/opentelemetry-instrumentation[test] {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
420422
@@ -545,7 +547,7 @@ commands_pre =
545547 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
546548 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
547549 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
548- python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy[ test]
550+ pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy/ test-requirements-1.txt
549551 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra[test]
550552 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-celery[test]
551553 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pika[test]
@@ -610,7 +612,7 @@ deps =
610612 psycopg ~= 3.1.17
611613 psycopg2 ~= 2.9.5
612614 aiopg >= 0.13.0, < 1.3.0
613- sqlalchemy ~= 1.4
615+ sqlalchemy == 1.4.51
614616 redis ~= 4.3
615617 celery[pytest] >= 4.0, < 6.0
616618 protobuf~=3.13
0 commit comments