Add new tool.pdm
field for editable dependencies
#1083
Labels
⭐ enhancement
Improvements for existing features
Milestone
Is your feature request related to a problem? Please describe.
Right now PDM supports the specification of editable dependencies with an
-e
prefix. This is useful, but means that the resultingpyproject.toml
file is no longer PEP 508 compliant. If you use a different build backend e.g.hatch
, it will fail because of this incompatibility. Besides build backends, there are a myriad of other tools that could try to read this section.Describe the solution you'd like
Remove this "extra" syntax, and add a new
tool.pdm
field to enumerate the editable packages.By adding PDM-only metadata to indicate that these are editable packages, we can avoid breaking other tools. At the moment, editable packages are an implementation detail rather than something described by a packaging standard. This would mean that e.g. other build backends would end up using the non-editable version of the package. This seems to me to be the only good option unless a new
I'm sorry that I'm not submitting a PR alongside this. Right now, I just don't have any time to work on OS. I thought I'd create this issue as a TODO-item :)
The text was updated successfully, but these errors were encountered: