Repository navigation
Build production Python dependencies with devtools - #452
Conversation
|
Review result: weighed Independent review by Anthropic Claude Opus 5.5. I removed the dangling development tools link from the artifact builder. The follow-up review found no blocker. I reproduced a native compile failure with the old Dockerfile against the lean runtime, then built and imported the libpq-linked fixture through both production Dockerfiles and the development target. The serving images had the expected venv ownership, dependency evidence, and no compiler, Linux headers, or devtools import-path file. The production helper writes its exported evidence at the copied path. The full venv transfer adds a layer, as expected with the existing runtime image contract. The published image pair and product previews will provide the size and compatibility evidence for the normal path. Renovate's installed extractor, digest lookup, branch grouping and replacement passed against all four product manifests, including either one-stale-field case. The stable digests used for the lookup had the same producer run annotation. I kept pair verification against these published annotations on the adoption path. Existing publishers keep their current gates. Local runtime unit tests, Ruff, the runtime lock check, and the Renovate config validator passed. PyCharm coverage is UNKNOWN for the changed Dockerfile and preset selection. |
|
The two existing build-only consumer checks passed using devkit commit
The product trial builds and serving previews on the unpublished-to-stable image pair are still pending. |
|
Ready for the merge train Head: 3f8943c |
|
Launchplane completed the merge-train step for this pull request.
Launchplane finished the merge-train step for this pull request. Launchplane manages this comment and will update it as the train moves. |
…4d322ce21942bb2: merge PR #452
Part of cbusillo/odoo-docker#234.
Both production Dockerfiles now install production dependencies with devtools, starting from the serving image's interpreter, venv and base constraints. They copy the finished venv and dependency evidence into runtime. The local development target retains its own dependency sync and tools link.
The inherited Renovate preset updates the two Community 20 digest pins in one PR when both change. It repairs a single stale pin when the other is already current. The producer's manifest annotations identify the matched pair during review.
A libpq-linked Python package failed to compile in the former builder against the lean runtime and built and loaded through both new production recipes. Development and dependency-evidence checks passed. Renovate's extractor, registry lookup, grouping, and replacement proved paired and one-field changes against all four current product manifests.
Removed: production installation on serving images and the unused development tools link in the artifact builder.
Net lines: +50 (+63/-13).
The four normal Build and serving preview results are recorded on the anchor issue.
Client test notes
Nothing for the Client to test: This changes dependency installation during image builds and how Renovate proposes pin updates. The four product previews served successfully.