Skip to content

Commit

Permalink
Add 3.12 to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydvoss committed Jan 5, 2024
1 parent b29682b commit 87a800d
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,46 @@ envlist =
; for specifying supported Python versions per package.

; opentelemetry-resource-detector-container
py3{7,8,9,10,11}-test-resource-detector-container
py3{7,8,9,10,11,12}-test-resource-detector-container
pypy3-test-resource-detector-container

; opentelemetry-sdk-extension-aws
py3{7,8,9,10,11}-test-sdkextension-aws
py3{7,8,9,10,11,12}-test-sdkextension-aws
pypy3-test-sdkextension-aws

; opentelemetry-distro
py3{7,8,9,10,11}-test-distro
py3{7,8,9,10,11,12}-test-distro
pypy3-test-distro

; opentelemetry-instrumentation
py3{7,8,9,10,11}-test-opentelemetry-instrumentation
py3{7,8,9,10,11,12}-test-opentelemetry-instrumentation
pypy3-test-opentelemetry-instrumentation

py3{7,8,9,10,11}-test-instrumentation-aio-pika
py3{7,8,9,10,11,12}-test-instrumentation-aio-pika
pypy3-test-instrumentation-aio-pika

; opentelemetry-instrumentation-aiohttp-client
py3{7,8,9,10,11}-test-instrumentation-aiohttp-client
py3{7,8,9,10,11,12}-test-instrumentation-aiohttp-client
pypy3-test-instrumentation-aiohttp-client

; opentelemetry-instrumentation-aiohttp-server
py3{6,7,8,9,10,11}-test-instrumentation-aiohttp-server
py3{6,7,8,9,10,11,12}-test-instrumentation-aiohttp-server
pypy3-test-instrumentation-aiohttp-server

; opentelemetry-instrumentation-aiopg
py3{7,8,9,10,11}-test-instrumentation-aiopg
py3{7,8,9,10,11,12}-test-instrumentation-aiopg
; instrumentation-aiopg intentionally excluded from pypy3

; opentelemetry-instrumentation-aws-lambda
py3{7,8,9}-test-instrumentation-aws-lambda

; opentelemetry-instrumentation-botocore
py3{7,8,9,10,11}-test-instrumentation-botocore
py3{7,8,9,10,11,12}-test-instrumentation-botocore
; FIXME: see https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1736
; pypy3-test-instrumentation-botocore

; opentelemetry-instrumentation-boto3sqs
py3{6,7,8,9,10,11}-test-instrumentation-boto3sqs
py3{6,7,8,9,10,11,12}-test-instrumentation-boto3sqs
; FIXME: see https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1736
; pypy3-test-instrumentation-boto3sqs

Expand All @@ -56,21 +56,21 @@ envlist =
; https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
py3{7}-test-instrumentation-django1
py3{7,8,9}-test-instrumentation-django2
py3{7,8,9,10,11}-test-instrumentation-django3
py3{8,9,10,11}-test-instrumentation-django4
py3{7,8,9,10,11,12}-test-instrumentation-django3
py3{8,9,10,11,12}-test-instrumentation-django4
pypy3-test-instrumentation-django{1,2,3}

; opentelemetry-instrumentation-dbapi
py3{7,8,9,10,11}-test-instrumentation-dbapi
py3{7,8,9,10,11,12}-test-instrumentation-dbapi
pypy3-test-instrumentation-dbapi

; opentelemetry-instrumentation-boto
py3{7,8,9,10,11}-test-instrumentation-boto
py3{7,8,9,10,11,12}-test-instrumentation-boto
; FIXME: see https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1736
; pypy3-test-instrumentation-boto

; opentelemetry-instrumentation-elasticsearch
py3{7,8,9,10,11}-test-instrumentation-elasticsearch{2,6}
py3{7,8,9,10,11,12}-test-instrumentation-elasticsearch{2,6}
pypy3-test-instrumentation-elasticsearch{2,6}

; opentelemetry-instrumentation-elasticsearch5
Expand All @@ -80,164 +80,164 @@ envlist =
; opentelemetry-instrumentation-falcon
; py310 does not work with falcon 1
py3{7,8,9}-test-instrumentation-falcon1
py3{7,8,9,10,11}-test-instrumentation-falcon{2,3}
py3{7,8,9,10,11,12}-test-instrumentation-falcon{2,3}
pypy3-test-instrumentation-falcon{1,2,3}

; opentelemetry-instrumentation-fastapi
py3{7,8,9,10,11}-test-instrumentation-fastapi
py3{7,8,9,10,11,12}-test-instrumentation-fastapi
pypy3-test-instrumentation-fastapi

; opentelemetry-instrumentation-flask
py3{7,8,9,10,11}-test-instrumentation-flask{213,220}
py3{7,8,9,10,11,12}-test-instrumentation-flask{213,220}
pypy3-test-instrumentation-flask{213,220}

; opentelemetry-instrumentation-urllib
py3{7,8,9,10,11}-test-instrumentation-urllib
py3{7,8,9,10,11,12}-test-instrumentation-urllib
pypy3-test-instrumentation-urllib

; opentelemetry-instrumentation-urllib3
py3{7,8,9,10,11}-test-instrumentation-urllib3v{1,2}
py3{7,8,9,10,11,12}-test-instrumentation-urllib3v{1,2}
;pypy3-test-instrumentation-urllib3v{1,2}

; opentelemetry-instrumentation-requests
py3{7,8,9,10,11}-test-instrumentation-requests
py3{7,8,9,10,11,12}-test-instrumentation-requests
;pypy3-test-instrumentation-requests

; opentelemetry-instrumentation-starlette.
py3{7,8,9,10,11}-test-instrumentation-starlette
py3{7,8,9,10,11,12}-test-instrumentation-starlette
pypy3-test-instrumentation-starlette

; opentelemetry-instrumentation-jinja2
py3{7,8,9,10,11}-test-instrumentation-jinja2
py3{7,8,9,10,11,12}-test-instrumentation-jinja2
pypy3-test-instrumentation-jinja2

; opentelemetry-instrumentation-logging
py3{7,8,9,10,11}-test-instrumentation-logging
py3{7,8,9,10,11,12}-test-instrumentation-logging
pypy3-test-instrumentation-logging

; opentelemetry-exporter-richconsole
py3{7,8,9,10,11}-test-exporter-richconsole
py3{7,8,9,10,11,12}-test-exporter-richconsole

; opentelemetry-exporter-prometheus-remote-write
py3{6,7,8,9,10}-test-exporter-prometheus-remote-write

; opentelemetry-instrumentation-mysql
py3{7,8,9,10,11}-test-instrumentation-mysql
py3{7,8,9,10,11,12}-test-instrumentation-mysql
pypy3-test-instrumentation-mysql

; opentelemetry-instrumentation-mysqlclient
py3{7,8,9,10,11}-test-instrumentation-mysqlclient
py3{7,8,9,10,11,12}-test-instrumentation-mysqlclient
pypy3-test-instrumentation-mysqlclient

; opentelemetry-instrumentation-psycopg2
py3{7,8,9,10,11}-test-instrumentation-psycopg2
py3{7,8,9,10,11,12}-test-instrumentation-psycopg2
; ext-psycopg2 intentionally excluded from pypy3

; opentelemetry-instrumentation-pymemcache
py3{7,8,9,10,11}-test-instrumentation-pymemcache{135,200,300,342,400}
py3{7,8,9,10,11,12}-test-instrumentation-pymemcache{135,200,300,342,400}
pypy3-test-instrumentation-pymemcache{135,200,300,342,400}

; opentelemetry-instrumentation-pymongo
py3{7,8,9,10,11}-test-instrumentation-pymongo
py3{7,8,9,10,11,12}-test-instrumentation-pymongo
pypy3-test-instrumentation-pymongo

; opentelemetry-instrumentation-pymysql
py3{7,8,9,10,11}-test-instrumentation-pymysql
py3{7,8,9,10,11,12}-test-instrumentation-pymysql
pypy3-test-instrumentation-pymysql

; opentelemetry-instrumentation-pyramid
py3{7,8,9,10,11}-test-instrumentation-pyramid
py3{7,8,9,10,11,12}-test-instrumentation-pyramid
pypy3-test-instrumentation-pyramid

; opentelemetry-instrumentation-asgi
py3{7,8,9,10,11}-test-instrumentation-asgi
py3{7,8,9,10,11,12}-test-instrumentation-asgi
pypy3-test-instrumentation-asgi

; opentelemetry-instrumentation-asyncpg
py3{7,8,9,10,11}-test-instrumentation-asyncpg
py3{7,8,9,10,11,12}-test-instrumentation-asyncpg
; ext-asyncpg intentionally excluded from pypy3

; opentelemetry-instrumentation-sqlite3
py3{7,8,9,10,11}-test-instrumentation-sqlite3
py3{7,8,9,10,11,12}-test-instrumentation-sqlite3
pypy3-test-instrumentation-sqlite3

; opentelemetry-instrumentation-wsgi
py3{7,8,9,10,11}-test-instrumentation-wsgi
py3{7,8,9,10,11,12}-test-instrumentation-wsgi
pypy3-test-instrumentation-wsgi

; opentelemetry-instrumentation-grpc
py3{7,8,9,10,11}-test-instrumentation-grpc
py3{7,8,9,10,11,12}-test-instrumentation-grpc

