Replies: 1 comment
|
Add this to your [tool.pdm.resolution.overrides]
common = "file:///${PROJECT_ROOT}/../../common"That tells the resolver to pull Your existing editable entry in |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm struggling to figure out how to do this:
In dependencies, we have a common library in prod.
In our flow:
pdm install, we need PDM to skip looking at the prod version and get the dev version of this library (a local editable), and so we removecommon, run the install, and then add it back in.Goal: Avoid having to edit the .toml every time we want to create a new lock file / venv
Is there any way to avoid this?
I've been looking into this solution but don't know how it would be formatted:
https://pdm-project.org/en/latest/usage/dependency/#dependency-overrides
All reactions