@@ -598,7 +598,8 @@ normalization) follows the official `dependency groups specification`_.
598598Examples
599599--------
600600
601- These examples show what the ``[external] `` content for a number of packages is
601+ These examples show what the ``[external] `` table content for a number of
602+ packages, and the corresponding ``PKG-INFO ``/``METADATA `` content (if any) is
602603expected to be.
603604
604605cryptography 39.0
@@ -619,6 +620,8 @@ cryptography 39.0
619620 "dep:generic/libffi",
620621 ]
621622
623+ ``PKG-INFO `` / ``METADATA `` content: N/A.
624+
622625SciPy 1.10
623626''''''''''
624627
@@ -639,6 +642,8 @@ SciPy 1.10
639642 "dep:virtual/interface/lapack@>=3.7.1",
640643 ]
641644
645+ ``PKG-INFO `` / ``METADATA `` content: N/A.
646+
642647Pillow 10.1.0
643648'''''''''''''
644649
@@ -668,6 +673,7 @@ Pillow 10.1.0
668673 "dep:generic/tk",
669674 ]
670675
676+ ``PKG-INFO `` / ``METADATA `` content: N/A.
671677
672678NAVis 1.4.0
673679'''''''''''
@@ -752,12 +758,22 @@ PyEnchant 3.2.2
752758
753759 [external]
754760 dependencies = [
755- # libenchant is needed on all platforms but only vendored into wheels on
756- # Windows, so on Windows the build backend should remove this external
757- # dependency from wheel metadata.
758- "dep:github/AbiWord/enchant",
761+ # libenchant is needed on all platforms but vendored into wheels
762+ # distributed on PyPI for Windows. Hence choose to encode that in
763+ # the metadata. Note: there is no completely unambiguous way to do
764+ # this; another choice is to leave out the environment marker in the
765+ # source distribution and either live with the unnecessary ``METADATA``
766+ # entry in the distributed Windows wheels, or to apply a patch to this
767+ # metadata when building those wheels.
768+ "dep:github/AbiWord/enchant; platform_system!='Windows'",
759769 ]
760770
771+ ``PKG-INFO `` / ``METADATA `` content:
772+
773+ .. code ::
774+
775+ Requires-External-Dep: dep:github/AbiWord/enchant; platform_system!="Windows"
776+
761777 With dependency groups
762778''''''''''''''''''''''
763779
@@ -771,6 +787,7 @@ With dependency groups
771787 "dep:generic/valgrind",
772788 ]
773789
790+ ``PKG-INFO `` / ``METADATA `` content: N/A.
774791
775792Backwards Compatibility
776793=======================
0 commit comments