Skip to content

semconv: use X | Y union annotation#5096

Merged
xrmx merged 4 commits into
open-telemetry:mainfrom
emdneto:semconv-up
Apr 15, 2026
Merged

semconv: use X | Y union annotation#5096
xrmx merged 4 commits into
open-telemetry:mainfrom
emdneto:semconv-up

Conversation

@emdneto

@emdneto emdneto commented Apr 14, 2026

Copy link
Copy Markdown
Member

Description

Now all packages require python>=3.10, I updated the semconv package to use X | Y union annotation. Ideally, we should enable the ruff rule UP across the whole repo, but there are many changes, and I would like to split them into small PRs.

Validated with: ruff check opentelemetry-semantic-conventions --extend-select UP: All checks passed!

@emdneto
emdneto requested a review from a team as a code owner April 14, 2026 14:03
@emdneto emdneto moved this to Easy to review / merge / close in Python PR digest Apr 14, 2026

@tammy-baylis-swi tammy-baylis-swi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Agree to multiple PRs. Just a changelog

@github-project-automation github-project-automation Bot moved this from Easy to review / merge / close to Approved PRs in Python PR digest Apr 14, 2026
@xrmx
xrmx enabled auto-merge (squash) April 15, 2026 14:05
@xrmx
xrmx merged commit 82128af into open-telemetry:main Apr 15, 2026
466 checks passed
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Python PR digest Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants