Repository navigation
[PEP Providers] Package Index Fix - #94
DEKHTIARJonathan wants to merge 1 commit into
Conversation
DEKHTIARJonathan
commented
Sep 25, 2026
- Removed PyPI name-drop
- Change MUST to SHOULD
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review comments remain.
Review effort: Lite
Findings: None
What changed in this PR
Updates PEP 9999 to make package-index guidance generic and advisory.
Changes:
- Removes the PyPI-specific reference.
- Changes index verification from
MUSTtoSHOULD.
| File | Description |
|---|---|
peps/pep-9999.rst |
Revises provider plugin publication and package-index verification guidance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| published in the same indexes as the packages using them. Package indexes | ||
| SHOULD verify that packages published to the index only require variant | ||
| provider plugins available from that same index. |
There was a problem hiding this comment.
There are many indexes that are meant as overlays, which don't want/need to be consistent.
Can we move the PyPI requirement to the non-normative part instead? It's something for PyPI's policies, we can explain that a package where the provider isn't available doesn't make sense on PyPI
There was a problem hiding this comment.
I agree personally - either non normative or completely removed. We don't need to state that IMHO. PyPI maintainers will do this no matter what. But if we do proceed let's try to be as much "we recommend X" as possible
There was a problem hiding this comment.
PyPI maintainers will do this no matter what.
That is not at all clear to me. I don't think they'd do that if it's not done for project.dependencies and build-system.requires either.
Documentation build overview
51 files changed ·
|
rgommers
left a comment
There was a problem hiding this comment.
I think this is an improvement, the requirement is a bit too specific. I think there's also no requirement that says that dependencies = ['nonexistent-package'] should/must be caught.
The closest thing is, in the Requires-Dist spec](https://packaging.python.org/en/latest/specifications/core-metadata/?utm_source=chatgpt.com#requires-dist-multiple-use):
The project names should correspond to names as found on the Python Package Index.
But that's explanatory it seems to me, not a normative SHOULD. And I don't think index servers actually validate this?
|
gh-96 is a further tweak that extends this PR and is in line with my comment above - I think we should merge that version and call it good. |