Skip to content

P2: migrate pixi manifests from [project] to [workspace] - #14

Merged
ortizeg merged 1 commit into
developfrom
fix-p2-pixi-workspace
Jul 24, 2026
Merged

P2: migrate pixi manifests from [project] to [workspace]#14
ortizeg merged 1 commit into
developfrom
fix-p2-pixi-workspace

Conversation

@ortizeg

@ortizeg ortizeg commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Current pixi deprecates the project field. Parsing any of our generated manifests emitted:

WARN The `project` field is deprecated. Use `workspace` instead.
  ╭─[pixi.toml:1:1]
1 │ ╭─▶ [project]

Two independent template agents hit this while verifying their work in #11, which means it was reaching the user of every scaffolded project.

Changed

  • skills/pixi/SKILL.md + both reference files (manifest-reference.md, project-templates.md)
  • All 6 archetype template pixi.toml manifests
  • [tool.pixi.project][tool.pixi.workspace] for the pyproject-based variant

Deliberately surgical

[project] also means the PEP 621 table in pyproject.toml, which is entirely unrelated and must not be renamed. Left untouched:

  • skills/pypi/SKILL.md and skills/master-skill/SKILL.md — PEP 621 packaging metadata
  • The # pyproject.toml example inside the pixi manifest reference — same file, different meaning

I checked each occurrence's surrounding context rather than doing a blanket find-and-replace, and asserted the expected line content before rewriting it.

Verification

Rendered all six archetypes and ran pixi task list in each:

deprecation warnings
before 6 / 6
after 0 / 6

Plus uv run pytest tests/251 passed; ruff and mkdocs build --strict clean.

🤖 Generated with Claude Code

Current pixi deprecates the `project` field: parsing any of our generated
manifests emitted

  WARN The `project` field is deprecated. Use `workspace` instead.

Two independent template agents hit this while verifying their work, so it was
reaching users of every scaffolded project.

Migrated the pixi skill (SKILL.md + both references) and all six archetype
template manifests, plus `[tool.pixi.project]` -> `[tool.pixi.workspace]` for
the pyproject-based variant.

Deliberately surgical: `[project]` also means the PEP 621 table in
pyproject.toml, which is unrelated and must not change. The occurrences in the
pypi and master-skill skills, and the `# pyproject.toml` example inside the pixi
manifest reference, are left untouched — only pixi manifests were renamed.

Verified by rendering all six archetypes and running `pixi task list` in each:
deprecation warnings went 6/6 -> 0/6.

251 tests pass; ruff and mkdocs --strict clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ortizeg
ortizeg merged commit a902822 into develop Jul 24, 2026
3 checks passed
@ortizeg
ortizeg deleted the fix-p2-pixi-workspace branch July 24, 2026 10:50
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