pdm
pdm copied to clipboard
monorepo: hermeticity?
https://github.com/pdm-project/pdm/commit/494669ce06ddef85a379234fd59a30593be85c90 added an example of monorepo management with PDM.
However it seems to me that this would lead to dependencies "bleeding" into various packages. Suppose I have sub-packages A and B with disjoint dependencies and I accidentally import a dependency of B in A; I believe PDM will allow this silently, but it should not (because it will fail when A is deployed standalone).
This issue is analogous to https://github.com/astral-sh/rye/issues/735 and related to https://github.com/pdm-project/pdm/issues/1505.