Test & Code

124: pip dependency resolver changes


Listen Later

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:

    • PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22

    Links:

    • Changelog — pip 20.2 documentation — Including --use-feature=2020-resolver
    • pypa/pip: The Python package installer — github repo
    • testing pip - documentation
    • pip - The Python Package Installer — pip 20.2 documentation
    • Changes to the pip dependency resolver in 20.2 — Changes to the pip dependency resolver in 20.2
    ★ Support this podcast on Patreon ★
    ...more
    View all episodesView all episodes
    Download on the App Store

    Test & CodeBy Brian Okken

    • 4.7
    • 4.7
    • 4.7
    • 4.7
    • 4.7

    4.7

    71 ratings


    More shows like Test & Code

    View all
    Hanselminutes with Scott Hanselman by Scott Hanselman

    Hanselminutes with Scott Hanselman

    378 Listeners

    Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

    Software Engineering Radio - the podcast for professional software developers

    262 Listeners

    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    285 Listeners

    Thoughtworks Technology Podcast by Thoughtworks

    Thoughtworks Technology Podcast

    43 Listeners

    Data Skeptic by Kyle Polich

    Data Skeptic

    474 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    585 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    630 Listeners

    The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

    The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

    429 Listeners

    Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

    Super Data Science: ML & AI Podcast with Jon Krohn

    295 Listeners

    Python Bytes by Michael Kennedy and Brian Okken

    Python Bytes

    212 Listeners

    Data Engineering Podcast by Tobias Macey

    Data Engineering Podcast

    142 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    984 Listeners

    Practical AI by Practical AI LLC

    Practical AI

    196 Listeners

    The Stack Overflow Podcast by The Stack Overflow Podcast

    The Stack Overflow Podcast

    63 Listeners

    The Real Python Podcast by Real Python

    The Real Python Podcast

    136 Listeners