Skip to content

Keep tenant Python upgrades with the Odoo base image - #463

Merged
shiny-code-app[bot] merged 1 commit into
mainfrom
work/tenant-python-renovate
Nov 24, 2026
Merged

shiny-code-app[bot] merged 1 commit into
mainfrom
work/tenant-python-renovate

Conversation

@shiny-code-app

Copy link
Copy Markdown
Contributor

Closes #460.

The tenant preset disables the PEP 621 manager’s requires-python dependency type. An intentional Python series upgrade moves the base image pins, workspace Python, project ranges and lockfile together. The general-purpose preset stays available to other consumers.

TK #175 changed the root project and lockfile independently of the image. Both build and workspace-contract failed. The proposal is already closed with a pointer to #460. Both current tenant configs extend the same presets. CM additionally disables hatchling and has addon project files.

Verified locally with Renovate 44.258.1 on Node 24.22.3. The real extractor and resolved package rules reproduced the failure before the patch and disabled the python-version dependency afterward in TK, CM and a CM addon. HomeHarvest, PyMySQL and pymssql remain eligible. The image manager still extracts and groups both digest pins. A disposable coordinated 3.15 fixture regenerated and checked TK’s lock with CPython 3.15.2. Its image references were test digests.

Strict config validation, 42 focused tests, Ruff lint and formatting passed. The dependency-workspace fixtures need UV_PYTHON=3.13 on this host. Changed-file IDE inspection returned UNKNOWN for Markdown and JSON in the PyCharm lane. Claude Opus 5.5 reviewed this head and found no defects.

Removed: the independent Python proposal from the tenant preset’s behavior.
Net lines: +10 across the preset and its operating guide.

Client test notes

No Client action is needed. This changes dependency proposal policy only.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Review result: weighed
Head: ae4f324

Claude Opus 5.5 found no defects. The local Renovate extraction and resolved-policy checks cover both tenants, ordinary packages, and the coordinated upgrade path.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Engineering ready; waiting for the required exact-head consumer builds.

All five Devkit checks passed at ae4f324. The shared-layers Supervisor has the handoff to obtain the CM website and OPW consumer evidence and use checked Ready. Tenant repositories were read-only for this worker.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Both original build-only consumer runs passed on attempt 1. Their retained consumer-build-check-1 receipts identify Devkit ae4f324fcaed6e27681efe882a4fc87458770a8c and the production target linux/amd64. Each receipt’s in-image dependency provenance matches its tenant and support lock hashes and source commits.

Consumer Tenant source commit Successful job Receipt
CM website 62358065bfbb6c2dc13ec6cae972ead328eb8f66 45493410900, attempt 1 14966974306
OPW a663ccd8db14884aad6fc002b38af3bcc40f7720 45493410342, attempt 1 14966373965

This completes the consumer-build wait recorded above.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Ready for the merge train

Head: ae4f324

@shiny-code-app

shiny-code-app Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

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.

shiny-code-app Bot added a commit that referenced this pull request Nov 24, 2026
@shiny-code-app
shiny-code-app Bot merged commit d6cbec3 into main Nov 24, 2026
5 checks passed
@shiny-code-app
shiny-code-app Bot deleted the work/tenant-python-renovate branch November 24, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Renovate should not move a tenant's Python past its base image

0 participants