title: pip: upgrade package without upgrading particular dependency
body: <p>My question is very much similar to <a href="https://stackoverflow.com/questions/2861183/pip-upgrade-package-without-upgrading-dependencies">this</a> question. But It differs in a way that if i am installing some package i only want to disable upgrade for a particular dependency not for all dependencies. I know there is a flag <code>--no-deps</code> but it will exclude all dependency rather i just want to exclude one.</p>
  
  <p>Here is a scenario:</p>
  
  <ul>
  <li>I have Django 1.4 installed</li>
  <li>I have <a href="https://github.com/mbi/django-rosetta" rel="nofollow noreferrer">django-rosetta</a> installed</li>
  </ul>
  
  <p>Here are <code>django-rosetta</code> dependencies in latest build:</p>
  
  <pre><code>install_requires=[
      'six &gt;=1.2.0',
      'Django &gt;= 1.3'
  ]
  </code></pre>
  
  <p>Now i want to upgrade rosetta <code>pip install -U django-rosetta</code>. But it tried to download and install <code>Django 1.5</code> because in rosetta dependency <code>Django &gt;= 1.3</code> is required (and i don't want it to do this as Django 1.4 is already installed) I only want it to upgrade <code>six</code> package if there is any.</p>
  
  <p><code>--no-deps</code> flag will not work as it will exclude <code>six</code> package also. Also I am not using virtual environment. Any suggestions please?</p>