CLI command/plugin extraction
Poetry 2.0.0 self update command fails before install fixed release self update path
The documented self-update command errors before it can install the fixed release.
Agent Quick Fix
Repair against the current Poetry contract, then keep the change narrow and source-backed.
Product: Poetry
Current-contract area: Poetry 2.0 self-update path fails from 2.0.0
Likely root cause: The documented self-update command errors before it can install the fixed release.
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
The documented self-update command errors before it can install the fixed release.
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.0 self update command fails before install fixed release self update path
site:github.com/python-poetry/poetry self update 2.0.0 error
Poetry 2.0.0 self update path fails 2.0.1
"self-update" "poetry" "2.0.0"
"poetry self update" "does not exist"
site:github.com/python-poetry/poetry/issues "self update" "2.0"
Poetry 2.0.1 release notes self update
python-poetry 2.0.0 changelog self update
https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md
'## [2.0.1]' in https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md
https://github.com/python-poetry/poetry/pull/9995
https://patch-diff.githubusercontent.com/raw/python-poetry/poetry/pull/9995.patch
"Fix an issue where `poetry self update` did not recognize Poetry's own environment"
site:github.com/python-poetry/poetry "SelfUpdateCommand" "get_system_env"
https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py
raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/update.py
https://api.github.com/repos/python-poetry/poetry/pulls/9995/files
api.github.com/repos/python-poetry/poetry/pulls/9995/files
https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py
"self_command.py" "python-poetry" "poetry" "get_system_env"
Source Trail
GitHub source file/reference:
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md
- GitHub source file or repository reference: https://github.com/python-poetry/poetry/pull/9995
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py
- GitHub source file or repository reference: https://api.github.com/repos/python-poetry/poetry/pulls/9995/files
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py
- Poetry 2.0.0: https://python-poetry.org/blog/announcing-poetry-2.0.0/
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md
- GitHub source file or repository reference: https://github.com/python-poetry/poetry/pull/9995
- Official reference opened by Codex: https://patch-diff.githubusercontent.com/raw/python-poetry/poetry/pull/9995.patch
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py
- GitHub source file or repository reference: https://api.github.com/repos/python-poetry/poetry/pulls/9995/files
- Official reference opened by Codex: https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py