-
Notifications
You must be signed in to change notification settings - Fork 46
Open
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 because these package versions have conflicting dependencies.
Steps to Reproduce the Problem
- create a file called requirements.txt with the following content
datadog-lambda>=8.121.0
ddtrace>=4.3.0
- create venv
python3 -m venv .venv
source .venv/bin/activate
- install requirements
pip install -r requirements.txt
- See results
Collecting datadog-lambda>=8.121.0 (from -r requirements.txt (line 1))
Downloading datadog_lambda-8.121.0-py3-none-any.whl.metadata (994 bytes)
Collecting ddtrace>=4.3.0 (from -r requirements.txt (line 2))
Downloading ddtrace-4.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (3.6 kB)
Collecting datadog<1.0.0,>=0.51.0 (from datadog-lambda>=8.121.0->-r requirements.txt (line 1))
Using cached datadog-0.52.1-py2.py3-none-any.whl.metadata (10 kB)
INFO: pip is looking at multiple versions of datadog-lambda to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 1) and ddtrace>=4.3.0 because these package versions have conflicting dependencies.
Specifications
- Datadog Lambda Layer version: N/A
- Python version: 3.12.3
Is 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.
Metadata
Metadata
Assignees
Labels
No labels