Skip to content

Commit 9781266

Browse files
committed
Fix tox factor matching
Fixes open-telemetry#2128
1 parent c9d709a commit 9781266

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

tox.ini

+45-45
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ envlist =
5858
py3{7,8,9}-test-instrumentation-django2
5959
py3{7,8,9,10,11}-test-instrumentation-django3
6060
py3{8,9,10,11}-test-instrumentation-django4
61-
pypy3-test-instrumentation-django{1,2,3}
61+
pypy3-test-instrumentation-django-{1,2,3}
6262

6363
; opentelemetry-instrumentation-dbapi
6464
py3{7,8,9,10,11}-test-instrumentation-dbapi
@@ -70,8 +70,8 @@ envlist =
7070
; pypy3-test-instrumentation-boto
7171

7272
; opentelemetry-instrumentation-elasticsearch
73-
py3{7,8,9,10,11}-test-instrumentation-elasticsearch{2,6}
74-
pypy3-test-instrumentation-elasticsearch{2,6}
73+
py3{7,8,9,10,11}-test-instrumentation-elasticsearch-{2,6}
74+
pypy3-test-instrumentation-elasticsearch-{2,6}
7575

7676
; opentelemetry-instrumentation-elasticsearch5
7777
py3{7,8,9}-test-instrumentation-elasticsearch5
@@ -80,25 +80,25 @@ envlist =
8080
; opentelemetry-instrumentation-falcon
8181
; py310 does not work with falcon 1
8282
py3{7,8,9}-test-instrumentation-falcon1
83-
py3{7,8,9,10,11}-test-instrumentation-falcon{2,3}
84-
pypy3-test-instrumentation-falcon{1,2,3}
83+
py3{7,8,9,10,11}-test-instrumentation-falcon-{2,3}
84+
pypy3-test-instrumentation-falcon-{1,2,3}
8585

8686
; opentelemetry-instrumentation-fastapi
8787
py3{7,8,9,10,11}-test-instrumentation-fastapi
8888
pypy3-test-instrumentation-fastapi
8989

9090
; opentelemetry-instrumentation-flask
91-
py3{7,8,9,10,11}-test-instrumentation-flask{213,220}
92-
py3{8,9,10,11}-test-instrumentation-flask{300}
93-
pypy3-test-instrumentation-flask{213,220}
91+
py3{7,8,9,10,11}-test-instrumentation-flask-{213,220}
92+
py3{8,9,10,11}-test-instrumentation-flask-{300}
93+
pypy3-test-instrumentation-flask-{213,220}
9494

9595
; opentelemetry-instrumentation-urllib
9696
py3{7,8,9,10,11}-test-instrumentation-urllib
9797
pypy3-test-instrumentation-urllib
9898

9999
; opentelemetry-instrumentation-urllib3
100-
py3{7,8,9,10,11}-test-instrumentation-urllib3v{1,2}
101-
;pypy3-test-instrumentation-urllib3v{1,2}
100+
py3{7,8,9,10,11}-test-instrumentation-urllib3v-{1,2}
101+
;pypy3-test-instrumentation-urllib3v-{1,2}
102102

103103
; opentelemetry-instrumentation-requests
104104
py3{7,8,9,10,11}-test-instrumentation-requests
@@ -135,8 +135,8 @@ envlist =
135135
; ext-psycopg2 intentionally excluded from pypy3
136136

137137
; opentelemetry-instrumentation-pymemcache
138-
py3{7,8,9,10,11}-test-instrumentation-pymemcache{135,200,300,342,400}
139-
pypy3-test-instrumentation-pymemcache{135,200,300,342,400}
138+
py3{7,8,9,10,11}-test-instrumentation-pymemcache-{135,200,300,342,400}
139+
pypy3-test-instrumentation-pymemcache-{135,200,300,342,400}
140140

141141
; opentelemetry-instrumentation-pymongo
142142
py3{7,8,9,10,11}-test-instrumentation-pymongo
@@ -170,9 +170,9 @@ envlist =
170170
py3{7,8,9,10,11}-test-instrumentation-grpc
171171

172172
; opentelemetry-instrumentation-sqlalchemy
173-
py3{7}-test-instrumentation-sqlalchemy{11}
174-
py3{7,8,9,10,11}-test-instrumentation-sqlalchemy{14}
175-
pypy3-test-instrumentation-sqlalchemy{11,14}
173+
py3{7}-test-instrumentation-sqlalchemy-{11}
174+
py3{7,8,9,10,11}-test-instrumentation-sqlalchemy-{14}
175+
pypy3-test-instrumentation-sqlalchemy-{11,14}
176176

177177
; opentelemetry-instrumentation-redis
178178
py3{7,8,9,10,11}-test-instrumentation-redis
@@ -206,8 +206,8 @@ envlist =
206206
pypy3-test-instrumentation-tortoiseorm
207207

