Skip to content

Add Python 3.15 support - #5833

Open
pylaterreur wants to merge 3 commits into
open-telemetry:mainfrom
pylaterreur:add-python-3.15
Open

pylaterreur wants to merge 3 commits into
open-telemetry:mainfrom
pylaterreur:add-python-3.15

Conversation

@pylaterreur

@pylaterreur pylaterreur commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add Python 3.15 and 3.15t to the test matrix and classifiers (3.15t without the gRPC packages: no grpcio 3.15t wheels). Bumps test pins that don't work on 3.15 (typing_extensions 4.14.0, grpcio 1.84.0, rpds-py). Lint stays on 3.14 (pylint's dill reads co_lnotab, removed in 3.15).

Fixes #5832

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • I am a human and not a bot
  • I have run tox -e precommit
  • I have run tox -e typecheck
  • I have run the relevant tests and linting tox environments
  • This requires the following PR in contrib:

Assisted-by: Claude Opus 5.5

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on reviewers · refreshed 2026-10-28 20:52 UTC

Review the latest changes.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Run the tests on Python 3.15 for every package that is tested on 3.14,
add the Python 3.15 classifier, and regenerate the workflows. On pull
requests the 3.15 jobs now run in place of the 3.14 ones, since 3.15 is
the newest CPython.

Some test pins need newer releases on 3.15:

- typing_extensions 4.10.0 and 4.12.0 fail to import there, because
  typing.no_type_check_decorator was removed. 4.14.0 is the first
  release that imports.
- grpcio, grpcio-tools and rpds-py have no cp315 wheels before 1.84.0,
  1.84.0 and 2026.5.1. rpds-py 0.30.0 fails to build from source (PyO3
  0.27 supports Python up to 3.14), and grpcio has to be compiled.
  grpcio-tools 1.84.0 requires protobuf >= 7.35.1.

As was done for 3.13 and 3.14, the grpc and opencensus exporters get a
grpcio floor for 3.15 (1.84.0), and the grpc exporter's oldest and
latest requirements and uv.lock are regenerated.

Lint stays on 3.14: pylint fails on 3.15 because dill 0.4.1 reads
code.co_lnotab, which 3.15 removed.

Assisted-by: Claude Opus 5.5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

python 3.15 is out

1 participant