Generalize the ABI provider into a generic "reserved provider", v2 - #90
Conversation
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>
Documentation build overview
51 files changed ·
|
Signed-off-by: Michał Górny <mgorny@quansight.com>
Question/Feedbackcan you explain why doing this "abi": {
"builtin": "abi_dependency"
}instead of this: "abi_dependency": {
"builtin": true
}I get that it allows to name Or that conceptually the namespace and name of the package are not necessarily 1:1 - but I also remember Ralf saying some time ago that we should try to force ecosystem consistency when possible. This seems one of these cases where we should enforce abi_dependency namespace for everybody. |
It's not a big deal, it just felt more solid as a proposal. Makes this look less like an afterthought. |
|
OK ... Feels a little more difficult to read but fair enough ... |
| 3. The tool MUST read the ``static-properties`` key from the `provider | ||
| 3. The tool MUST read the ``builtin`` key from the `provider | ||
| information`_ dictionary. If it is present, the tool MUST use the | ||
| internal provider implementation if supported, or assume that no |
There was a problem hiding this comment.
| internal provider implementation if supported, or assume that no | |
| internal provider implementation if supported, otherwise assume that no |
There was a problem hiding this comment.
There's already a "otherwise" below.
| 3. The tool MUST read the ``builtin`` key from the `provider | ||
| information`_ dictionary. If it is present, the tool MUST use the | ||
| internal provider implementation if supported, or assume that no | ||
| features are compatible if not. Otherwise, proceed to step 4. |
There was a problem hiding this comment.
| features are compatible if not. Otherwise, proceed to step 4. | |
| features are compatible. Otherwise, proceed to step 4. |
| key in the `provider information`_ dictionary. | ||
|
|
||
| All builtin providers are OPTIONAL. Tools that choose to implement them | ||
| MUST follow the PEP implementing them. Tools that do not recognize a |
There was a problem hiding this comment.
Specifically because we say that "Tools that choose to implement them
MUST follow the PEP implementing them." I would recommend kicking everything after this paragraph out the PEP.
Especially that now we don't need to reserve a name like we used to have before your builtin idea.
Signed-off-by: Michał Górny <mgorny@quansight.com>
|
I caught up with these |
Same as #89, except that the identifier is explicitly given to
builtinkey, rather than reusing the namespace. IMO that's even more consistent design, and makes thebuiltinkey meaningful rather than incidental.