Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false # Prevent a single failure in the matrix from stopping all other jobs
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
integration-test-family: ${{ fromJson(needs.list-instrumentations.outputs.integration-tests) }}
name: ${{ matrix.python-version }} ${{ matrix.integration-test-family }}
steps:
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false # Prevent a single failure in the matrix from stopping all other jobs
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
name: Component Test for Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/version-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
# If this key gets renamed, noxfile.py needs to be updated accordingly
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
name: test-untested-versions
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -62,6 +62,11 @@ jobs:
with:
name: '3.11'
path: versions_artifacts/3.11
- uses: actions/download-artifact@v3
continue-on-error: true
with:
name: '3.12'
path: versions_artifacts/3.12
- run: python3 -m pip install -r requirements.txt
- run: python3 -m scripts.gather_version_artifacts
- run: git --no-pager diff
Expand Down
116 changes: 58 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,64 +225,64 @@ For users on Python 3.7, we recommend upgrading to a newer version of Python to

## Supported packages

| Instrumentation | Package | Supported Versions | | | |
| --- | --- | :---: | :---: | :---: | :---: |
| | | 3.8 | 3.9 | 3.10 | 3.11 |
| botocore | [boto3](https://pypi.org/project/boto3) | 1.17.22~1.35.15|1.17.22~1.35.15|1.17.22~1.35.15|1.17.22~1.35.15|
| django | [django](https://pypi.org/project/django) | 3.2.1~3.2.25|3.2.1~3.2.25|3.2.1~3.2.25|3.2.1~3.2.25|
| | | 4.0.1~4.2.16| 4.0.1~4.2.16| 4.0.1~4.2.16| 4.0.1~4.2.16|
| | | 3.2| 3.2| 5.0.1~5.1.1| 5.0.1~5.1.1|
| | | 4.0| 4.0| 3.2| 3.2|
| | | 4.0.a1| 4.0.a1| 4.0| 4.0|
| | | 4.0.b1| 4.0.b1| 4.0.a1| 4.0.a1|
| | | 4.0.rc1| 4.0.rc1| 4.0.b1| 4.0.b1|
| | | 4.1| 4.1| 4.0.rc1| 4.0.rc1|
| | | 4.1.a1| 4.1.a1| 4.1| 4.1|
| | | 4.1.b1| 4.1.b1| 4.1.a1| 4.1.a1|
| | | 4.1.rc1| 4.1.rc1| 4.1.b1| 4.1.b1|
| | | 4.1rc1| 4.1rc1| 4.1.rc1| 4.1.rc1|
| | | 4.2| 4.2| 4.1rc1| 4.1rc1|
| | | 4.2.a1| 4.2.a1| 4.2| 4.2|
| | | 4.2.b1| 4.2.b1| 4.2.a1| 4.2.a1|
| | | 4.2.rc1| 4.2.rc1| 4.2.b1| 4.2.b1|
| | | 4.2rc1| 4.2rc1| 4.2.rc1| 4.2.rc1|
| | | | | 4.2rc1| 4.2rc1|
| | | | | 5.0| 5.0|
| | | | | 5.0rc1| 5.0rc1|
| | | | | 5.1| 5.1|
| | | | | 5.1rc1| 5.1rc1|
| fastapi | [fastapi](https://pypi.org/project/fastapi) | 0.56.1~0.100.0|0.56.1~0.100.0|0.56.1~0.100.0|0.56.1~0.100.0|
| | | 0.100.0b2~0.114.0| 0.100.0b2~0.114.0| 0.100.0b2~0.114.0| 0.100.0b2~0.114.0|
| | [uvicorn](https://pypi.org/project/uvicorn) | 0.11.3~0.22.0|0.11.3~0.22.0|0.11.3~0.22.0|0.12.0~0.22.0|
| | | 0.24.0~0.30.6| 0.24.0~0.30.6| 0.24.0~0.30.6| 0.24.0~0.30.6|
| flask | [flask](https://pypi.org/project/flask) | 2.0.0~2.2.5|2.0.0~2.2.5|2.0.0~2.2.5|2.0.0~2.2.5|
| grpcio | [grpcio](https://pypi.org/project/grpcio) | 1.45.0~1.66.1|1.45.0~1.66.1|1.45.0~1.66.1|1.49.0~1.66.1|
| kafka_python | [kafka_python](https://pypi.org/project/kafka_python) | 2.0.0~2.0.2|2.0.0~2.0.2|2.0.0~2.0.2|2.0.0~2.0.2|
| pika | [pika](https://pypi.org/project/pika) | 1.0.0|1.0.0|1.0.0|1.0.0|
| | | 1.0.1~1.3.0| 1.0.1~1.3.0| 1.0.1~1.3.0| 1.0.1~1.3.0|
| | | 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2|
| psycopg | [psycopg](https://pypi.org/project/psycopg) | 3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|
| | | 3.1| 3.1| 3.1| 3.1|
| | [psycopg-binary](https://pypi.org/project/psycopg-binary) | 3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|3.1.4~3.2.1|
| | | 3.1| 3.1| 3.1| |
| psycopg2 | [psycopg2](https://pypi.org/project/psycopg2) | 2.8.1~2.9.9|2.8.1~2.9.9|2.8.1~2.8.6|2.9.5~2.9.9|
| | | 2.8| 2.8| 2.9.5~2.9.9| |
| | | 2.9| 2.9| 2.8| |
| | [psycopg2-binary](https://pypi.org/project/psycopg2-binary) | 2.8.1~2.9.9|2.8.1~2.9.9|2.8.1~2.8.6|2.9.5~2.9.9|
| | | 2.8| 2.8| 2.9.5~2.9.9| |
| | | 2.9| 2.9| 2.8| |
| pymongo | [pymongo](https://pypi.org/project/pymongo) | 3.1.1~3.3.1|3.1.1~3.3.1|3.1.1~3.3.1|3.1.1~3.3.1|
| | | 3.5.0~3.13.0| 3.5.0~3.13.0| 3.5.0~3.13.0| 3.5.0~3.13.0|
| | | 4.0.1~4.8.0b0| 4.0.1~4.8.0b0| 4.0.1~4.8.0b0| 4.0.1~4.8.0b0|
| | | 3.1| 3.1| 3.1| 3.1|
| | | 3.2| 3.2| 3.2| 3.2|
| | | 4.0| 4.0| 4.0| 4.0|
| pymysql | [pymysql](https://pypi.org/project/pymysql) | 0.9.0~0.10.1|0.9.0~0.10.1|0.9.0~0.10.1|0.9.0~0.10.1|
| | | 1.0.0~1.0.3| 1.0.0~1.0.3| 1.0.0~1.0.3| 1.0.0~1.0.3|
| | | 1.1.0~1.1.1| 1.1.0~1.1.1| 1.1.0~1.1.1| 1.1.0~1.1.1|
| redis | [redis](https://pypi.org/project/redis) | 4.1.1~4.2.0|4.1.1~4.2.0|4.1.1~4.2.0|4.1.1~4.2.0|
| | | 4.2.1~4.6.0| 4.2.1~4.6.0| 4.2.1~4.6.0| 4.2.1~4.6.0|
| | | 5.0.0~5.1.0b7| 5.0.0~5.1.0b7| 5.0.0~5.1.0b7| 5.0.0~5.1.0b7|
| Instrumentation | Package | Supported Versions | | | | |
| --- | --- | :---: | :---: | :---: | :---: | :---: |
| | | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 |
| botocore | [boto3](https://pypi.org/project/boto3) | 1.17.22~1.35.15|1.17.22~1.35.15|1.17.22~1.35.15|1.17.22~1.35.15|1.21.46~1.34.144|
| django | [django](https://pypi.org/project/django) | 3.2.1~3.2.25|3.2.1~3.2.25|3.2.1~3.2.25|3.2.1~3.2.25|3.2.1~3.2.25|
| | | 4.0.1~4.2.16| 4.0.1~4.2.16| 4.0.1~4.2.16| 4.0.1~4.2.16| 4.0.1~4.2.14|
| | | 3.2| 3.2| 5.0.1~5.1.1| 5.0.1~5.1.1| 5.0.1~5.1.1|
| | | 4.0| 4.0| 3.2| 3.2| 3.2|
| | | 4.0.a1| 4.0.a1| 4.0| 4.0| 4.0|
| | | 4.0.b1| 4.0.b1| 4.0.a1| 4.0.a1| 4.0.a1|
| | | 4.0.rc1| 4.0.rc1| 4.0.b1| 4.0.b1| 4.0.b1|
| | | 4.1| 4.1| 4.0.rc1| 4.0.rc1| 4.0.rc1|
| | | 4.1.a1| 4.1.a1| 4.1| 4.1| 4.1|
| | | 4.1.b1| 4.1.b1| 4.1.a1| 4.1.a1| 4.1.a1|
| | | 4.1.rc1| 4.1.rc1| 4.1.b1| 4.1.b1| 4.1.b1|
| | | 4.1rc1| 4.1rc1| 4.1.rc1| 4.1.rc1| 4.1.rc1|
| | | 4.2| 4.2| 4.1rc1| 4.1rc1| 4.1rc1|
| | | 4.2.a1| 4.2.a1| 4.2| 4.2| 4.2|
| | | 4.2.b1| 4.2.b1| 4.2.a1| 4.2.a1| 4.2.a1|
| | | 4.2.rc1| 4.2.rc1| 4.2.b1| 4.2.b1| 4.2.b1|
| | | 4.2rc1| 4.2rc1| 4.2.rc1| 4.2.rc1| 4.2.rc1|
| | | | | 4.2rc1| 4.2rc1| 4.2rc1|
| | | | | 5.0| 5.0| 5.0|
| | | | | 5.0rc1| 5.0rc1| 5.0rc1|
| | | | | 5.1| 5.1| |
| | | | | 5.1rc1| 5.1rc1| |
| fastapi | [fastapi](https://pypi.org/project/fastapi) | 0.56.1~0.100.0|0.56.1~0.100.0|0.56.1~0.100.0|0.56.1~0.100.0|0.56.1~0.100.0|
| | | 0.100.0b2~0.114.0| 0.100.0b2~0.114.0| 0.100.0b2~0.114.0| 0.100.0b2~0.114.0| 0.100.0b2~0.111.0.dev1|
| | [uvicorn](https://pypi.org/project/uvicorn) | 0.11.3~0.22.0|0.11.3~0.22.0|0.11.3~0.22.0|0.12.0~0.22.0|0.12.0~0.22.0|
| | | 0.24.0~0.30.6| 0.24.0~0.30.6| 0.24.0~0.30.6| 0.24.0~0.30.6| 0.24.0~0.30.1|
| flask | [flask](https://pypi.org/project/flask) | 2.0.0~2.2.5|2.0.0~2.2.5|2.0.0~2.2.5|2.0.0~2.2.5|2.0.0~2.2.5|
| grpcio | [grpcio](https://pypi.org/project/grpcio) | 1.45.0~1.66.1|1.45.0~1.66.1|1.45.0~1.66.1|1.49.0~1.66.1|1.59.0~1.65.0rc2|
| kafka_python | [kafka_python](https://pypi.org/project/kafka_python) | 2.0.0~2.0.2|2.0.0~2.0.2|2.0.0~2.0.2|2.0.0~2.0.2| |
| pika | [pika](https://pypi.org/project/pika) | 1.0.0|1.0.0|1.0.0|1.0.0|1.0.0|
| | | 1.0.1~1.3.0| 1.0.1~1.3.0| 1.0.1~1.3.0| 1.0.1~1.3.0| 1.0.1~1.3.0|
| | | 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2| 1.3.0rc5~1.3.2|
| psycopg | [psycopg-binary](https://pypi.org/project/psycopg-binary) | 3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|3.1.4~3.2.1|3.1.4~3.2.1|
| | | 3.1| 3.1| 3.1| | |
| | [psycopg](https://pypi.org/project/psycopg) | 3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|3.1.1~3.2.1|
| | | 3.1| 3.1| 3.1| 3.1| 3.1|
| psycopg2 | [psycopg2-binary](https://pypi.org/project/psycopg2-binary) | 2.8.1~2.9.9|2.8.1~2.9.9|2.8.1~2.8.6|2.9.5~2.9.9|2.9.5~2.9.9|
| | | 2.8| 2.8| 2.9.5~2.9.9| | |
| | | 2.9| 2.9| 2.8| | |
| | [psycopg2](https://pypi.org/project/psycopg2) | 2.8.1~2.9.9|2.8.1~2.9.9|2.8.1~2.8.6|2.9.5~2.9.9|2.9.5~2.9.9|
| | | 2.8| 2.8| 2.9.5~2.9.9| | |
| | | 2.9| 2.9| 2.8| | |
| pymongo | [pymongo](https://pypi.org/project/pymongo) | 3.1.1~3.3.1|3.1.1~3.3.1|3.1.1~3.3.1|3.1.1~3.3.1|3.1.1~3.3.1|
| | | 3.5.0~3.13.0| 3.5.0~3.13.0| 3.5.0~3.13.0| 3.5.0~3.13.0| 3.5.0~3.13.0|
| | | 4.0.1~4.8.0b0| 4.0.1~4.8.0b0| 4.0.1~4.8.0b0| 4.0.1~4.8.0b0| 4.0.1~4.8.0b0|
| | | 3.1| 3.1| 3.1| 3.1| 3.1|
| | | 3.2| 3.2| 3.2| 3.2| 3.2|
| | | 4.0| 4.0| 4.0| 4.0| 4.0|
| pymysql | [pymysql](https://pypi.org/project/pymysql) | 0.9.0~0.10.1|0.9.0~0.10.1|0.9.0~0.10.1|0.9.0~0.10.1|0.9.0~0.10.1|
| | | 1.0.0~1.0.3| 1.0.0~1.0.3| 1.0.0~1.0.3| 1.0.0~1.0.3| 1.0.0~1.0.3|
| | | 1.1.0~1.1.1| 1.1.0~1.1.1| 1.1.0~1.1.1| 1.1.0~1.1.1| 1.1.0~1.1.1|
| redis | [redis](https://pypi.org/project/redis) | 4.1.1~4.2.0|4.1.1~4.2.0|4.1.1~4.2.0|4.1.1~4.2.0|4.1.1~4.2.0|
| | | 4.2.1~4.6.0| 4.2.1~4.6.0| 4.2.1~4.6.0| 4.2.1~4.6.0| 4.2.1~4.6.0|
| | | 5.0.0~5.1.0b7| 5.0.0~5.1.0b7| 5.0.0~5.1.0b7| 5.0.0~5.1.0b7| 5.0.0~5.1.0b7|

## Automated dependency reporting

Expand Down
2 changes: 1 addition & 1 deletion scripts/init_tested_versions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

PACKAGE_NAME="$1"
SUPPORTED_VERSIONS=(3.8 3.9 3.10 3.11)
SUPPORTED_VERSIONS=(3.8 3.9 3.10 3.11 3.12)

if [ -z "$PACKAGE_NAME" ]; then
echo "Usage: $0 <PACKAGE_NAME>"
Expand Down
6 changes: 3 additions & 3 deletions src/lumigo_opentelemetry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ def init() -> Dict[str, Any]:

try:
python_version = sys.version_info
# Check if the major version is 3 and the minor version is between 8 and 11
if python_version.major != 3 or not (8 <= python_version.minor <= 11):
# Check if the major version is 3 and the minor version is between 8 and 12
if python_version.major != 3 or not (8 <= python_version.minor <= 12):
logger.warning(
f"Unsupported Python version {python_version.major}.{python_version.minor}; "
"only Python 3.8 to 3.11 are supported."
"only Python 3.8 to 3.12 are supported."
)
return {}

Expand Down
Loading