Test & Code - Python Testing & Development

124: pip dependency resolver changes

Informações:

Synopsis

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 changesuser experience research and testingcrafting good error messagesefforts to improve the test suitetesting pip with pytestsome of the difficulties with testing pipworking with a team on a large projectworking with a large code basebringing new developers