When starting Pip with a file requirements.txtwith fixed versions, we get the following error (or the like):
VersionConflict: (solrpy 0.9.1
(.../lib/python2.6/site-packages/solrpy-0.9.1-py2.6.egg),
Requirement.parse('solrpy==0.9.3'))
because the version is conflicting. Using pip install -U -r requirements.txtfixes this, but also forces us to download all packages again. One of the nice things about Pip is that he will know what is installed, and not re-download / install.
Is there any way around this? I think what I want is a “soft upgrade” where it only updates packages if they conflict.
source
share