-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[16.0][ADD] base_module_quick_update: quick upgrade without cascading... - #3682
[16.0][ADD] base_module_quick_update: quick upgrade without cascading... #3682AntonBalmakov wants to merge 1 commit into
Conversation
c0f6515 to
42a2442
Compare
499dc5a to
8765b3e
Compare
CI failure here is unrelated to this change. In the test with Odoo/test with OCB jobs the Install addons and dependencies step aborts before any test runs (Run tests = 0s). Root cause: pip pulls MarkupSafe 3.0.3 (log line 318) while Odoo 16 pins Jinja2 2.11.3 (line 312); Jinja2 2.11.3 imports soft_unicode, removed in MarkupSafe ≥2.1, so import odoo fails and oca_list_external_dependencies reports could not obtain odoo.addons.path. This is a recent environment/wheelhouse regression affecting fresh 16.0 builds, not this PR. A constraint like MarkupSafe<2.1 (CI side) should fix it. Nothing to change here — will re-run once resolved.
... dependents Adds a Quick upgrade action to ir.module.module that upgrades the selected module only, without cascading to installed modules that depend on it. Missing upstream dependencies are still installed. Task: T0194
8765b3e to
408209f
Compare
c4a140c to
408209f
Compare
AntonBalmakov
commented
Aug 31, 2026
Update: all GitHub Actions checks are green on 408209f — pre-commit, "Detect unreleased dependencies", tests with both Odoo and OCB, and codecov (92.94% of the diff covered). The MarkupSafe/Jinja2 problem described above no longer affects the Actions jobs.
The only remaining red check is runboat/build, which fails for that same reason on the runboat image side: pip resolves MarkupSafe to 3.0.3 against the pinned Jinja2 2.11.3, so import odoo fails and the init script aborts with could not obtain odoo.addons.__path__ / not found in addons path: base,... — before any addon from this PR is even loaded. This affects every fresh 16.0 runboat build, not just this branch; a MarkupSafe<2.1 constraint on the image side would fix it.
Could a maintainer please take a look? Happy to address any feedback.
... dependents
Adds a Quick upgrade action to ir.module.module that upgrades the selected module only, without cascading to installed modules that depend on it. Missing upstream dependencies are still installed.
Task: T0194