Skip to content

Commit 5646763

Browse files
committed
move the version pining logic to dockerfile
1 parent 3b35b0b commit 5646763

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ENV PATH=/root/.cargo/bin:$PATH
1414

1515
# Install datadog_lambda and dependencies from local
1616
COPY . .
17-
RUN pip install . -t ./python/lib/$runtime/site-packages
17+
RUN pip install . ddtrace==2.21.3 -t ./python/lib/$runtime/site-packages
1818

1919
# Remove botocore (40MB) to reduce package size. aws-xray-sdk
2020
# installs it, while it's already provided by the Lambda Runtime.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
python = ">=3.8.0,<4"
2929
datadog = ">=0.51.0,<1.0.0"
3030
wrapt = "^1.11.2"
31-
ddtrace = "==2.21.3"
31+
ddtrace = ">=2.20.0"
3232
ujson = ">=5.9.0"
3333
boto3 = { version = "^1.34.0", optional = true }
3434
requests = { version ="^2.22.0", optional = true }

0 commit comments

Comments
 (0)