You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have a single shared implementation for detecting these cases, that various backends could share, while allowing each backend to choose how to handle each case.
x-ref #284 which made me think about the warnings that PEP 639 suggests that "build tools" SHOULD/MAY present.
If a project's metadata specifies an older core metadata version and the name would be invalid with newer core metadata versions, tools reading that metadata SHOULD warn the user.
Tools MAY warn or raise an error when installing a project into a preexisting environment where there is import name overlap with a project that is already installed.
Note that the guidance on errors and warnings is for tools' default behavior; they MAY operate more strictly if users explicitly configure them to do so, such as by a CLI flag or a configuration option.
The error and warning guidance in this section applies to build and publishing tools; end-user-facing install tools MAY be less strict than mentioned here when encountering malformed metadata that does not conform to this specification.
Tools SHOULD report a warning and publishing tools MAY raise an error if one or more license identifiers have been marked as deprecated in the SPDX License List <spdxlist_>__.
Build tools MAY and publishing tools SHOULD produce an informative warning if a built distribution's metadata contains no License-File entries, and publishing tools MAY but build tools MUST NOT raise an error.
Otherwise, if this field contains a license classifier, tools MAY issue a warning informing users such classifiers are deprecated, and recommending License-Expression instead.
Build tools SHOULD validate and perform case normalization of the expression as described in the :ref:639-spec-field-license-expression section, outputting an error or warning as specified.
If the new license-files key is not present and the text subkey is present in a license table, tools SHOULD issue a warning informing users it is deprecated and recommending a license expression as a top-level string key instead.
Likewise, if the new license-files key is not present and the file subkey is present in the license table, tools SHOULD issue a warning informing users it is deprecated and recommending the license-files key instead.
For authors using the now-deprecated License field or license classifiers, packaging tools may warn them and inform them of the replacement, License-Expression.
It would be good to have a single shared implementation for detecting these cases, that various backends could share, while allowing each backend to choose how to handle each case.
x-ref #284 which made me think about the warnings that PEP 639 suggests that "build tools" SHOULD/MAY present.
Checklist, if we decide to do this: