Skip to content

Allow opentelemetry-semantic-conventions pre-release in constraints resolution - #71177

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:allow-otel-semconv-prerelease-in-constraints
Aug 5, 2026
Merged

Allow opentelemetry-semantic-conventions pre-release in constraints resolution#71177
potiuk merged 1 commit into
apache:mainfrom
potiuk:allow-otel-semconv-prerelease-in-constraints

Conversation

@potiuk

@potiuk potiuk commented Aug 5, 2026

Copy link
Copy Markdown
Member

opentelemetry-semantic-conventions has never published a final release — every one of its 61 PyPI versions is a 0.NNbM beta — and it arrives as a hard dependency of opentelemetry-sdk (via opentelemetry-exporter-otlp and shared/observability).

Constraints cut for a release candidate resolve with --prerelease explicit, which permits a pre-release only where some requirement marks one and drops the if-necessary fallback. Without an explicit mark the package cannot resolve at all and generation fails with "No solution found" — the same situation opentelemetry-exporter-prometheus was in (#71110).

The floor is >=0.48b0, the version paired with our declared opentelemetry-*>=1.27.0 floor, and it only serves to mark the package as a pre-release. opentelemetry-sdk exact-pins the semantic-conventions version it ships with, so a higher floor would conflict with any older sdk the resolution might land on.

These two OpenTelemetry packages are the only pre-releases in the constraints we tag. Getting rid of them — and of this hardcoded exception — is tracked in #71176, linked from the code at the exception site.

related: #71176


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5)

Generated-by: Claude Code (Opus 5) following the guidelines

…esolution

Constraints cut for a release candidate resolve with `--prerelease explicit`,
which drops the if-necessary fallback and permits a pre-release only where a
requirement marks one. opentelemetry-semantic-conventions has never published
a final release, so without an explicit mark the resolution has nothing to
satisfy it with and generation fails outright.

Removing the need for this exception is tracked at
apache#71176
@potiuk potiuk added this to the 3.1.1 milestone Aug 5, 2026
@potiuk potiuk added the backport-to-v3-3-test Backport to v3-3-test label Aug 5, 2026
@vatsrahul1001 vatsrahul1001 modified the milestones: 3.1.1, Airflow 3.3.1 Aug 5, 2026
@potiuk
potiuk merged commit 5af8d6b into apache:main Aug 5, 2026
4 checks passed
@potiuk
potiuk deleted the allow-otel-semconv-prerelease-in-constraints branch August 5, 2026 12:54
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

potiuk added a commit that referenced this pull request Aug 5, 2026
…onstraints resolution (#71177) (#71178)

Constraints cut for a release candidate resolve with `--prerelease explicit`,
which drops the if-necessary fallback and permits a pre-release only where a
requirement marks one. opentelemetry-semantic-conventions has never published
a final release, so without an explicit mark the resolution has nothing to
satisfy it with and generation fails outright.

Removing the need for this exception is tracked at
#71176
(cherry picked from commit 5af8d6b)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
…onstraints resolution (#71177) (#71178)

Constraints cut for a release candidate resolve with `--prerelease explicit`,
which drops the if-necessary fallback and permits a pre-release only where a
requirement marks one. opentelemetry-semantic-conventions has never published
a final release, so without an explicit mark the resolution has nothing to
satisfy it with and generation fails outright.

Removing the need for this exception is tracked at
#71176
(cherry picked from commit 5af8d6b)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
…esolution (apache#71177)

Constraints cut for a release candidate resolve with `--prerelease explicit`,
which drops the if-necessary fallback and permits a pre-release only where a
requirement marks one. opentelemetry-semantic-conventions has never published
a final release, so without an explicit mark the resolution has nothing to
satisfy it with and generation fails outright.

Removing the need for this exception is tracked at
apache#71176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants