Skip to content

Commit

Permalink
Fix build failure when editable dependencies exist in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
crossing committed Jul 24, 2022
1 parent 8b8edc8 commit bb9a82d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/pyproject-without-special-deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit bb9a82d

Please sign in to comment.