Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 support #318

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
py39: 3.9
py310: "3.10"
py311: "3.11"
py312: "3.12"
RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
matrix:
python-version: [ py37, py38, py39, py310, py311 ]
python-version: [ py37, py38, py39, py310, py311, py312 ]
package: ["distro"]
os: [ ubuntu-20.04, windows-2019 ]
steps:
Expand Down
2 changes: 2 additions & 0 deletions azure-monitor-events-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

## Unreleased

- Support for Python 3.12
([#318](https://github.com/microsoft/ApplicationInsights-Python/pull/318))
- Initial commit
([#315](https://github.com/microsoft/ApplicationInsights-Python/pull/315))
1 change: 1 addition & 0 deletions azure-monitor-events-extension/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
2 changes: 2 additions & 0 deletions azure-monitor-opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Support for Python 3.12
([#318](https://github.com/microsoft/ApplicationInsights-Python/pull/318))
- Unpin OTel SDK/API version
([#310](https://github.com/microsoft/ApplicationInsights-Python/pull/310))
- Replace explicit log processor exporter interval env var with OT SDK env var
Expand Down
1 change: 1 addition & 0 deletions azure-monitor-opentelemetry/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
skipsdist = True
skip_missing_interpreters = True
envlist =
py3{7,8,9,10,11}-distro
py3{7,8,9,10,11,12}-distro
lint

[testenv]
Expand All @@ -13,7 +13,7 @@ changedir =
distro: azure-monitor-opentelemetry/tests

commands_pre =
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
distro: pip install {toxinidir}/azure-monitor-opentelemetry

commands =
Expand Down