Test & Code cover image

Test & Code

124: pip dependency resolver changes

Aug 3, 2020
44:16

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:

Links:

★ Support this podcast on Patreon ★

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode