Lock expands linked filepaths, making pdm.lock not portable at all, not just platform specific. #2240
Closed
1 task done
Labels
🐛 bug
Something isn't working
That said, I suspect the answer involves the workspaces issue.
Steps to reproduce
Building the parent monorepo project and dependencies expands filepaths in the lockfile.
for example;
parent
pyproject
:foo
pyproject
depends on bar:The
pdm.lock
contains an expanded path;and when
pdm export
runs the filepath is also expanded in the requirements.txt. So if I runpdm sync
in CI, this doesn't resolve bar.Now, hopefully I've made a error in the structure as it was hard to find references. But if I'm supposed to build the file dependency package first I did not find how.
The text was updated successfully, but these errors were encountered: