We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72f6af5 + 7fcd5f2 commit f185897Copy full SHA for f185897
dowsing/tests/setuptools_metadata.py
@@ -96,6 +96,12 @@ def test_arg_mapping(self) -> None:
96
a = setup_py_info.get_all(field.metadata.key)
97
b = setup_cfg_info.get_all(field.metadata.key)
98
99
+ # setuptools>=57 writes long_description to the body/payload
100
+ # of PKG-INFO, and skips the description field entirely.
101
+ if field.keyword == "long_description" and a is None:
102
+ a = setup_py_info.get_payload()
103
+ b = setup_cfg_info.get_payload()
104
+
105
# install_requires gets written out to *.egg-info/requires.txt
106
# instead
107
if field.keyword != "install_requires":
0 commit comments