208208
; opentelemetry-instrumentation-httpx
209-
py3{7,8,9,10,11}-test-instrumentation-httpx{18,21}
210-
pypy3-test-instrumentation-httpx{18,21}
209+
py3{7,8,9,10,11}-test-instrumentation-httpx-{18,21}
210+
pypy3-test-instrumentation-httpx-{18,21}
211211

212212
; opentelemetry-util-http
213213
py3{7,8,9,10,11}-test-util-http
@@ -222,12 +222,12 @@ envlist =
222222
pypy3-test-propagator-ot-trace
223223

224224
; opentelemetry-instrumentation-pika
225-
py3{7,8,9,10,11}-test-instrumentation-pika{0,1}
226-
pypy3-test-instrumentation-pika{0,1}
225+
py3{7,8,9,10,11}-test-instrumentation-pika-{0,1}
226+
pypy3-test-instrumentation-pika-{0,1}
227227

228228
; opentelemetry-instrumentation-aio-pika
229-
py3{7,8,9,10,11}-test-instrumentation-aio-pika{7,8,9}
230-
pypy3-test-instrumentation-aio-pika{7,8,9}
229+
py3{7,8,9,10,11}-test-instrumentation-aio-pika-{7,8,9}
230+
pypy3-test-instrumentation-aio-pika-{7,8,9}
231231

232232
; opentelemetry-instrumentation-kafka-python
233233
py3{7,8,9,10,11}-test-instrumentation-kafka-python
@@ -285,9 +285,9 @@ deps =
285285
sqlalchemy14: sqlalchemy~=1.4
286286
pika0: pika>=0.12.0,<1.0.0
287287
pika1: pika>=1.0.0
288-
aio-pika7: aio_pika~=7.2.0
289-
aio-pika8: aio_pika>=8.0.0,<9.0.0
290-
aio-pika9: aio_pika>=9.0.0,<10.0.0
288+
aio-pika-7: aio_pika~=7.2.0
289+
aio-pika-8: aio_pika>=8.0.0,<9.0.0
290+
aio-pika-9: aio_pika>=9.0.0,<10.0.0
291291
pymemcache135: pymemcache ==1.3.5
292292
pymemcache200: pymemcache >2.0.0,<3.0.0
293293
pymemcache300: pymemcache >3.0.0,<3.4.2
@@ -325,39 +325,39 @@ changedir =
325325
test-instrumentation-cassandra: instrumentation/opentelemetry-instrumentation-cassandra/tests
326326
test-instrumentation-celery: instrumentation/opentelemetry-instrumentation-celery/tests
327327
test-instrumentation-dbapi: instrumentation/opentelemetry-instrumentation-dbapi/tests
328-
test-instrumentation-django{1,2,3,4}: instrumentation/opentelemetry-instrumentation-django/tests
329-
test-instrumentation-elasticsearch{2,5,6}: instrumentation/opentelemetry-instrumentation-elasticsearch/tests
330-
test-instrumentation-falcon{1,2,3}: instrumentation/opentelemetry-instrumentation-falcon/tests
328+
test-instrumentation-django-{1,2,3,4}: instrumentation/opentelemetry-instrumentation-django/tests
329+
test-instrumentation-elasticsearch-{2,5,6}: instrumentation/opentelemetry-instrumentation-elasticsearch/tests
330+
test-instrumentation-falcon-{1,2,3}: instrumentation/opentelemetry-instrumentation-falcon/tests
331331
test-instrumentation-fastapi: instrumentation/opentelemetry-instrumentation-fastapi/tests
332-
test-instrumentation-flask{213,220,300}: instrumentation/opentelemetry-instrumentation-flask/tests
332+
test-instrumentation-flask-{213,220,300}: instrumentation/opentelemetry-instrumentation-flask/tests
333333
test-instrumentation-urllib: instrumentation/opentelemetry-instrumentation-urllib/tests
334-
test-instrumentation-urllib3v{1,2}: instrumentation/opentelemetry-instrumentation-urllib3/tests
334+
test-instrumentation-urllib3v-{1,2}: instrumentation/opentelemetry-instrumentation-urllib3/tests
335335
test-instrumentation-grpc: instrumentation/opentelemetry-instrumentation-grpc/tests
336336
test-instrumentation-jinja2: instrumentation/opentelemetry-instrumentation-jinja2/tests
337337
test-instrumentation-kafka-python: instrumentation/opentelemetry-instrumentation-kafka-python/tests
338338
test-instrumentation-confluent-kafka: instrumentation/opentelemetry-instrumentation-confluent-kafka/tests
339339
test-instrumentation-logging: instrumentation/opentelemetry-instrumentation-logging/tests
340340
test-instrumentation-mysql: instrumentation/opentelemetry-instrumentation-mysql/tests
341341
test-instrumentation-mysqlclient: instrumentation/opentelemetry-instrumentation-mysqlclient/tests
342-
test-instrumentation-pika{0,1}: instrumentation/opentelemetry-instrumentation-pika/tests
343-
test-instrumentation-aio-pika{7,8,9}: instrumentation/opentelemetry-instrumentation-aio-pika/tests
342+
test-instrumentation-pika-{0,1}: instrumentation/opentelemetry-instrumentation-pika/tests
343+
test-instrumentation-aio-pika-{7,8,9}: instrumentation/opentelemetry-instrumentation-aio-pika/tests
344344
test-instrumentation-psycopg2: instrumentation/opentelemetry-instrumentation-psycopg2/tests
345-
test-instrumentation-pymemcache{135,200,300,342,400}: instrumentation/opentelemetry-instrumentation-pymemcache/tests
345+
test-instrumentation-pymemcache-{135,200,300,342,400}: instrumentation/opentelemetry-instrumentation-pymemcache/tests
346346
test-instrumentation-pymongo: instrumentation/opentelemetry-instrumentation-pymongo/tests
347347
test-instrumentation-pymysql: instrumentation/opentelemetry-instrumentation-pymysql/tests
348348
test-instrumentation-pyramid: instrumentation/opentelemetry-instrumentation-pyramid/tests
349349
test-instrumentation-redis: instrumentation/opentelemetry-instrumentation-redis/tests
350350
test-instrumentation-remoulade: instrumentation/opentelemetry-instrumentation-remoulade/tests
351351
test-instrumentation-requests: instrumentation/opentelemetry-instrumentation-requests/tests
352352
test-instrumentation-sklearn: instrumentation/opentelemetry-instrumentation-sklearn/tests
353-
test-instrumentation-sqlalchemy{11,14}: instrumentation/opentelemetry-instrumentation-sqlalchemy/tests
353+
test-instrumentation-sqlalchemy-{11,14}: instrumentation/opentelemetry-instrumentation-sqlalchemy/tests
354354
test-instrumentation-sqlite3: instrumentation/opentelemetry-instrumentation-sqlite3/tests
355355
test-instrumentation-starlette: instrumentation/opentelemetry-instrumentation-starlette/tests
356356
test-instrumentation-system-metrics: instrumentation/opentelemetry-instrumentation-system-metrics/tests
357357
test-instrumentation-tornado: instrumentation/opentelemetry-instrumentation-tornado/tests
358358
test-instrumentation-tortoiseorm: instrumentation/opentelemetry-instrumentation-tortoiseorm/tests
359359
test-instrumentation-wsgi: instrumentation/opentelemetry-instrumentation-wsgi/tests
360-
test-instrumentation-httpx{18,21}: instrumentation/opentelemetry-instrumentation-httpx/tests
360+
test-instrumentation-httpx-{18,21}: instrumentation/opentelemetry-instrumentation-httpx/tests
361361
test-util-http: util/opentelemetry-util-http/tests
362362
test-sdkextension-aws: sdk-extension/opentelemetry-sdk-extension-aws/tests
363363
test-resource-detector-container: resource/opentelemetry-resource-detector-container/tests
@@ -391,9 +391,9 @@ commands_pre =
391391

