Fix: Add Python 3.14 constraint to ddtrace dependency (issue #1562)#1569
Open
swati1kumari wants to merge 1 commit intoapache:mainfrom
Open
Fix: Add Python 3.14 constraint to ddtrace dependency (issue #1562)#1569swati1kumari wants to merge 1 commit intoapache:mainfrom
swati1kumari wants to merge 1 commit intoapache:mainfrom
Conversation
) The upper limit of ddtrace in pyproject.toml causes build failures on Python 3.14 because ddtrace 2.x only provides wheels up to Python 3.13. This commit adds a Python version constraint to prevent Python 3.14+ from attempting to build a wheel for ddtrace<3.0, which would fail due to missing pkg_resources dependency. Fixes apache#1562
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.
The upper limit of ddtrace in pyproject.toml causes build failures on Python 3.14 because ddtrace 2.x only provides wheels up to Python 3.13. This commit adds a Python version constraint to prevent Python 3.14+ from attempting to build a wheel for ddtrace<3.0, which would fail due to missing pkg_resources dependency.
Fixes #1562
--- PR TEMPLATE INSTRUCTIONS (1) ---
Looking to submit a Apache Hamilton Dataflow to the sf-hamilton-contrib module? If so go the the
Previewtab and select the appropriate sub-template:Else, if not, please remove this block of text.
--- PR TEMPLATE INSTRUCTIONS (2) ---
[Short description explaining the high-level reason for the pull request]
Changes
How I tested this
Notes
Checklist
Fix: Add Python 3.14 constraint to ddtrace dependency
Fixes #1562
The upper limit of ddtrace in pyproject.toml causes build failures on Python 3.14 because ddtrace 2.x only provides wheels up to Python 3.13. This adds a Python version constraint to prevent Python 3.14+ from attempting to build a wheel for ddtrace<3.0.