# Poetry source priority default secondary deprecated priority primary supplemental explicit default true pyproject.toml

Status: search-observed
Product: Poetry
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/poetry-source-priority-default-secondary-deprecated-priority-primary-supplemental-explicit-defau
Machine JSON: https://gitdocs.org/api/fixes/poetry-source-priority-default-secondary-deprecated-priority-primary-supplemental-explicit-defau.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The old package/config name is syntactically valid, but current tool packaging and discovery rules live in external release documentation.

## Fix

```
Verifier checks the current package identity/config format and a real transformed output. Check reproducibility from a clean environment and artifact contents where relevant.
```

## Avoid

- 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.

## Observed Codex Queries

- 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/

## Sources

- Poetry 2.0.0: https://python-poetry.org/blog/announcing-poetry-2.0.0/
- Official reference opened by Codex: https://python-poetry.org/docs/repositories/
- Official reference opened by Codex: https://python-poetry.org/docs/1.8/repositories/
