Build plugin/config relocation
Poetry source priority default secondary deprecated priority primary supplemental explicit default true pyproject.toml
Install resolves from an unintended index or ignores a repository setting after upgrade.
Agent Quick Fix
Repair against the current Poetry contract, then keep the change narrow and source-backed.
Product: Poetry
Current-contract area: Poetry source/config key rename or default inversion
Likely root cause: Install resolves from an unintended index or ignores a repository setting after upgrade.
Repair direction: Verifier checks the current package identity/config format and a real transformed output. Check reproducibility from a clean environment and artifact contents where relevant.
Symptom
Install resolves from an unintended index or ignores a repository setting after upgrade.
Why This Happens
The old package/config name is syntactically valid, but current tool packaging and discovery rules live in external release documentation.
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 source priority default secondary deprecated priority primary supplemental explicit default true pyproject.toml
site:python-poetry.org docs repositories source priority primary supplemental explicit Poetry
https://python-poetry.org/docs/repositories/
https://python-poetry.org/docs/1.8/repositories/