@@ -203,8 +203,8 @@ envlist =
203203 pypy3-test-instrumentation-tortoiseorm
204204
205205 ; opentelemetry-instrumentation-httpx
206- py3{8,9,10,11}-test-instrumentation-httpx-{18,21 }
207- pypy3-test-instrumentation-httpx-{18,21 }
206+ py3{8,9,10,11}-test-instrumentation-httpx-{0,1 }
207+ pypy3-test-instrumentation-httpx-{0,1 }
208208
209209 ; opentelemetry-util-http
210210 py3{8,9,10,11}-test-util-http
@@ -292,10 +292,6 @@ deps =
292292 pymemcache-300: pymemcache >3.0.0,<3.4.2
293293 pymemcache-342: pymemcache ==3.4.2
294294 pymemcache-400: pymemcache ==4.0.0
295- httpx-18: httpx>=0.18.0,<0.19.0
296- httpx-18: respx~=0.17.0
297- httpx-21: httpx>=0.19.0
298- httpx-21: respx~=0.20.1
299295 urllib3v-1: urllib3 >=1.0.0,<2.0.0
300296 urllib3v-2: urllib3 >=2.0.0,<3.0.0
301297
@@ -333,7 +329,7 @@ commands_pre =
333329
334330 grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
335331
336- falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,httpx-{18,21}, requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
332+ falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
337333 wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
338334 asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
339335
@@ -420,7 +416,12 @@ commands_pre =
420416
421417 asyncio: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
422418
423- httpx-{18,21}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
419+ ; The numbers at the end of the environment names
420+ ; below mean these dependencies are being used:
421+ ; 0: httpx>=0.18.0,<0.19.0 respx~=0.17.0
422+ ; 1: httpx>=0.19.0 respx~=0.20.1
423+ httpx-0: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx/test-requirements-0.txt
424+ httpx-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx/test-requirements-1.txt
424425
425426 sdkextension-aws: pip install {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
426427
@@ -579,7 +580,7 @@ commands_pre =
579580 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
580581 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
581582 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
582- python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
583+ python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx
583584 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
584585 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
585586 python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
0 commit comments