title: How to update Poetry's lock file without upgrading dependencies?
body: <p>After adding a <code>[tool.poetry.extras]</code> section to <code>pyproject.toml</code>, Poetry displays the following warning, for example on install:</p>
  
  <blockquote>
    <p>Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.</p>
  </blockquote>
  
  <p>That's fine, but if I run <code>poetry update</code> it upgrades my dependencies, which is not what I want at this time. If I run <code>poetry lock</code> instead, it still upgrades dependencies.</p>
  
  <p>Sorry for not providing a reproducible example, it's quite tricky to generate a poetry.lock file with outdated dependencies. My existing one is too large for posting here.</p>
  
  <p><strong>Update</strong>: Opened <a href="https://github.com/sdispater/poetry/issues/1614" rel="noreferrer">sdispater/poetry#1614</a> for this issue</p>