CLI command/plugin extraction

Poetry 2.0 export command does not exist poetry-plugin-export official

CI exits with 'command does not exist' although the same script worked with Poetry 1.x.

PoetryPython packagingCLI command/plugin extractionpoetry2

Agent Quick Fix

Repair against the current Poetry contract, then keep the change narrow and source-backed.

Product: Poetry
Current-contract area: Poetry 2 fresh install lacks `poetry export`
Likely root cause: CI exits with 'command does not exist' although the same script worked with Poetry 1.x.
Repair direction: Verifier checks a declared/reproducible plugin dependency or the supported replacement command. Check reproducibility from a clean environment and artifact contents where relevant.

Symptom

CI exits with 'command does not exist' although the same script worked with Poetry 1.x.

Why This Happens

The project files cannot prove whether a familiar command still ships in the CLI core or now requires an external plugin.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Poetry 2.0 export command does not exist poetry-plugin-export official
site:python-poetry.org poetry export plugin export
https://python-poetry.org/docs/plugins/
https://github.com/python-poetry/poetry-plugin-export
'export' in https://python-poetry.org/history/

Source Trail

GitHub source file/reference: