Skip to content

PEP 9999: building (draft; do not merge) - #44

Draft
mgorny wants to merge 18 commits into
mainfrom
pep-building
Draft

mgorny wants to merge 18 commits into
mainfrom
pep-building

Conversation

@mgorny

@mgorny mgorny commented Mar 2, 2026 •

Copy link
Copy Markdown

Here's an early draft, mostly as context to #40.


📚 Documentation preview 📚: https://wheelnext-peps--44.org.readthedocs.build/

@read-the-docs-community

read-the-docs-community Bot commented Mar 2, 2026 •

Copy link
Copy Markdown

@mgorny
mgorny force-pushed the pep-building branch 3 times, most recently from 2fed7a0 to 96c81fc Compare March 9, 2026 13:16

@rgommers rgommers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty good to me, thanks @mgorny! I only have a handful of comments at the moment.

Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9998.rst Resolved
@rgommers

rgommers commented Jul 10, 2026 •

Copy link
Copy Markdown

I just remembered that I had made a diagram early on in wheelnext/pep_817_wheel_variants#9. Here's the latest version:

image

Needs some tweaks to align with the final version of this PEP, but we may want to consider including it - a lot easier to grasp than lots of text and numbered lists of steps.

EDIT: or better, include into the reworked PEP 817 as an Informational PEP, since it looks like we're going that way.

@mgorny
mgorny force-pushed the pep-providers branch 3 times, most recently from 93b34f5 to 8a445ad Compare August 17, 2026 14:26
@mgorny
mgorny force-pushed the pep-building branch 2 times, most recently from 0ff098b to 405bcb6 Compare September 9, 2026 17:33
@mgorny
mgorny force-pushed the pep-providers branch 2 times, most recently from e4f3057 to 1e4b442 Compare September 21, 2026 17:00

@rgommers rgommers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably is still in flux at the moment, but I had a look. Overall looks good, and all of the main decisions still make sense to me. The main comment I have right now is that default-priorities.feature is still used in some places.

Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9998.rst Resolved
@mgorny
mgorny force-pushed the pep-building branch 2 times, most recently from eda6717 to df2b8e4 Compare September 28, 2026 16:14
@mgorny mgorny changed the title PEP 9998: building (draft; do not merge) PEP 9999: building (draft; do not merge) Oct 20, 2026
@rgommers

Copy link
Copy Markdown

@mgorny the diff is quite large, how about rebasing or merging in the main branch of python/peps so we get all the latest changes to 817, 825 and 850 as a baseline?. Also, this PR should probably be retargeted to a new integration branch for just the Building PEP.

@mgorny

mgorny commented Oct 26, 2026

Copy link
Copy Markdown
Author

Oh, sorry, I thought I've rebased it already.

Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
@mgorny
mgorny changed the base branch from pep-providers to main October 26, 2026 12:15
@mgorny

mgorny commented Oct 26, 2026

Copy link
Copy Markdown
Author

Oh, I needed to change base here.

Signed-off-by: Michał Górny <mgorny@quansight.com>

@rgommers rgommers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a first set of comments - I'm about halfway through, more coming later today or tomorrow.

Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst
list of variant feature names and their values that are valid
according to the provider plugin. The ordering of the lists is
insignificant. A particular plugin version MUST always return the same
lists (modulo ordering), irrespective of any runtime conditions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to state in the Rationale that the ordering of get_all_configs is insignificant because the interface is meant only for validating that properties/features are valid. And that it's useful to leave the list unordered because (reason: I think so that only features that are actually used need to be specified in feature-order).

Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
mgorny and others added 4 commits October 26, 2026 16:53
Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>

@rgommers rgommers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more comments on the text, nothing too dramatic.

Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst
Comment on lines +42 to +46
backends. All of this is given as a recommendation to make documentation
universal, build backends interchangeable and therefore improve user
experience. At the same, build backends are permitted to follow a
different implementation path as necessary to fit their specific use
cases.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure about this part, it feels like an unnecessary disclaimer. This can be said of many PEPs "feel free to ignore and use tool.xxx to do your own thing".

I'll need to think about this some more, but I'm currently inclined to suggest leaving out these sentences.

Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9998.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
Comment thread peps/pep-9999.rst Resolved
mgorny and others added 7 commits October 27, 2026 14:51
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Signed-off-by: Michał Górny <mgorny@quansight.com>
Comment thread peps/pep-9999.rst Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants