modules dependencies issues
Hi, I use pip to install modules and setuptools to install dependencies, and generate a console_script using the entry_point parameter of setup. Here is the issue : my current sources depend on modules, let's say A=1.0, B=1.0, C=2.0. And C depends on B=1.1 I have no problem with using pip to install dependencies. However setuptools complain that 2 versions are conflicting : Installed /private/tmp/test/my-module Processing dependencies for my-module==0.0.1 error: B 1.0 is installed but B==1.1 is required by set(['C']) Forcing my-module to use B=1.1 fixes the issue. However it's just a sample and my code is using a lot of modules that use other shared modules too. Is there a way to let dependencies use their own version of the modules they need while the current use another version ? Currently every time we need to upgrade one module, we need to make sure dependencies use this new version too :( Thanks -- Cyril SCETBON
On 07/09/2015 10:34 AM, Cyril Scetbon wrote: [...] Greetings! You have found the gathering place of the Python Developers -- as in, we discuss the development /of/ Python, not developing /with/ Python. You should ask your question on python-list, and perhaps on distutils-sig. Good luck! -- ~Ethan~
Okay I'll try. Thanks
On Jul 9, 2015, at 20:24, Ethan Furman <ethan@stoneleaf.us> wrote:
On 07/09/2015 10:34 AM, Cyril Scetbon wrote:
[...]
Greetings!
You have found the gathering place of the Python Developers -- as in, we discuss the development /of/ Python, not developing /with/ Python.
You should ask your question on python-list, and perhaps on distutils-sig.
Good luck!
-- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/cyril.scetbon%40free.fr
participants (2)
-
Cyril Scetbon
-
Ethan Furman