mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Fix build failure when editable dependencies exist in pyproject.toml
This commit is contained in:
parent
8b8edc85d2
commit
bb9a82da44
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ def main(input, output, fields_to_remove):
|
||||||
any_removed |= dep.pop(field, None) is not None
|
any_removed |= dep.pop(field, None) is not None
|
||||||
if any_removed:
|
if any_removed:
|
||||||
dep["version"] = "*"
|
dep["version"] = "*"
|
||||||
|
dep.pop("develop", None)
|
||||||
|
|
||||||
output.write(tomlkit.dumps(data))
|
output.write(tomlkit.dumps(data))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue