Skip to content

Fix: Add Python 3.14 constraint to ddtrace dependency (issue #1562)#1569

Open
swati1kumari wants to merge 1 commit intoapache:mainfrom
swati1kumari:fix/ddtrace-dependency-1562
Open

Fix: Add Python 3.14 constraint to ddtrace dependency (issue #1562)#1569
swati1kumari wants to merge 1 commit intoapache:mainfrom
swati1kumari:fix/ddtrace-dependency-1562

Conversation

@swati1kumari
Copy link
Copy Markdown

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 Preview tab 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

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

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.

)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv sync fails because of ddtrace

1 participant