Versions management of python packages
问题 What is a best practice to manage a different versions of packages? I know about virtualenv but i am not sure it is suitable in my case. My problem: Consider that i have 2 projects (P1, P2) which both use 1 small project (P3). I use git submodules and add P3 to both P1 and P2. Then i have P4 which uses all projects described above and P4 needs the latest version of P3. How to deal with it? I want P1, P2, P4 to use their own version of P3. But when i build P4 i have only one version of P3.