@@ -451,22 +451,18 @@ in the ``Classifier`` :term:`Core Metadata field`
451
451
(`described in the Core Metadata specification <coremetadataclassifiers _>`__)
452
452
is deprecated and replaced by the more precise ``License-Expression `` field.
453
453
454
- If the ``License-Expression `` field is present, build tools SHOULD and
455
- publishing tools MUST raise an error if one or more license classifiers
454
+ If the ``License-Expression `` field is present, build tools MAY raise an error
455
+ if one or more license classifiers
456
456
is included in a ``Classifier `` field, and MUST NOT add
457
457
such classifiers themselves.
458
458
459
- Otherwise, if this field contains a license classifier, build tools MAY
460
- and publishing tools SHOULD issue a warning informing users such classifiers
459
+ Otherwise, if this field contains a license classifier,
460
+ tools MAY issue a warning informing users such classifiers
461
461
are deprecated, and recommending ``License-Expression `` instead.
462
462
For compatibility with existing publishing and installation processes,
463
463
the presence of license classifiers SHOULD NOT raise an error unless
464
464
``License-Expression `` is also provided.
465
465
466
- For all newly-uploaded distributions that include a
467
- ``License-Expression `` field, the `Python Package Index (PyPI) <pypi _>`__ MUST
468
- reject any that also specify any license classifiers.
469
-
470
466
New license classifiers MUST NOT be `added to PyPI <classifiersrepo _>`__;
471
467
users needing them SHOULD use the ``License-Expression `` field instead.
472
468
License classifiers may be removed from a new version of the specification
0 commit comments