Replies: 2 comments
-
I have just come across the same problem, is there a solution? If required, I will be happy to provide more information. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I haven't solved the problem due to lack of time, but I have thought that building some PDM plugin that changes the dependency would be the solution. As source of inspiration I was looking at https://github.com/pdm-project/pdm-build-locked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using PDM to develop in a monorepo that will publish multiple python build products. I am also using SCM versioning in the monorepo. I am trying to figure out how can I express a dependency between packages, such that the SCM version that is used for the build product can also be used as a constraint between dependencies.
For example, if I have packages
A
andB
on the monorepo that depend on each other , i.e.A -> B
, and the SCM version is0.1.dev8+gb3c95c6.d20240102
, I would likeB
to express as a dependencyA==0.1.dev8+gb3c95c6.d20240102
, when the package is built. And ideally this is all managed dynamically. Is there a way to express this sort of relationship?Beta Was this translation helpful? Give feedback.
All reactions