392392
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
393393

394-
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[test]
395-
wsgi,falcon{1,2,3},flask{213,220,300},django{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
396-
asgi,django{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
394+
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[test]
395+
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
396+
asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
397397

398398
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
399399

@@ -404,29 +404,29 @@ commands_pre =
404404

405405
boto3sqs: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
406406

407-
falcon{1,2,3}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
407+
falcon-{1,2,3}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
408408

409-
flask{213,220,300}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
409+
flask-{213,220,300}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
410410

411411
urllib: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
412412

413-
urllib3v{1,2}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
413+
urllib3v{-1,2}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib3[test]
414414

415415
botocore: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
416416

417417
cassandra: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra[test]
418418

419419
dbapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
420420

421-
django{1,2,3,4}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
421+
django-{1,2,3,4}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
422422

423423
fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
424424

425425
mysql: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
426426

427427
mysqlclient: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-mysqlclient[test]
428428

429-
pymemcache{135,200,300,342,400}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
429+
pymemcache-{135,200,300,342,400}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
430430

431431
pymongo: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
432432

@@ -470,11 +470,11 @@ commands_pre =
470470

471471
sklearn: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sklearn[test]
472472

473-
sqlalchemy{11,14}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy[test]
473+
sqlalchemy-{11,14}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy[test]
474474

475-
elasticsearch{2,5,6}: pip install {toxinidir}/opentelemetry-instrumentation[test] {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
475+
elasticsearch-{2,5,6}: pip install {toxinidir}/opentelemetry-instrumentation[test] {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
476476

477-
httpx{18,21}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
477+
httpx-{18,21}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
478478

479479
sdkextension-aws: pip install {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]
480480

0 commit comments

Comments
 (0)