Conversation
Documentation build overview
52 files changed ·
|
2fed7a0 to
96c81fc
Compare
| For consistency, it is RECOMMENDED that build backends implement the | ||
| following interface for building variant wheels: | ||
|
|
||
| - variant metadata seed is stored in ``pyproject.toml`` file, as |
There was a problem hiding this comment.
The word "seed" here and in the next section isn't too helpful. It seems to imply that changes may occur, it's only a starting point (a la "random seed"). That isn't the case - the metadata in pyproject.toml and in variants.json should actually be 100% consistent. And as for PEP 621, if both exist, I'd expect the pyproject.toml version to be authoritative.
There was a problem hiding this comment.
I'm not opposed to replacing or removing "seed", but there are some differences:
variantswill only include the selected variant.providers.{namespace}.static-propertiesmay be filled from a plugin.default-priorities.feature.{namespace}may be filled from a plugin.
| [variant.variants.x8664_v4_mkl] | ||
| blas_lapack.library = ["mkl"] | ||
| x86_64.level = ["v4"] | ||
|
|
There was a problem hiding this comment.
This example works well (nit: the x8664 spelling looks off to my eyes, can it be replaced with x86-64?). It may be useful to add an example invocation maybe?
$ pip install . -Cvariant-label=x86-64_v3
...
built xxx.whl
There was a problem hiding this comment.
Uh, actually it was supposed to be x8664v4_mkl, with the (non-normative) assumption that we're using _ to split different properties here. I'm fine with changing it but then we should probably change the labels in 825 too, to keep the variant labels consistent across the examples.
| consistent user experience, but are by no means mandatory. The standard | ||
| ``pyproject.toml`` file is used to avoid spreading the project | ||
| configuration across multiple files, and the same schema as for variant | ||
| metadata is used. |
There was a problem hiding this comment.
This Rationale is well-written and very useful. I think it's easier to understand the specification after reading this section. I'd put Rationale above Specification for that reason (which is where it normally goes anyway). Coming to a terse Specification first, the reader will likely lack context.
Alternatively, at least this first paragraph could go above it (in Motivation maybe?), because it sets the context well. The rest of this Rationale is more about explaining individual design decisions, but this first paragraph is not.
There was a problem hiding this comment.
Oh, I actually forgot that Rationale normally comes prior to Specification. Do you think it's better to move it wholesome, or split as you suggested in the second alternative, and keep Rationale after Specification?
f80e6e8 to
b7ad00c
Compare
|
I just remembered that I had made a diagram early on in wheelnext/pep_817_wheel_variants#9. Here's the latest version:
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. |
93b34f5 to
8a445ad
Compare
e15a67e to
6c99577
Compare
0ff098b to
405bcb6
Compare
a8b327a to
017ce84
Compare
405bcb6 to
c225d2f
Compare
97b5ea0 to
e029b64
Compare
c225d2f to
1f819e6
Compare
e4f3057 to
1e4b442
Compare
rgommers
left a comment
There was a problem hiding this comment.
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.
1f819e6 to
96f5acf
Compare
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>
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>
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>
This reverts commit e599dbc. Signed-off-by: Michał Górny <mgorny@quansight.com>
This reverts commit 4109c21. 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>
eda6717 to
df2b8e4
Compare

Here's an early draft, mostly as context to #40.
📚 Documentation preview 📚: https://wheelnext-peps--44.org.readthedocs.build/