Skip to content

Commit 38d384a

Browse files
authored
Add support for py3.11 (#1415)
1 parent 339e0f3 commit 38d384a

File tree

51 files changed

+98
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+98
-47
lines changed

Diff for: .github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ jobs:
1616
py38: 3.8
1717
py39: 3.9
1818
py310: "3.10"
19+
py311: "3.11"
1920
pypy3: "pypy3.7"
2021
RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}
2122
runs-on: ${{ matrix.os }}
2223
strategy:
2324
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
2425
matrix:
25-
python-version: [ py37, py38, py39, py310, pypy3 ]
26+
python-version: [ py37, py38, py39, py310, py311, pypy3 ]
2627
package: ["instrumentation", "distro", "exporter", "sdkextension", "propagator"]
2728
os: [ ubuntu-20.04 ]
2829
steps:

Diff for: CHANGELOG.md

+2

Diff for: _template/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.8",
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
2930
]
3031
dependencies = [
3132
"opentelemetry-api ~= 1.12",

Diff for: exporter/opentelemetry-exporter-richconsole/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.5",

Diff for: instrumentation/opentelemetry-instrumentation-aiohttp-client/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-aiopg/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-asgi/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"asgiref ~= 3.0",

Diff for: instrumentation/opentelemetry-instrumentation-asyncpg/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-boto/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-boto3sqs/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-botocore/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-celery/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-confluent-kafka/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-dbapi/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-django/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-elasticsearch/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-falcon/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-flask/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-grpc/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-httpx/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-jinja2/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.8",
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
2425
]
2526
dependencies = [
2627
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-kafka-python/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.5",

Diff for: instrumentation/opentelemetry-instrumentation-logging/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.8",
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
2425
]
2526
dependencies = [
2627
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-mysql/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-pika/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.5",

Diff for: instrumentation/opentelemetry-instrumentation-psycopg2/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-pymemcache/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-pymongo/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-pymysql/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-pyramid/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-redis/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-remoulade/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-requests/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-sklearn/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-sqlalchemy/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-sqlite3/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-starlette/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-system-metrics/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.11",

Diff for: instrumentation/opentelemetry-instrumentation-tornado/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.8",
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
2425
]
2526
dependencies = [
2627
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-urllib/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-urllib3/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: instrumentation/opentelemetry-instrumentation-wsgi/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: opentelemetry-contrib-instrumentations/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.8",
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
2930
]
3031
dependencies = [
3132
"opentelemetry-instrumentation-aio-pika==0.34b0",

Diff for: opentelemetry-instrumentation/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.4",

Diff for: propagator/opentelemetry-propagator-aws-xray/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

Diff for: propagator/opentelemetry-propagator-ot-trace/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.8",
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
2526
]
2627
dependencies = [
2728
"opentelemetry-api ~= 1.12",

0 commit comments

Comments
 (0)