-
QuestionPDM has the behavior "Editable installs are only allowed in the dev dependency group. Other groups, including the default, will fail with a [PdmUsageError]." (by the way, love your documentation, it makes me so happy that this piece of behavior is documented). Why is it this way? Is there a potential future where you can allow this or is there some way to solve the problem below for monorepos? Why I want thisI have a monorepo system going on that looks something like
I'd like to be able install core_package as an editable dependency so my editor picks up on all the changes going on and autocompletes properly and so when I run linting all that works without re-locking/installing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Just duplicate the requirement in dev-dependencies: [project]
dependencies = ["core_package==1.0"] # the versioned requirement
[tool.pdm.dev-dependencies]
dev = [
"-e file:///${PROJECT_ROOT}/../core_package#egg=core_package"
] |
Beta Was this translation helpful? Give feedback.
-
if I'm using a git reference in project dependencies, I get a conflict with this approach (at |
Beta Was this translation helpful? Give feedback.
Just duplicate the requirement in dev-dependencies: