Title: Cannot use ddtrace 4.X.X with datadog-lambda 8.121.0 · Issue #713 · DataDog/datadog-lambda-python · GitHub
Open Graph Title: Cannot use ddtrace 4.X.X with datadog-lambda 8.121.0 · Issue #713 · DataDog/datadog-lambda-python
X Title: Cannot use ddtrace 4.X.X with datadog-lambda 8.121.0 · Issue #713 · DataDog/datadog-lambda-python
Description: Expected Behavior When installing requirements.txt with datadog-lambda 8.121.0 ddtrace it should allow to install ddtrace 4.3.0 Actual Behavior It gives an error ERROR: Cannot install -r requirements.txt (line 1) and ddtrace>=4.3.0 becau...
Open Graph Description: Expected Behavior When installing requirements.txt with datadog-lambda 8.121.0 ddtrace it should allow to install ddtrace 4.3.0 Actual Behavior It gives an error ERROR: Cannot install -r requiremen...
X Description: Expected Behavior When installing requirements.txt with datadog-lambda 8.121.0 ddtrace it should allow to install ddtrace 4.3.0 Actual Behavior It gives an error ERROR: Cannot install -r requiremen...
Opengraph URL: https://github.com/DataDog/datadog-lambda-python/issues/713
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot use ddtrace 4.X.X with datadog-lambda 8.121.0","articleBody":"## Expected Behavior\nWhen installing requirements.txt with datadog-lambda 8.121.0 ddtrace it should allow to install ddtrace 4.3.0\n\n## Actual Behavior\nIt gives an error \nERROR: Cannot install -r requirements.txt (line 1) and ddtrace\u003e=4.3.0 because these package versions have conflicting dependencies.\n\n\n## Steps to Reproduce the Problem\n\n 1. create a file called requirements.txt with the following content\n```\ndatadog-lambda\u003e=8.121.0\nddtrace\u003e=4.3.0\n```\n\n 2. create venv\n ```\npython3 -m venv .venv\nsource .venv/bin/activate\n```\n 3. install requirements\n ```\npip install -r requirements.txt\n ```\n4. See results\n```\nCollecting datadog-lambda\u003e=8.121.0 (from -r requirements.txt (line 1))\n Downloading datadog_lambda-8.121.0-py3-none-any.whl.metadata (994 bytes)\nCollecting ddtrace\u003e=4.3.0 (from -r requirements.txt (line 2))\n Downloading ddtrace-4.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (3.6 kB)\nCollecting datadog\u003c1.0.0,\u003e=0.51.0 (from datadog-lambda\u003e=8.121.0-\u003e-r requirements.txt (line 1))\n Using cached datadog-0.52.1-py2.py3-none-any.whl.metadata (10 kB)\nINFO: pip is looking at multiple versions of datadog-lambda to determine which version is compatible with other requirements. This could take a while.\nERROR: Cannot install -r requirements.txt (line 1) and ddtrace\u003e=4.3.0 because these package versions have conflicting dependencies.\n```\n\n## Specifications\n\n - Datadog Lambda Layer version: N/A\n - Python version: 3.12.3\n \nIs there a better way to install dependencies to make it working without forcing an install? I've noticed that the project.toml in datadog-lambda should support both version depending on the python version. ","author":{"url":"https://github.com/uittorio","@type":"Person","name":"uittorio"},"datePublished":"2026-01-29T08:16:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/713/datadog-lambda-python/issues/713"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7c9a4cab-db61-39cc-79bc-548cec51d434 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FDE:1113DB:A12ED3:CA76E9:69917B72 |
| html-safe-nonce | 8a0d081d4b338864611b5903b620db4159e894a5b64389bfd0ab98e067ed3dc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkRFOjExMTNEQjpBMTJFRDM6Q0E3NkU5OjY5OTE3QjcyIiwidmlzaXRvcl9pZCI6IjY1MjExNDQ4Njk4NzE3Nzg2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51b8941d1547067aa40de3d7957e058993f7b42db9c5913e4f5bd798896eae7c |
| hovercard-subject-tag | issue:3869414282 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DataDog/datadog-lambda-python/713/issue_layout |
| twitter:image | https://opengraph.githubassets.com/141f8b30df66d95200a1c1b61cafb2be26bfb6958403f040d0c955323839d88d/DataDog/datadog-lambda-python/issues/713 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/141f8b30df66d95200a1c1b61cafb2be26bfb6958403f040d0c955323839d88d/DataDog/datadog-lambda-python/issues/713 |
| og:image:alt | Expected Behavior When installing requirements.txt with datadog-lambda 8.121.0 ddtrace it should allow to install ddtrace 4.3.0 Actual Behavior It gives an error ERROR: Cannot install -r requiremen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uittorio |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/DataDog/datadog-lambda-python git https://github.com/DataDog/datadog-lambda-python.git |
| octolytics-dimension-user_id | 365230 |
| octolytics-dimension-user_login | DataDog |
| octolytics-dimension-repository_id | 183265904 |
| octolytics-dimension-repository_nwo | DataDog/datadog-lambda-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 183265904 |
| octolytics-dimension-repository_network_root_nwo | DataDog/datadog-lambda-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width