@@ -52,10 +52,18 @@ envlist =
52
52
; Only officially supported Python versions are tested for each Django
53
53
; major release. Updated list can be found at:
54
54
; https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
55
+ ; The numbers at the end of the environment names
56
+ ; below mean these dependencies are being used:
57
+ ; 0: django~=2.0
58
+ ; 1: django~=3.0
59
+ ; 2: django>=4.0b1,<5.0 backports.zoneinfo==0.2.1
60
+ ; 3: django>=4.0b1,<5.0
61
+ py3{8,9}-test-instrumentation-django-0
62
+ py3{8,9}-test-instrumentation-django-1
55
63
py3{8,9}-test-instrumentation-django-2
56
- py3{8,9, 10,11}-test-instrumentation-django-3
57
- py3{8,9, 10,11}-test-instrumentation-django-4
58
- pypy3-test-instrumentation-django-{2,3 }
64
+ py3{10,11}-test-instrumentation-django-1
65
+ py3{10,11}-test-instrumentation-django-3
66
+ pypy3-test-instrumentation-django-{0,1 }
59
67
60
68
; opentelemetry-instrumentation-dbapi
61
69
py3{8,9,10,11}-test-instrumentation-dbapi
@@ -260,9 +268,6 @@ deps =
260
268
test: pytest-benchmark
261
269
coverage: pytest
262
270
coverage: pytest-cov
263
- django-2: django~=2.0
264
- django-3: django~=3.0
265
- django-4: django>=4.0b1,<5.0
266
271
elasticsearch-2: elasticsearch-dsl>=2.0,<3.0
267
272
elasticsearch-2: elasticsearch>=2.0,<3.0
268
273
elasticsearch-5: elasticsearch-dsl>=5.0,<6.0
@@ -339,9 +344,9 @@ commands_pre =
339
344
340
345
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
341
346
342
- falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4}, pyramid,tornado,starlette,fastapi,aiohttp,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
343
- wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4}, pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
344
- django-{3,4}, starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi
347
+ falcon-{1,2,3},flask-{213,220,300},pyramid,tornado,starlette,fastapi,aiohttp,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
348
+ wsgi,falcon-{1,2,3},flask-{213,220,300},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
349
+ starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi
345
350
346
351
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
347
352
@@ -366,7 +371,13 @@ commands_pre =
366
371
367
372
dbapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
368
373
369
- django-{1,2,3,4}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
374
+ py3{8,9}-test-instrumentation-django-0: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-0.txt
375
+ py3{8,9}-test-instrumentation-django-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
376
+ py3{8,9}-test-instrumentation-django-2: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-2.txt
377
+ py3{10,11}-test-instrumentation-django-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
378
+ py3{10,11}-test-instrumentation-django-3: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
379
+ pypy3-test-instrumentation-django-0: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-0.txt
380
+ pypy3-test-instrumentation-django-1: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
370
381
371
382
fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
372
383
@@ -543,7 +554,7 @@ commands_pre =
543
554
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
544
555
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
545
556
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
546
- python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-django[ test]
557
+ pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/ test-requirements-3.txt
547
558
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette[test]
548
559
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
549
560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
0 commit comments