Fix build failure when editable dependencies exist in pyproject.toml

This commit is contained in:
Xing Yang 2022-07-24 21:03:23 +01:00
parent 8b8edc85d2
commit bb9a82da44

View file

@ -22,6 +22,7 @@ def main(input, output, fields_to_remove):
any_removed |= dep.pop(field, None) is not None
if any_removed:
dep["version"] = "*"
dep.pop("develop", None)
output.write(tomlkit.dumps(data))