A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-July/140710.html below:

[Python-Dev] modules dependencies issues

[Python-Dev] modules dependencies issues [Python-Dev] modules dependencies issuesCyril Scetbon cyril.scetbon at free.fr
Thu Jul 9 19:34:09 CEST 2015
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4