Monday, August 3, 2020

Test and Code: 124: pip dependency resolver changes

pip is the package installer for Python.

Often, when you run pip, especially the first time in a new virtual environment, you will see something like:

WARNING: You are using pip version 20.1.1; however, version 20.2 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

And you should. Because 20.2 has a new dependency resolver.

Get in the habit, until October, of replacing pip install with pip install --use-feature=2020-resolver.

This flag is new in the 20.2 release.

This new pip dependency resolver is the result of a lot of work.

Five of the people involved with this work are joining the show today: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.

We talk about:

  • pip dependency resolver changes
  • user experience research and testing
  • crafting good error messages
  • efforts to improve the test suite
  • testing pip with pytest
  • some of the difficulties with testing pip
  • working with a team on a large project
  • working with a large code base
  • bringing new developers into a large project

Special Guests: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.

Sponsored By:

Support Test & Code : Python Testing for Software Engineering

Links:

<p>pip is the package installer for Python. </p> <p>Often, when you run pip, especially the first time in a new virtual environment, you will see something like:</p> <blockquote> <p>WARNING: You are using pip version 20.1.1; however, version 20.2 is available.<br><br> You should consider upgrading via the &#39;python -m pip install --upgrade pip&#39; command.</p> </blockquote> <p>And you should. Because 20.2 has a new dependency resolver.</p> <p>Get in the habit, until October, of replacing <code>pip install</code> with <code>pip install --use-feature=2020-resolver</code>.<br><br> This flag is new in the 20.2 release.</p> <p>This new pip dependency resolver is the result of a lot of work.<br><br> Five of the people involved with this work are joining the show today: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung. </p> <p>We talk about: </p> <ul> <li>pip dependency resolver changes</li> <li>user experience research and testing</li> <li>crafting good error messages</li> <li>efforts to improve the test suite</li> <li>testing pip with pytest</li> <li>some of the difficulties with testing pip</li> <li>working with a team on a large project</li> <li>working with a large code base</li> <li>bringing new developers into a large project</li> </ul><p>Special Guests: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.</p><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2JDHRTz" rel="nofollow">PyCharm Professional</a>: <a href="https://ift.tt/2JDHRTz" rel="nofollow">Try PyCharm Pro for 4 months and learn how PyCharm will save you time.</a> Promo Code: TESTANDCODE20</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code : Python Testing for Software Engineering</a></p><p>Links:</p><ul><li><a href="https://ift.tt/1lousCZ" title="Changelog — pip 20.2 documentation" rel="nofollow">Changelog — pip 20.2 documentation</a> &mdash; Including --use-feature=2020-resolver</li><li><a href="https://ift.tt/1dWFsM1" title="pypa/pip: The Python package installer" rel="nofollow">pypa/pip: The Python package installer</a> &mdash; github repo</li><li><a href="https://ift.tt/2PfHpA2" title="testing pip - documentation" rel="nofollow">testing pip - documentation</a></li><li><a href="https://ift.tt/1gmce2W" title="pip - The Python Package Installer — pip 20.2 documentation" rel="nofollow">pip - The Python Package Installer — pip 20.2 documentation</a></li><li><a href="https://ift.tt/39U7FcW" title="Changes to the pip dependency resolver in 20.2" rel="nofollow">Changes to the pip dependency resolver in 20.2</a> &mdash; Changes to the pip dependency resolver in 20.2</li></ul>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...