; opentelemetry-instrumentation-sqlalchemy
py3{7}-test-instrumentation-sqlalchemy{11}
py3{7,8,9,10,11}-test-instrumentation-sqlalchemy{14}
py3{7,8,9,10,11,12}-test-instrumentation-sqlalchemy{14}
pypy3-test-instrumentation-sqlalchemy{11,14}

; opentelemetry-instrumentation-redis
py3{7,8,9,10,11}-test-instrumentation-redis
py3{7,8,9,10,11,12}-test-instrumentation-redis
pypy3-test-instrumentation-redis

; opentelemetry-instrumentation-remoulade
; remoulade only supports 3.7 and above
py3{7,8,9,10,11}-test-instrumentation-remoulade
py3{7,8,9,10,11,12}-test-instrumentation-remoulade
; instrumentation-remoulade intentionally excluded from pypy3

; opentelemetry-instrumentation-celery
; celery tests don't run on 3.7 because our opentelemetry-api requires importlib-metadata >= 5.0.0
; but celery requires importlib-metadata < 5.0.0
; see https://github.com/celery/celery/issues/7783 for more details
py3{8,9,10,11}-test-instrumentation-celery
py3{8,9,10,11,12}-test-instrumentation-celery
; pypy3-test-instrumentation-celery

; opentelemetry-instrumentation-sklearn
py3{7,8}-test-instrumentation-sklearn

; opentelemetry-instrumentation-system-metrics
py3{6,7,8,9,10,11}-test-instrumentation-system-metrics
py3{6,7,8,9,10,11,12}-test-instrumentation-system-metrics
pypy3-test-instrumentation-system-metrics

; opentelemetry-instrumentation-tornado
py3{7,8,9,10,11}-test-instrumentation-tornado
py3{7,8,9,10,11,12}-test-instrumentation-tornado
pypy3-test-instrumentation-tornado

; opentelemetry-instrumentation-tortoiseorm
py3{7,8,9,10,11}-test-instrumentation-tortoiseorm
py3{7,8,9,10,11,12}-test-instrumentation-tortoiseorm
pypy3-test-instrumentation-tortoiseorm

; opentelemetry-instrumentation-httpx
py3{7,8,9,10,11}-test-instrumentation-httpx{18,21}
py3{7,8,9,10,11,12}-test-instrumentation-httpx{18,21}
pypy3-test-instrumentation-httpx{18,21}

; opentelemetry-util-http
py3{7,8,9,10,11}-test-util-http
py3{7,8,9,10,11,12}-test-util-http
pypy3-test-util-http

; opentelemetry-propagator-aws-xray
py3{7,8,9,10,11}-test-propagator-aws-xray
py3{7,8,9,10,11,12}-test-propagator-aws-xray
pypy3-test-propagator-aws-xray

; opentelemetry-propagator-ot-trace
py3{7,8,9,10,11}-test-propagator-ot-trace
py3{7,8,9,10,11,12}-test-propagator-ot-trace
pypy3-test-propagator-ot-trace

; opentelemetry-instrumentation-pika
py3{7,8,9,10,11}-test-instrumentation-pika{0,1}
py3{7,8,9,10,11,12}-test-instrumentation-pika{0,1}
pypy3-test-instrumentation-pika{0,1}

; opentelemetry-instrumentation-aio-pika
py3{7,8,9,10,11}-test-instrumentation-aio-pika{7,8,9}
py3{7,8,9,10,11,12}-test-instrumentation-aio-pika{7,8,9}
pypy3-test-instrumentation-aio-pika{7,8,9}

; opentelemetry-instrumentation-kafka-python
py3{7,8,9,10,11}-test-instrumentation-kafka-python
py3{7,8,9,10,11,12}-test-instrumentation-kafka-python
pypy3-test-instrumentation-kafka-python

; opentelemetry-instrumentation-confluent-kafka
; // FIXME: Enable support for python 3.11 when https://github.com/confluentinc/confluent-kafka-python/issues/1452 is fixed
py3{7,8,9,10}-test-instrumentation-confluent-kafka

; opentelemetry-instrumentation-cassandra
py3{7,8,9,10,11}-test-instrumentation-cassandra
py3{7,8,9,10,11,12}-test-instrumentation-cassandra
pypy3-test-instrumentation-cassandra

lint
Expand Down Expand Up @@ -363,7 +363,7 @@ changedir =

commands_pre =
; Install without -e to test the actual installation
py3{7,8,9,10,11}: python -m pip install -U pip setuptools wheel
py3{7,8,9,10,11,12}: python -m pip install -U pip setuptools wheel
; Install common packages for all the tests. These are not needed in all the
; cases but it saves a lot of boilerplate in this file.
test: pip install "opentelemetry-api[test] @ {env:CORE_REPO}#egg=opentelemetry-api&subdirectory=opentelemetry-api"
Expand Down

0 comments on commit 87a800d

Please sign in to comment.