Skip to content

Allow pure-addon schema-v2 dependency workspaces - #89

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/87-pure-addon-workspace
Jul 19, 2026
Merged

Allow pure-addon schema-v2 dependency workspaces#89
shiny-code-bot merged 1 commit into
mainfrom
fix/87-pure-addon-workspace

Conversation

@shiny-code-bot

Copy link
Copy Markdown
Collaborator

Summary

  • accept an explicit empty tool.uv.workspace.members array when no tenant or shared addon Python projects are discovered
  • continue requiring the members key, exact discovered-member equality, tracked regular inputs, and offline uv lock currentness
  • document and test the minimal pure-addon schema-v2 lock contract without inventing a fake package

Why

The first CM Website artifact canary after #88 proved that uv accepts and locks a root-only virtual workspace, while devkit rejected members = []. That made the schema-v2 requirement impossible for a pure Odoo addon with no Python package metadata.

Validation

  • uv run python -m unittest discover -s tests — 218 passed, 1 skipped
  • uv run ruff check .
  • uv run ruff format --check .
  • uv build
  • uv run platform --help
  • real CM Website platform dependencies checkcurrent=true, publishable=true, zero projects/members
  • independent security review confirmed no provenance regression and identified the now-covered omitted-key guard

Part of #87.

@shiny-code-bot
shiny-code-bot merged commit dfaf5a5 into main Jul 19, 2026
4 checks passed
@shiny-code-bot
shiny-code-bot deleted the fix/87-pure-addon-workspace branch July 19, 2026 00:49
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.

1 participant