Commit 4df314b
ci: warn-and-fall-through when no upstream ddtrace wheel matches
dd-trace-py 4.x stopped building cp38 wheels (PYTHON_TAGS in
.gitlab/package.yml starts at cp39), so when this repo's CI is triggered
from a dd-trace-py 4.x PR, the cp38 unit-test job's spec_ddtrace_dep
call hard-errored. Lambda-python's pyproject.toml already pins
ddtrace<4 for Python 3.8/3.9, so the released ddtrace is the correct
thing to use there.
Match the original build_layers.sh behavior: warn, leave pyproject.toml
untouched, return 0. The dd-trace-py upload-serverless job's status
independently signals build/upload failures for supported versions.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e5dee1d commit 4df314b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
0 commit comments