Skip to content

Commit 1d382ed

Browse files
ci(py-315): document why cp315 requires no wheels yet
The empty cp315 required-wheel list is coupled to the cp315 allow_failure rule in .gitlab/package.yml: both must flip together, and #17816 owns that flip.
1 parent db72193 commit 1d382ed

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitlab/package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ variables:
106106
IMAGE_TAG: *AARCH64_IMAGES
107107
# TODO(py-315): drop the cp315 allow_failure rule once #17849 ports the bytecode
108108
# wrapping path to sys.monitoring (currently raises NotImplementedError on 3.15).
109+
# The cp315 wheels this matrix produces are kept for CI signal only and are deleted
110+
# before every publication step by .gitlab/scripts/prune-unsupported-wheels.sh.
109111
rules:
110112
- if: $PYTHON_TAG == "cp315-cp315"
111113
allow_failure: true

.gitlab/validate-ddtrace-package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
# lose into a hard failure of "ddtrace package" -- which has no allow_failure and
5252
# gates the release stage. 4.14.0 shipped cp315 musllinux but no cp315 manylinux,
5353
# and would have been blocked by such a requirement.
54+
# TODO(py-315): keep this in lockstep with the cp315 allow_failure rule in
55+
# package.yml. Populating it while that rule stands re-creates the hard failure
56+
# above; dropping the rule without populating it leaves cp315 unvalidated. #17816
57+
# owns the flip and must do both at once.
5458
REQUIRED_PLATFORMS: dict[str, list[str]] = {"cp315": []}
5559
OPTIONAL_WHEELS = {("cp315", p) for p in BASE_PLATFORMS if "linux" in p}
5660

0 commit comments

Comments
 (0)