Allow opentelemetry-semantic-conventions pre-release in constraints resolution - #71177
Merged
potiuk merged 1 commit intoAug 5, 2026
Merged
Conversation
…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
requested review from
amoghrajesh,
ashb,
gopidesupavan and
jscheffl
as code owners
August 5, 2026 12:52
vatsrahul1001
approved these changes
Aug 5, 2026
Contributor
Backport successfully created: v3-3-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
opentelemetry-semantic-conventionshas never published a final release — every one of its 61 PyPI versions is a0.NNbMbeta — and it arrives as a hard dependency ofopentelemetry-sdk(viaopentelemetry-exporter-otlpandshared/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 situationopentelemetry-exporter-prometheuswas in (#71110).The floor is
>=0.48b0, the version paired with our declaredopentelemetry-*>=1.27.0floor, and it only serves to mark the package as a pre-release.opentelemetry-sdkexact-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?
Generated-by: Claude Code (Opus 5) following the guidelines