D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
blackhat.pw
:
/
kunden
/
kunden
/
proc
/
thread-self
/
root
/
usr
/
share
/
doc
/
python3-pip
/
html
/
Filename :
news.html
back
Copy
<!doctype html> <html class="no-js" lang="en" data-content_root="./"> <head><meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1"/> <meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="search" title="Search" href="search.html" /><link rel="copyright" title="Copyright" href="copyright.html" /><link rel="prev" title="Improving pip’s Documentation" href="ux-research-design/research-results/improving-pips-documentation.html" /> <!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 --> <title>Changelog - pip documentation v25.1.1</title> <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" /> <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=ad9e2e31" /> <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" /> <link rel="stylesheet" type="text/css" href="_static/tabs.css?v=4c969af8" /> <link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=4aa03575" /> <style> body { --color-code-background: #f8f8f8; --color-code-foreground: black; } @media not print { body[data-theme="dark"] { --color-code-background: #202020; --color-code-foreground: #d0d0d0; } @media (prefers-color-scheme: dark) { body:not([data-theme="light"]) { --color-code-background: #202020; --color-code-foreground: #d0d0d0; } } } </style></head> <body> <script> document.body.dataset.theme = localStorage.getItem("theme") || "auto"; </script> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <symbol id="svg-toc" viewBox="0 0 24 24"> <title>Contents</title> <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024"> <path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line> <line x1="3" y1="6" x2="21" y2="6"></line> <line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <symbol id="svg-sun" viewBox="0 0 24 24"> <title>Light mode</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather-sun"> <circle cx="12" cy="12" r="5"></circle> <line x1="12" y1="1" x2="12" y2="3"></line> <line x1="12" y1="21" x2="12" y2="23"></line> <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> <line x1="1" y1="12" x2="3" y2="12"></line> <line x1="21" y1="12" x2="23" y2="12"></line> <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> </svg> </symbol> <symbol id="svg-moon" viewBox="0 0 24 24"> <title>Dark mode</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon"> <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" /> </svg> </symbol> <symbol id="svg-sun-with-moon" viewBox="0 0 24 24"> <title>Auto light/dark, in light mode</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-custom-derived-from-feather-sun-and-tabler-moon"> <path style="opacity: 50%" d="M 5.411 14.504 C 5.471 14.504 5.532 14.504 5.591 14.504 C 3.639 16.319 4.383 19.569 6.931 20.352 C 7.693 20.586 8.512 20.551 9.25 20.252 C 8.023 23.207 4.056 23.725 2.11 21.184 C 0.166 18.642 1.702 14.949 4.874 14.536 C 5.051 14.512 5.231 14.5 5.411 14.5 L 5.411 14.504 Z"/> <line x1="14.5" y1="3.25" x2="14.5" y2="1.25"/> <line x1="14.5" y1="15.85" x2="14.5" y2="17.85"/> <line x1="10.044" y1="5.094" x2="8.63" y2="3.68"/> <line x1="19" y1="14.05" x2="20.414" y2="15.464"/> <line x1="8.2" y1="9.55" x2="6.2" y2="9.55"/> <line x1="20.8" y1="9.55" x2="22.8" y2="9.55"/> <line x1="10.044" y1="14.006" x2="8.63" y2="15.42"/> <line x1="19" y1="5.05" x2="20.414" y2="3.636"/> <circle cx="14.5" cy="9.55" r="3.6"/> </svg> </symbol> <symbol id="svg-moon-with-sun" viewBox="0 0 24 24"> <title>Auto light/dark, in dark mode</title> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-custom-derived-from-feather-sun-and-tabler-moon"> <path d="M 8.282 7.007 C 8.385 7.007 8.494 7.007 8.595 7.007 C 5.18 10.184 6.481 15.869 10.942 17.24 C 12.275 17.648 13.706 17.589 15 17.066 C 12.851 22.236 5.91 23.143 2.505 18.696 C -0.897 14.249 1.791 7.786 7.342 7.063 C 7.652 7.021 7.965 7 8.282 7 L 8.282 7.007 Z"/> <line style="opacity: 50%" x1="18" y1="3.705" x2="18" y2="2.5"/> <line style="opacity: 50%" x1="18" y1="11.295" x2="18" y2="12.5"/> <line style="opacity: 50%" x1="15.316" y1="4.816" x2="14.464" y2="3.964"/> <line style="opacity: 50%" x1="20.711" y1="10.212" x2="21.563" y2="11.063"/> <line style="opacity: 50%" x1="14.205" y1="7.5" x2="13.001" y2="7.5"/> <line style="opacity: 50%" x1="21.795" y1="7.5" x2="23" y2="7.5"/> <line style="opacity: 50%" x1="15.316" y1="10.184" x2="14.464" y2="11.036"/> <line style="opacity: 50%" x1="20.711" y1="4.789" x2="21.563" y2="3.937"/> <circle style="opacity: 50%" cx="18" cy="7.5" r="2.169"/> </svg> </symbol> <symbol id="svg-pencil" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-pencil-code"> <path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /> <path d="M13.5 6.5l4 4" /> <path d="M20 21l2 -2l-2 -2" /> <path d="M17 17l-2 2l2 2" /> </svg> </symbol> <symbol id="svg-eye" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-eye-code"> <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /> <path d="M11.11 17.958c-3.209 -.307 -5.91 -2.293 -8.11 -5.958c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6c-.21 .352 -.427 .688 -.647 1.008" /> <path d="M20 21l2 -2l-2 -2" /> <path d="M17 17l-2 2l2 2" /> </svg> </symbol> </svg> <input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation"> <input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc"> <label class="overlay sidebar-overlay" for="__navigation"> <div class="visually-hidden">Hide navigation sidebar</div> </label> <label class="overlay toc-overlay" for="__toc"> <div class="visually-hidden">Hide table of contents sidebar</div> </label> <a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a> <div class="page"> <header class="mobile-header"> <div class="header-left"> <label class="nav-overlay-icon" for="__navigation"> <div class="visually-hidden">Toggle site navigation sidebar</div> <i class="icon"><svg><use href="#svg-menu"></use></svg></i> </label> </div> <div class="header-center"> <a href="index.html"><div class="brand">pip documentation v25.1.1</div></a> </div> <div class="header-right"> <div class="theme-toggle-container theme-toggle-header"> <button class="theme-toggle"> <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div> <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg> <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg> <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg> <svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg> </button> </div> <label class="toc-overlay-icon toc-header-icon" for="__toc"> <div class="visually-hidden">Toggle table of contents sidebar</div> <i class="icon"><svg><use href="#svg-toc"></use></svg></i> </label> </div> </header> <aside class="sidebar-drawer"> <div class="sidebar-container"> <div class="sidebar-sticky"><a class="sidebar-brand" href="index.html"> <span class="sidebar-brand-text">pip documentation v25.1.1</span> </a><form class="sidebar-search-container" method="get" action="search.html" role="search"> <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search"> <input type="hidden" name="check_keywords" value="yes"> <input type="hidden" name="area" value="default"> </form> <div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree"> <ul> <li class="toctree-l1"><a class="reference internal" href="getting-started.html">Getting Started</a></li> <li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li> <li class="toctree-l1"><a class="reference internal" href="user_guide.html">User Guide</a></li> <li class="toctree-l1 has-children"><a class="reference internal" href="topics/index.html">Topic Guides</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of Topic Guides</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l2"><a class="reference internal" href="topics/authentication.html">Authentication</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/caching.html">Caching</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/configuration.html">Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/dependency-resolution.html">Dependency Resolution</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/more-dependency-resolution.html">More on Dependency Resolution</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/https-certificates.html">HTTPS Certificates</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/local-project-installs.html">Local project installs</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/repeatable-installs.html">Repeatable Installs</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/secure-installs.html">Secure installs</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/vcs-support.html">VCS Support</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/python-option.html">Managing a different Python interpreter</a></li> <li class="toctree-l2"><a class="reference internal" href="topics/workflow.html">Pip is not a workflow management tool</a></li> </ul> </li> <li class="toctree-l1 has-children"><a class="reference internal" href="reference/index.html">Reference</a><input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" role="switch" type="checkbox"/><label for="toctree-checkbox-2"><div class="visually-hidden">Toggle navigation of Reference</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l2 has-children"><a class="reference internal" href="reference/build-system/index.html">Build System Interface</a><input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" role="switch" type="checkbox"/><label for="toctree-checkbox-3"><div class="visually-hidden">Toggle navigation of Build System Interface</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l3"><a class="reference internal" href="reference/build-system/pyproject-toml.html"><code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code></a></li> <li class="toctree-l3"><a class="reference internal" href="reference/build-system/setup-py.html"><code class="docutils literal notranslate"><span class="pre">setup.py</span></code> (legacy)</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="reference/requirement-specifiers.html">Requirement Specifiers</a></li> <li class="toctree-l2"><a class="reference internal" href="reference/requirements-file-format.html">Requirements File Format</a></li> <li class="toctree-l2"><a class="reference internal" href="reference/installation-report.html">Installation Report</a></li> <li class="toctree-l2"><a class="reference internal" href="reference/inspect-report.html"><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">inspect</span></code> JSON output specification</a></li> </ul> </li> <li class="toctree-l1 has-children"><a class="reference internal" href="cli/index.html">Commands</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" role="switch" type="checkbox"/><label for="toctree-checkbox-4"><div class="visually-hidden">Toggle navigation of Commands</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l2"><a class="reference internal" href="cli/pip.html">pip</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_install.html">pip install</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_uninstall.html">pip uninstall</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_inspect.html">pip inspect</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_list.html">pip list</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_show.html">pip show</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_freeze.html">pip freeze</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_check.html">pip check</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_lock.html">pip lock</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_download.html">pip download</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_wheel.html">pip wheel</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_hash.html">pip hash</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_search.html">pip search</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_index.html">pip index</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_cache.html">pip cache</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_config.html">pip config</a></li> <li class="toctree-l2"><a class="reference internal" href="cli/pip_debug.html">pip debug</a></li> </ul> </li> </ul> <p class="caption" role="heading"><span class="caption-text">Project</span></p> <ul class="current"> <li class="toctree-l1 has-children"><a class="reference internal" href="development/index.html">Development</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" role="switch" type="checkbox"/><label for="toctree-checkbox-5"><div class="visually-hidden">Toggle navigation of Development</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l2"><a class="reference internal" href="development/getting-started.html">Getting Started</a></li> <li class="toctree-l2"><a class="reference internal" href="development/contributing.html">Contributing</a></li> <li class="toctree-l2"><a class="reference internal" href="development/ci.html">Continuous Integration</a></li> <li class="toctree-l2"><a class="reference internal" href="development/issue-triage.html">Issue Triage</a></li> <li class="toctree-l2 has-children"><a class="reference internal" href="development/architecture/index.html">Architecture of pip’s internals</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Architecture of pip’s internals</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l3"><a class="reference internal" href="development/architecture/overview.html">Broad functionality overview</a></li> <li class="toctree-l3"><a class="reference internal" href="development/architecture/anatomy.html">Repository anatomy & directory structure</a></li> <li class="toctree-l3"><a class="reference internal" href="development/architecture/configuration-files.html">Configuration File Handling</a></li> <li class="toctree-l3"><a class="reference internal" href="development/architecture/package-finding.html">Finding and choosing files (<code class="docutils literal notranslate"><span class="pre">index</span></code> and <code class="docutils literal notranslate"><span class="pre">PackageFinder</span></code>)</a></li> <li class="toctree-l3"><a class="reference internal" href="development/architecture/command-line-interface.html">Command Line Interface</a></li> <li class="toctree-l3"><a class="reference internal" href="development/architecture/upgrade-options.html">Options that control the installation process</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="development/release-process.html">Release process</a></li> <li class="toctree-l2"><a class="reference internal" href="development/vendoring-policy.html">Vendoring Policy</a></li> </ul> </li> <li class="toctree-l1 has-children"><a class="reference internal" href="ux-research-design/index.html">UX Research & Design</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle navigation of UX Research & Design</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l2"><a class="reference internal" href="ux-research-design/contribute.html">How to Contribute</a></li> <li class="toctree-l2"><a class="reference internal" href="ux-research-design/guidance.html">UX Guidance</a></li> <li class="toctree-l2 has-children"><a class="reference internal" href="ux-research-design/research-results/index.html">UX Research Results</a><input class="toctree-checkbox" id="toctree-checkbox-8" name="toctree-checkbox-8" role="switch" type="checkbox"/><label for="toctree-checkbox-8"><div class="visually-hidden">Toggle navigation of UX Research Results</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/about-our-users.html">About pip’s Users</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/mental-models.html">How Users Understand pip</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/users-and-security.html">How pip users think about security</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/ci-cd.html">How pip is used in interactive environments (i.e. CI, CD)</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/personas.html">pip Personas</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/prioritizing-features.html">Prioritizing pip Features</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/override-conflicting-dependencies.html">Providing an override to install packages with conflicting dependencies</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/pip-force-reinstall.html">pip --force-reinstall</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/pip-search.html">pip search</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/pip-upgrade-conflict.html">pip Upgrade Conflict</a></li> <li class="toctree-l3"><a class="reference internal" href="ux-research-design/research-results/improving-pips-documentation.html">Improving pip’s Documentation</a></li> </ul> </li> </ul> </li> <li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Changelog</a></li> <li class="toctree-l1"><a class="reference external" href="https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> <li class="toctree-l1"><a class="reference external" href="https://github.com/pypa/pip">GitHub</a></li> </ul> </div> </div> </div> </div> </aside> <div class="main"> <div class="content"> <div class="article-container"> <a href="#" class="back-to-top muted-link"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path> </svg> <span>Back to top</span> </a> <div class="content-icon-container"> <div class="view-this-page"> <a class="muted-link" href="_sources/news.rst.txt" title="View this page"> <svg><use href="#svg-eye"></use></svg> <span class="visually-hidden">View this page</span> </a> </div> <div class="theme-toggle-container theme-toggle-content"> <button class="theme-toggle"> <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div> <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg> <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg> <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg> <svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg> </button> </div> <label class="toc-overlay-icon toc-content-icon" for="__toc"> <div class="visually-hidden">Toggle table of contents sidebar</div> <i class="icon"><svg><use href="#svg-toc"></use></svg></i> </label> </div> <article role="main" id="furo-main-content"> <section id="changelog"> <h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading">¶</a></h1> <div class="admonition attention"> <p class="admonition-title">Attention</p> <p>Major and minor releases of pip also include changes listed within prior beta releases.</p> </div> <section id="v25-1-1"> <span id="id1"></span><h2>25.1.1 (2025-05-02)<a class="headerlink" href="#v25-1-1" title="Link to this heading">¶</a></h2> <section id="bug-fixes"> <h3>Bug Fixes<a class="headerlink" href="#bug-fixes" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">req.source_dir</span></code> AssertionError when using the legacy resolver. (<a class="reference external" href="https://github.com/pypa/pip/issues/13353">#13353</a>)</p></li> <li><p>Fix crash on Python 3.9.6 and lower when pip failed to compile a Python module during installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/13364">#13364</a>)</p></li> <li><p>Names in dependency group includes are now normalized before lookup, which fixes incorrect <code class="docutils literal notranslate"><span class="pre">Dependency</span> <span class="pre">group</span> <span class="pre">'...'</span> <span class="pre">not</span> <span class="pre">found</span></code> errors. (<a class="reference external" href="https://github.com/pypa/pip/issues/13372">#13372</a>)</p></li> </ul> </section> <section id="vendored-libraries"> <h3>Vendored Libraries<a class="headerlink" href="#vendored-libraries" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix issues with using tomllib from the stdlib if available, rather than tomli</p></li> <li><p>Upgrade dependency-groups to 1.3.1</p></li> </ul> </section> </section> <section id="v25-1"> <span id="id5"></span><h2>25.1 (2025-04-26)<a class="headerlink" href="#v25-1" title="Link to this heading">¶</a></h2> <section id="deprecations-and-removals"> <h3>Deprecations and Removals<a class="headerlink" href="#deprecations-and-removals" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop support for Python 3.8. (<a class="reference external" href="https://github.com/pypa/pip/issues/12989">#12989</a>)</p></li> <li><p>On python 3.14+, the <code class="docutils literal notranslate"><span class="pre">pkg_resources</span></code> metadata backend cannot be used anymore. (<a class="reference external" href="https://github.com/pypa/pip/issues/13010">#13010</a>)</p></li> <li><p>Hide <code class="docutils literal notranslate"><span class="pre">--no-python-version-warning</span></code> from CLI help and documentation as it’s useless since Python 2 support was removed. Despite being formerly slated for removal, the flag will remain as a no-op to avoid breakage. (<a class="reference external" href="https://github.com/pypa/pip/issues/13303">#13303</a>)</p></li> <li><p>A warning is emitted when the deprecated <code class="docutils literal notranslate"><span class="pre">pkg_resources</span></code> library is used to inspect and discover installed packages. This warning should only be visible to users who set an undocumented environment variable to disable the default <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> backend. (<a class="reference external" href="https://github.com/pypa/pip/issues/13318">#13318</a>)</p></li> <li><p>Deprecate the legacy <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">bdist_wheel</span></code> mechanism. To silence the warning, and future-proof their setup, users should enable <code class="docutils literal notranslate"><span class="pre">--use-pep517</span></code> or add a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> file to the projects they control. (<a class="reference external" href="https://github.com/pypa/pip/issues/13319">#13319</a>)</p></li> </ul> </section> <section id="features"> <h3>Features<a class="headerlink" href="#features" title="Link to this heading">¶</a></h3> <ul> <li><p>Suggest checking “pip config debug” in case of an InvalidProxyURL error. (<a class="reference external" href="https://github.com/pypa/pip/issues/12649">#12649</a>)</p></li> <li><p>Using <code class="docutils literal notranslate"><span class="pre">--debug</span></code> also enables verbose logging. (<a class="reference external" href="https://github.com/pypa/pip/issues/12710">#12710</a>)</p></li> <li><p>Display a transient progress bar during package installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/12712">#12712</a>)</p></li> <li><p>Minor performance improvement when installing packages with a large number of dependencies by increasing the requirement string cache size. (<a class="reference external" href="https://github.com/pypa/pip/issues/12873">#12873</a>)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--group</span></code> option which allows installation from <span class="target" id="index-0"></span><a class="pep reference external" href="https://peps.python.org/pep-0735/"><strong>PEP 735</strong></a> Dependency Groups. <code class="docutils literal notranslate"><span class="pre">--group</span></code> accepts arguments of the form <code class="docutils literal notranslate"><span class="pre">group</span></code> or <code class="docutils literal notranslate"><span class="pre">path:group</span></code>, where the default path is <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>, and installs the named Dependency Group from the provided <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> file. (<a class="reference external" href="https://github.com/pypa/pip/issues/12963">#12963</a>)</p></li> <li><p>Add support to enable resuming incomplete downloads.</p> <p>Control the number of retry attempts using the <code class="docutils literal notranslate"><span class="pre">--resume-retries</span></code> flag. (<a class="reference external" href="https://github.com/pypa/pip/issues/12991">#12991</a>)</p> </li> <li><p>Use <span class="target" id="index-1"></span><a class="pep reference external" href="https://peps.python.org/pep-0753/"><strong>PEP 753</strong></a> “Well-known Project URLs in Metadata” normalization rules when identifying an equivalent project URL to replace a missing <code class="docutils literal notranslate"><span class="pre">Home-Page</span></code> field in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/13135">#13135</a>)</p></li> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">experimental</span></code> warning from <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">index</span> <span class="pre">versions</span></code> command. (<a class="reference external" href="https://github.com/pypa/pip/issues/13188">#13188</a>)</p></li> <li><p>Add a structured <code class="docutils literal notranslate"><span class="pre">--json</span></code> output to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">index</span> <span class="pre">versions</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/13194">#13194</a>)</p></li> <li><p>Add a new, <em>experimental</em>, <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">lock</span></code> command, implementing <span class="target" id="index-2"></span><a class="pep reference external" href="https://peps.python.org/pep-0751/"><strong>PEP 751</strong></a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/13213">#13213</a>)</p></li> <li><p>Speed up resolution by first only considering the preference of candidates that must be required to complete the resolution. (<a class="reference external" href="https://github.com/pypa/pip/issues/13253">#13253</a>)</p></li> <li><p>Improved heuristics for determining the order of dependency resolution. (<a class="reference external" href="https://github.com/pypa/pip/issues/13273">#13273</a>)</p></li> <li><p>Provide hint, documentation, and link to the documentation when resolution too deep error occurs. (<a class="reference external" href="https://github.com/pypa/pip/issues/13282">#13282</a>)</p></li> <li><p>Include traceback on failure to import <code class="docutils literal notranslate"><span class="pre">setuptools</span></code> when <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> is being invoked directly. (<a class="reference external" href="https://github.com/pypa/pip/issues/13290">#13290</a>)</p></li> <li><p>Support for <span class="target" id="index-3"></span><a class="pep reference external" href="https://peps.python.org/pep-0738/"><strong>PEP 738</strong></a> Android wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/13299">#13299</a>)</p></li> <li><p>Display wheel build tag in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> columns output if set. (<a class="reference external" href="https://github.com/pypa/pip/issues/5210">#5210</a>)</p></li> <li><p>Build environment dependencies are no longer compiled to bytecode during installation for a minor performance improvement. (<a class="reference external" href="https://github.com/pypa/pip/issues/7294">#7294</a>)</p></li> </ul> </section> <section id="id28"> <h3>Bug Fixes<a class="headerlink" href="#id28" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>When using the <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> backend (the default on Python 3.11+), <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> does not show installed egg distributions more than once anymore. Additionally, egg distributions whose parent directory was in <code class="docutils literal notranslate"><span class="pre">sys.path</span></code> but the egg themselves were not in <code class="docutils literal notranslate"><span class="pre">sys.path</span></code> are not detected anymore. (<a class="reference external" href="https://github.com/pypa/pip/issues/12308">#12308</a>)</p></li> <li><p>Disable Git and SSH prompts when <code class="docutils literal notranslate"><span class="pre">--no-input</span></code> is passed. (<a class="reference external" href="https://github.com/pypa/pip/issues/12718">#12718</a>)</p></li> <li><p>Gracefully handle Windows registry access errors while guessing the MIME type of a file. (<a class="reference external" href="https://github.com/pypa/pip/issues/12769">#12769</a>)</p></li> <li><p>Support multiple global configuration paths returned by <code class="docutils literal notranslate"><span class="pre">platformdirs</span></code> on MacOS. (<a class="reference external" href="https://github.com/pypa/pip/issues/12903">#12903</a>)</p></li> <li><p>Resolvelib 1.1.0 fixes a known issue where pip would report a ResolutionImpossible error even though there is a valid solution. However, some very complex dependency resolutions that previously resolved may resolve slower or fail with an ResolutionTooDeep error. (<a class="reference external" href="https://github.com/pypa/pip/issues/13001">#13001</a>)</p></li> <li><p>Show the correct path to the interpreter also when it’s a symlink in a venv in the pip upgrade prompt. (<a class="reference external" href="https://github.com/pypa/pip/issues/13156">#13156</a>)</p></li> <li><p>Parse wheel filenames according to <a class="reference external" href="https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-format">binary distribution format specification</a>. When a filename doesn’t match the spec a deprecation warning is emitted and the filename is parsed using the old method. (<a class="reference external" href="https://github.com/pypa/pip/issues/13229">#13229</a>)</p></li> <li><p>While resolving dependencies prefer if any of the known requirements are “direct”, e.g. points to an explicit URL. (<a class="reference external" href="https://github.com/pypa/pip/issues/13244">#13244</a>)</p></li> <li><p>When choosing a preferred requirement for resolving dependencies do not consider a specifier with a * in it, e.g. “==1.*”, to be a pinned specifier. (<a class="reference external" href="https://github.com/pypa/pip/issues/13252">#13252</a>)</p></li> <li><p>Fix a regression that causes dependencies to be checked <em>before</em> <code class="docutils literal notranslate"><span class="pre">Requires-Python</span></code> project metadata is checked, leading to wasted cycles when the Python version is unsupported. (<a class="reference external" href="https://github.com/pypa/pip/issues/13270">#13270</a>)</p></li> <li><p>Don’t require the <code class="docutils literal notranslate"><span class="pre">wheel</span></code> library to be installed to use <code class="docutils literal notranslate"><span class="pre">--no-use-pep517</span></code>, any more. (<a class="reference external" href="https://github.com/pypa/pip/issues/13330">#13330</a>)</p></li> <li><p>Fix regression that suppressed errors indicating which packages were ignored due to incompatible <code class="docutils literal notranslate"><span class="pre">requires-python</span></code> metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/13333">#13333</a>)</p></li> <li><p>Fix fish shell completion when commandline contains multiple commands. (<a class="reference external" href="https://github.com/pypa/pip/issues/9727">#9727</a>)</p></li> </ul> </section> <section id="id42"> <h3>Vendored Libraries<a class="headerlink" href="#id42" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade CacheControl to 0.14.2</p></li> <li><p>Upgrade certifi to 2025.1.31</p></li> <li><p>Upgrade packaging to 25.0</p></li> <li><p>Upgrade platformdirs to 4.3.7</p></li> <li><p>Upgrade pygments to 2.19.1</p></li> <li><p>Upgrade resolvelib to 1.1.0.</p></li> <li><p>Upgrade rich to 14.0.0</p></li> <li><p>Vendor tomli-w 1.2.0</p></li> <li><p>Upgrade truststore to 0.10.1</p></li> <li><p>Upgrade typing_extensions to 4.13.2</p></li> </ul> </section> <section id="improved-documentation"> <h3>Improved Documentation<a class="headerlink" href="#improved-documentation" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Added support for building only the man pages with minimal dependencies using the sphinx-build <code class="docutils literal notranslate"><span class="pre">--tag</span> <span class="pre">man</span></code> option. This enables distributors to generate man pages without requiring HTML documentation dependencies. (<a class="reference external" href="https://github.com/pypa/pip/issues/13168">#13168</a>)</p></li> </ul> </section> </section> <section id="v25-0-1"> <span id="id44"></span><h2>25.0.1 (2025-02-09)<a class="headerlink" href="#v25-0-1" title="Link to this heading">¶</a></h2> <section id="id45"> <h3>Bug Fixes<a class="headerlink" href="#id45" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix an unsupported type annotation on Python 3.10 and earlier. (<a class="reference external" href="https://github.com/pypa/pip/issues/13181">#13181</a>)</p></li> <li><p>Fix a regression where truststore would never be used while installing build dependencies. (<a class="reference external" href="https://github.com/pypa/pip/issues/13186">#13186</a>)</p></li> </ul> </section> </section> <section id="v25-0"> <span id="id48"></span><h2>25.0 (2025-01-26)<a class="headerlink" href="#v25-0" title="Link to this heading">¶</a></h2> <section id="id49"> <h3>Deprecations and Removals<a class="headerlink" href="#id49" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate the <code class="docutils literal notranslate"><span class="pre">no-python-version-warning</span></code> flag as it has long done nothing since Python 2 support was removed in pip 21.0. (<a class="reference external" href="https://github.com/pypa/pip/issues/13154">#13154</a>)</p></li> </ul> </section> <section id="id51"> <h3>Features<a class="headerlink" href="#id51" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Prefer to display <span class="target" id="index-4"></span><a class="pep reference external" href="https://peps.python.org/pep-0639/"><strong>PEP 639</strong></a> <code class="docutils literal notranslate"><span class="pre">License-Expression</span></code> in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> if metadata version is at least 2.4. (<a class="reference external" href="https://github.com/pypa/pip/issues/13112">#13112</a>)</p></li> <li><p>Support <span class="target" id="index-5"></span><a class="pep reference external" href="https://peps.python.org/pep-0639/"><strong>PEP 639</strong></a> <code class="docutils literal notranslate"><span class="pre">License-Expression</span></code> and <code class="docutils literal notranslate"><span class="pre">License-File</span></code> metadata fields in JSON output. <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">inspect</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--report</span></code> now emit <code class="docutils literal notranslate"><span class="pre">license_expression</span></code> and <code class="docutils literal notranslate"><span class="pre">license_file</span></code> fields in the <code class="docutils literal notranslate"><span class="pre">metadata</span></code> object, if the corresponding fields are present in the installed <code class="docutils literal notranslate"><span class="pre">METADATA</span></code> file. (<a class="reference external" href="https://github.com/pypa/pip/issues/13134">#13134</a>)</p></li> <li><p>Files in the network cache will inherit the read/write permissions of pip’s cache directory (in addition to the current user retaining read/write access). This enables a single cache to be shared among multiple users. (<a class="reference external" href="https://github.com/pypa/pip/issues/11012">#11012</a>)</p></li> <li><p>Return the size, along with the number, of files cleared on <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">purge</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">remove</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/12176">#12176</a>)</p></li> <li><p>Cache <code class="docutils literal notranslate"><span class="pre">python-requires</span></code> checks while filtering potential installation candidates. (<a class="reference external" href="https://github.com/pypa/pip/issues/13128">#13128</a>)</p></li> <li><p>Optimize package collection by avoiding unnecessary URL parsing and other processing. (<a class="reference external" href="https://github.com/pypa/pip/issues/13132">#13132</a>)</p></li> </ul> </section> <section id="id58"> <h3>Bug Fixes<a class="headerlink" href="#id58" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Reorder the encoding detection when decoding a requirements file, relying on UTF-8 over the locale encoding by default, matching the documented behaviour. (<a class="reference external" href="https://github.com/pypa/pip/issues/12771">#12771</a>)</p></li> <li><p>The pip version self check is disabled on <code class="docutils literal notranslate"><span class="pre">EXTERNALLY-MANAGED</span></code> environments. (<a class="reference external" href="https://github.com/pypa/pip/issues/11820">#11820</a>)</p></li> <li><p>Fix a security bug allowing a specially crafted wheel to execute code during installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/13079">#13079</a>)</p></li> <li><p>The inclusion of <code class="docutils literal notranslate"><span class="pre">packaging</span></code> 24.2 changes how pre-release specifiers with <code class="docutils literal notranslate"><span class="pre"><</span></code> and <code class="docutils literal notranslate"><span class="pre">></span></code> behave. Including a pre-release version with these specifiers now implies accepting pre-releases (e.g., <code class="docutils literal notranslate"><span class="pre"><2.0dev</span></code> can include <code class="docutils literal notranslate"><span class="pre">1.0rc1</span></code>). To avoid implying pre-releases, avoid specifying them (e.g., use <code class="docutils literal notranslate"><span class="pre"><2.0</span></code>). The exception is <code class="docutils literal notranslate"><span class="pre">!=</span></code>, which never implies pre-releases. (<a class="reference external" href="https://github.com/pypa/pip/issues/13163">#13163</a>)</p></li> <li><p>The <code class="docutils literal notranslate"><span class="pre">--cert</span></code> and <code class="docutils literal notranslate"><span class="pre">--client-cert</span></code> command-line options are now respected while installing build dependencies. Consequently, the private <code class="docutils literal notranslate"><span class="pre">_PIP_STANDALONE_CERT</span></code> environment variable is no longer used. (<a class="reference external" href="https://github.com/pypa/pip/issues/5502">#5502</a>)</p></li> <li><p>The <code class="docutils literal notranslate"><span class="pre">--proxy</span></code> command-line option is now respected while installing build dependencies. (<a class="reference external" href="https://github.com/pypa/pip/issues/6018">#6018</a>)</p></li> </ul> </section> <section id="id65"> <h3>Vendored Libraries<a class="headerlink" href="#id65" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade CacheControl to 0.14.1</p></li> <li><p>Upgrade idna to 3.10</p></li> <li><p>Upgrade msgpack to 1.1.0</p></li> <li><p>Upgrade packaging to 24.2</p></li> <li><p>Upgrade platformdirs to 4.3.6</p></li> <li><p>Upgrade pyproject-hooks to 1.2.0</p></li> <li><p>Upgrade rich to 13.9.4</p></li> <li><p>Upgrade tomli to 2.2.1</p></li> </ul> </section> <section id="id66"> <h3>Improved Documentation<a class="headerlink" href="#id66" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Removed section about non-existing <code class="docutils literal notranslate"><span class="pre">--force-keyring</span></code> flag. (<a class="reference external" href="https://github.com/pypa/pip/issues/12455">#12455</a>)</p></li> </ul> </section> <section id="process"> <h3>Process<a class="headerlink" href="#process" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Started releasing to PyPI from a GitHub Actions CI/CD workflow that implements trusted publishing and bundles <span class="target" id="index-6"></span><a class="pep reference external" href="https://peps.python.org/pep-0740/"><strong>PEP 740</strong></a> digital attestations.</p></li> </ul> </section> </section> <section id="v24-3-1"> <span id="id68"></span><h2>24.3.1 (2024-10-27)<a class="headerlink" href="#v24-3-1" title="Link to this heading">¶</a></h2> <section id="id69"> <h3>Bug Fixes<a class="headerlink" href="#id69" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Allow multiple nested inclusions of the same requirements file again. (<a class="reference external" href="https://github.com/pypa/pip/issues/13046">#13046</a>)</p></li> </ul> </section> </section> <section id="v24-3"> <span id="id71"></span><h2>24.3 (2024-10-27)<a class="headerlink" href="#v24-3" title="Link to this heading">¶</a></h2> <section id="id72"> <h3>Deprecations and Removals<a class="headerlink" href="#id72" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate wheel filenames that are not compliant with <span class="target" id="index-7"></span><a class="pep reference external" href="https://peps.python.org/pep-0440/"><strong>PEP 440</strong></a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12918">#12918</a>)</p></li> </ul> </section> <section id="id74"> <h3>Features<a class="headerlink" href="#id74" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Detect recursively referencing requirements files and help users identify the source. (<a class="reference external" href="https://github.com/pypa/pip/issues/12653">#12653</a>)</p></li> <li><p>Support for <span class="target" id="index-8"></span><a class="pep reference external" href="https://peps.python.org/pep-0730/"><strong>PEP 730</strong></a> iOS wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/12961">#12961</a>)</p></li> </ul> </section> <section id="id77"> <h3>Bug Fixes<a class="headerlink" href="#id77" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Display a better error message when an already installed package has an invalid requirement. (<a class="reference external" href="https://github.com/pypa/pip/issues/12953">#12953</a>)</p></li> <li><p>Ignore <code class="docutils literal notranslate"><span class="pre">PIP_TARGET</span></code> and <code class="docutils literal notranslate"><span class="pre">pip.conf</span></code> <code class="docutils literal notranslate"><span class="pre">global.target</span></code> when preparing a build environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/8438">#8438</a>)</p></li> <li><p>Restore support for macOS 10.12 and older (via truststore). (<a class="reference external" href="https://github.com/pypa/pip/issues/12901">#12901</a>)</p></li> <li><p>Allow installing pip in editable mode in a virtual environment on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/12666">#12666</a>)</p></li> </ul> </section> <section id="id82"> <h3>Vendored Libraries<a class="headerlink" href="#id82" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2024.8.30</p></li> <li><p>Upgrade distlib to 0.3.9</p></li> <li><p>Upgrade truststore to 0.10.0</p></li> <li><p>Upgrade urllib3 to 1.26.20</p></li> </ul> </section> </section> <section id="v24-2"> <span id="id83"></span><h2>24.2 (2024-07-28)<a class="headerlink" href="#v24-2" title="Link to this heading">¶</a></h2> <section id="id84"> <h3>Deprecations and Removals<a class="headerlink" href="#id84" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--editable</span></code> falling back to <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">develop</span></code> when using a setuptools version that does not support <span class="target" id="index-9"></span><a class="pep reference external" href="https://peps.python.org/pep-0660/"><strong>PEP 660</strong></a> (setuptools v63 and older). (<a class="reference external" href="https://github.com/pypa/pip/issues/11457">#11457</a>)</p></li> </ul> </section> <section id="id86"> <h3>Features<a class="headerlink" href="#id86" title="Link to this heading">¶</a></h3> <ul> <li><p>Check unsupported packages for the current platform. (<a class="reference external" href="https://github.com/pypa/pip/issues/11054">#11054</a>)</p></li> <li><p>Use system certificates <em>and</em> certifi certificates to verify HTTPS connections on Python 3.10+. Python 3.9 and earlier only use certifi.</p> <p>To revert to previous behaviour, pass the flag <code class="docutils literal notranslate"><span class="pre">--use-deprecated=legacy-certs</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11647">#11647</a>)</p> </li> <li><p>Improve discovery performance of installed packages when the <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> backend is used to load distribution metadata (used by default under Python 3.11+). (<a class="reference external" href="https://github.com/pypa/pip/issues/12656">#12656</a>)</p></li> <li><p>Improve performance when the same requirement string appears many times during resolution, by consistently caching the parsed requirement string. (<a class="reference external" href="https://github.com/pypa/pip/issues/12663">#12663</a>)</p></li> <li><p>Minor performance improvement of finding applicable package candidates by not repeatedly calculating their versions (<a class="reference external" href="https://github.com/pypa/pip/issues/12664">#12664</a>)</p></li> <li><p>Disable pip’s self version check when invoking a pip subprocess to install PEP 517 build requirements. (<a class="reference external" href="https://github.com/pypa/pip/issues/12683">#12683</a>)</p></li> <li><p>Improve dependency resolution performance by caching platform compatibility tags during wheel cache lookup. (<a class="reference external" href="https://github.com/pypa/pip/issues/12712">#12712</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">wheel</span></code> is no longer explicitly listed as a build dependency of <code class="docutils literal notranslate"><span class="pre">pip</span></code>. <code class="docutils literal notranslate"><span class="pre">setuptools</span></code> injects this dependency in the <code class="docutils literal notranslate"><span class="pre">get_requires_for_build_wheel()</span></code> hook and no longer needs it on newer versions. (<a class="reference external" href="https://github.com/pypa/pip/issues/12728">#12728</a>)</p></li> <li><p>Ignore <code class="docutils literal notranslate"><span class="pre">--require-virtualenv</span></code> for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">check</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/12842">#12842</a>)</p></li> <li><p>Improve package download and install performance.</p> <p>Increase chunk sizes when downloading (256 kB, up from 10 kB) and reading files (1 MB, up from 8 kB). This reduces the frequency of updates to pip’s progress bar. (<a class="reference external" href="https://github.com/pypa/pip/issues/12810">#12810</a>)</p> </li> <li><p>Improve pip install performance.</p> <p>Files are now extracted in 1MB blocks, or in one block matching the file size for smaller files. A decompressor is no longer instantiated when extracting 0 bytes files, it is not necessary because there is no data to decompress. (<a class="reference external" href="https://github.com/pypa/pip/issues/12803">#12803</a>)</p> </li> </ul> </section> <section id="id98"> <h3>Bug Fixes<a class="headerlink" href="#id98" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Set <code class="docutils literal notranslate"><span class="pre">no_color</span></code> to global <code class="docutils literal notranslate"><span class="pre">rich.Console</span></code> instance. (<a class="reference external" href="https://github.com/pypa/pip/issues/11045">#11045</a>)</p></li> <li><p>Fix resolution to respect <code class="docutils literal notranslate"><span class="pre">--python-version</span></code> when checking <code class="docutils literal notranslate"><span class="pre">Requires-Python</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12216">#12216</a>)</p></li> <li><p>Perform hash comparisons in a case-insensitive manner. (<a class="reference external" href="https://github.com/pypa/pip/issues/12680">#12680</a>)</p></li> <li><p>Avoid <code class="docutils literal notranslate"><span class="pre">dlopen</span></code> failure for glibc detection in musl builds (<a class="reference external" href="https://github.com/pypa/pip/issues/12716">#12716</a>)</p></li> <li><p>Avoid keyring logging crashes when pip is run in verbose mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/12751">#12751</a>)</p></li> <li><p>Fix finding hardlink targets in tar files with an ignored top-level directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/12781">#12781</a>)</p></li> <li><p>Improve pip install performance by only creating required parent directories once, instead of before extracting every file in the wheel. (<a class="reference external" href="https://github.com/pypa/pip/issues/12782">#12782</a>)</p></li> <li><p>Improve pip install performance by calculating installed packages printout in linear time instead of quadratic time. (<a class="reference external" href="https://github.com/pypa/pip/issues/12791">#12791</a>)</p></li> </ul> </section> <section id="id107"> <h3>Vendored Libraries<a class="headerlink" href="#id107" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove vendored tenacity.</p></li> <li><p>Update the preload list for the <code class="docutils literal notranslate"><span class="pre">DEBUNDLED</span></code> case, to replace <code class="docutils literal notranslate"><span class="pre">pep517</span></code> that has been renamed to <code class="docutils literal notranslate"><span class="pre">pyproject_hooks</span></code>.</p></li> <li><p>Use tomllib from the stdlib if available, rather than tomli</p></li> <li><p>Upgrade certifi to 2024.7.4</p></li> <li><p>Upgrade platformdirs to 4.2.2</p></li> <li><p>Upgrade pygments to 2.18.0</p></li> <li><p>Upgrade setuptools to 70.3.0</p></li> <li><p>Upgrade typing_extensions to 4.12.2</p></li> </ul> </section> <section id="id108"> <h3>Improved Documentation<a class="headerlink" href="#id108" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Correct <code class="docutils literal notranslate"><span class="pre">—-ignore-conflicts</span></code> (including an em dash) to <code class="docutils literal notranslate"><span class="pre">--ignore-conflicts</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12851">#12851</a>)</p></li> </ul> </section> </section> <section id="v24-1-2"> <span id="id110"></span><h2>24.1.2 (2024-07-07)<a class="headerlink" href="#v24-1-2" title="Link to this heading">¶</a></h2> <section id="id111"> <h3>Bug Fixes<a class="headerlink" href="#id111" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix finding hardlink targets in tar files with an ignored top-level directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/12781">#12781</a>)</p></li> </ul> </section> </section> <section id="v24-1-1"> <span id="id113"></span><h2>24.1.1 (2024-06-26)<a class="headerlink" href="#v24-1-1" title="Link to this heading">¶</a></h2> <section id="id114"> <h3>Bug Fixes<a class="headerlink" href="#id114" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Actually use system trust stores when the truststore feature is enabled.</p></li> </ul> </section> <section id="id115"> <h3>Vendored Libraries<a class="headerlink" href="#id115" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade requests to 2.32.3</p></li> </ul> </section> </section> <section id="v24-1"> <span id="id116"></span><h2>24.1 (2024-06-20)<a class="headerlink" href="#v24-1" title="Link to this heading">¶</a></h2> <section id="id117"> <h3>Vendored Libraries<a class="headerlink" href="#id117" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade truststore to 0.9.1.</p></li> </ul> </section> </section> <section id="b2-2024-06-12"> <span id="v24-1b2"></span><h2>24.1b2 (2024-06-12)<a class="headerlink" href="#b2-2024-06-12" title="Link to this heading">¶</a></h2> <section id="id118"> <h3>Features<a class="headerlink" href="#id118" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Report informative messages about invalid requirements. (<a class="reference external" href="https://github.com/pypa/pip/issues/12713">#12713</a>)</p></li> </ul> </section> <section id="id120"> <h3>Bug Fixes<a class="headerlink" href="#id120" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Eagerly import the self version check logic to avoid crashes while upgrading or downgrading pip at the same time. (<a class="reference external" href="https://github.com/pypa/pip/issues/12675">#12675</a>)</p></li> <li><p>Accommodate for mismatches between different sources of truth for extra names, for packages generated by <code class="docutils literal notranslate"><span class="pre">setuptools</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12688">#12688</a>)</p></li> <li><p>Accommodate for development versions of CPython ending in <code class="docutils literal notranslate"><span class="pre">+</span></code> in the version string. (<a class="reference external" href="https://github.com/pypa/pip/issues/12691">#12691</a>)</p></li> </ul> </section> <section id="id124"> <h3>Vendored Libraries<a class="headerlink" href="#id124" title="Link to this heading">¶</a></h3> <ul> <li><p>Upgrade packaging to 24.1</p></li> <li><p>Upgrade requests to 2.32.0</p></li> <li><p>Remove vendored colorama</p></li> <li><p>Remove vendored six</p></li> <li><p>Remove vendored webencodings</p></li> <li><p>Remove vendored charset_normalizer</p> <p><code class="docutils literal notranslate"><span class="pre">requests</span></code> provides optional character detection support on some APIs when processing ambiguous bytes. This isn’t relevant for pip to function and we’re able to remove it due to recent upstream changes.</p> </li> </ul> </section> </section> <section id="b1-2024-05-06"> <span id="v24-1b1"></span><h2>24.1b1 (2024-05-06)<a class="headerlink" href="#b1-2024-05-06" title="Link to this heading">¶</a></h2> <section id="id125"> <h3>Deprecations and Removals<a class="headerlink" href="#id125" title="Link to this heading">¶</a></h3> <ul> <li><p>Drop support for EOL Python 3.7. (<a class="reference external" href="https://github.com/pypa/pip/issues/11934">#11934</a>)</p></li> <li><p>Remove support for legacy versions and dependency specifiers.</p> <p>Packages with non standard-compliant versions or dependency specifiers are now ignored by the resolver. Already installed packages with non standard-compliant versions or dependency specifiers must be uninstalled before upgrading them. (<a class="reference external" href="https://github.com/pypa/pip/issues/12063">#12063</a>)</p> </li> </ul> </section> <section id="id128"> <h3>Features<a class="headerlink" href="#id128" title="Link to this heading">¶</a></h3> <ul> <li><p>Improve performance of resolution of large dependency trees, with more caching. (<a class="reference external" href="https://github.com/pypa/pip/issues/12453">#12453</a>)</p></li> <li><p>Further improve resolution performance of large dependency trees, by caching hash calculations. (<a class="reference external" href="https://github.com/pypa/pip/issues/12657">#12657</a>)</p></li> <li><p>Reduce startup time of commands (e.g. show, freeze) that do not access the network by 15-30%. (<a class="reference external" href="https://github.com/pypa/pip/issues/4768">#4768</a>)</p></li> <li><p>Reword and improve presentation of uninstallation errors. (<a class="reference external" href="https://github.com/pypa/pip/issues/10421">#10421</a>)</p></li> <li><p>Add a ‘raw’ progress_bar type for simple and parsable download progress reports (<a class="reference external" href="https://github.com/pypa/pip/issues/11508">#11508</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> no longer performs the pip version check unless <code class="docutils literal notranslate"><span class="pre">--outdated</span></code> or <code class="docutils literal notranslate"><span class="pre">--uptodate</span></code> is given. (<a class="reference external" href="https://github.com/pypa/pip/issues/11677">#11677</a>)</p></li> <li><p>Use the <code class="docutils literal notranslate"><span class="pre">data_filter</span></code> when extracting tarballs, if it’s available. (<a class="reference external" href="https://github.com/pypa/pip/issues/12111">#12111</a>)</p></li> <li><p>Display the Project-URL value under key “Home-page” in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> when the Home-Page metadata field is not set.</p> <p>The Project-URL key detection is case-insensitive, and ignores any dashes and underscores. (<a class="reference external" href="https://github.com/pypa/pip/issues/11221">#11221</a>)</p> </li> </ul> </section> <section id="id137"> <h3>Bug Fixes<a class="headerlink" href="#id137" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Ensure <code class="docutils literal notranslate"><span class="pre">-vv</span></code> gets passed to any <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> build environment subprocesses. (<a class="reference external" href="https://github.com/pypa/pip/issues/12577">#12577</a>)</p></li> <li><p>Deduplicate entries in the <code class="docutils literal notranslate"><span class="pre">Requires</span></code> field of <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12165">#12165</a>)</p></li> <li><p>Fix error on checkout for subversion and bazaar with verbose mode on. (<a class="reference external" href="https://github.com/pypa/pip/issues/11050">#11050</a>)</p></li> <li><p>Fix exception with completions when COMP_CWORD is not set (<a class="reference external" href="https://github.com/pypa/pip/issues/12401">#12401</a>)</p></li> <li><p>Fix intermittent “cannot locate t64.exe” errors when upgrading pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/12666">#12666</a>)</p></li> <li><p>Remove duplication in invalid wheel error message (<a class="reference external" href="https://github.com/pypa/pip/issues/12579">#12579</a>)</p></li> <li><p>Remove the incorrect pip3.x console entrypoint from the pip wheel. This console script continues to be generated by pip when it installs itself. (<a class="reference external" href="https://github.com/pypa/pip/issues/12536">#12536</a>)</p></li> <li><p>Gracefully skip VCS detection in pip freeze when PATH points to a non-directory path. (<a class="reference external" href="https://github.com/pypa/pip/issues/12567">#12567</a>)</p></li> <li><p>Make the <code class="docutils literal notranslate"><span class="pre">--proxy</span></code> parameter take precedence over environment variables. (<a class="reference external" href="https://github.com/pypa/pip/issues/10685">#10685</a>)</p></li> </ul> </section> <section id="id147"> <h3>Vendored Libraries<a class="headerlink" href="#id147" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add charset-normalizer 3.3.2</p></li> <li><p>Remove chardet</p></li> <li><p>Remove pyparsing</p></li> <li><p>Upgrade CacheControl to 0.14.0</p></li> <li><p>Upgrade certifi to 2024.2.2</p></li> <li><p>Upgrade distro to 1.9.0</p></li> <li><p>Upgrade idna to 3.7</p></li> <li><p>Upgrade msgpack to 1.0.8</p></li> <li><p>Upgrade packaging to 24.0</p></li> <li><p>Upgrade platformdirs to 4.2.1</p></li> <li><p>Upgrade pygments to 2.17.2</p></li> <li><p>Upgrade rich to 13.7.1</p></li> <li><p>Upgrade setuptools to 69.5.1</p></li> <li><p>Upgrade tenacity to 8.2.3</p></li> <li><p>Upgrade typing_extensions to 4.11.0</p></li> <li><p>Upgrade urllib3 to 1.26.18</p></li> </ul> </section> <section id="id148"> <h3>Improved Documentation<a class="headerlink" href="#id148" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document UX research done on pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/10745">#10745</a>)</p></li> <li><p>Fix the direct usage of zipapp showing up as <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">pip.pyz</span></code> rather than <code class="docutils literal notranslate"><span class="pre">./pip.pyz</span></code> / <code class="docutils literal notranslate"><span class="pre">.\pip.pyz</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/12043">#12043</a>)</p></li> <li><p>Add a warning explaining that the snippet in “Fallback behavior” is not a valid <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> snippet for projects, and link to setuptools documentation instead. (<a class="reference external" href="https://github.com/pypa/pip/issues/12122">#12122</a>)</p></li> <li><p>The Python Support Policy has been updated. (<a class="reference external" href="https://github.com/pypa/pip/issues/12529">#12529</a>)</p></li> <li><p>Document the environment variables that correspond with CLI options. (<a class="reference external" href="https://github.com/pypa/pip/issues/12576">#12576</a>)</p></li> <li><p>Update architecture documentation for command line interface. (<a class="reference external" href="https://github.com/pypa/pip/issues/6831">#6831</a>)</p></li> </ul> </section> <section id="id155"> <h3>Process<a class="headerlink" href="#id155" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> since all the pip project metadata is now declared in <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>.</p></li> <li><p>Move remaining pip development tools configurations to <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>.</p></li> </ul> </section> </section> <section id="v24-0"> <span id="id156"></span><h2>24.0 (2024-02-03)<a class="headerlink" href="#v24-0" title="Link to this heading">¶</a></h2> <section id="id157"> <h3>Features<a class="headerlink" href="#id157" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Retry on HTTP status code 502 (<a class="reference external" href="https://github.com/pypa/pip/issues/11843">#11843</a>)</p></li> <li><p>Automatically use the setuptools PEP 517 build backend when <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> is used for projects without <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11915">#11915</a>)</p></li> <li><p>Make pip freeze and pip uninstall of legacy editable installs of packages whose name contains <code class="docutils literal notranslate"><span class="pre">_</span></code> compatible with <code class="docutils literal notranslate"><span class="pre">setuptools>=69.0.3</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12477">#12477</a>)</p></li> <li><p>Support per requirement <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> for editable installs. (<a class="reference external" href="https://github.com/pypa/pip/issues/12480">#12480</a>)</p></li> </ul> </section> <section id="id162"> <h3>Bug Fixes<a class="headerlink" href="#id162" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Optimized usage of <code class="docutils literal notranslate"><span class="pre">--find-links=<path-to-dir></span></code>, by only scanning the relevant directory once, only considering file names that are valid wheel or sdist names, and only considering files in the directory that are related to the install. (<a class="reference external" href="https://github.com/pypa/pip/issues/12327">#12327</a>)</p></li> <li><p>Removed <code class="docutils literal notranslate"><span class="pre">wheel</span></code> from the <code class="docutils literal notranslate"><span class="pre">[build-system].requires</span></code> list fallback that is used when <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> is absent. (<a class="reference external" href="https://github.com/pypa/pip/issues/12449">#12449</a>)</p></li> </ul> </section> <section id="id165"> <h3>Vendored Libraries<a class="headerlink" href="#id165" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade distlib to 0.3.8</p></li> </ul> </section> <section id="id166"> <h3>Improved Documentation<a class="headerlink" href="#id166" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix explanation of how PIP_CONFIG_FILE works (<a class="reference external" href="https://github.com/pypa/pip/issues/11815">#11815</a>)</p></li> <li><p>Fix outdated pip install argument description in documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/12417">#12417</a>)</p></li> <li><p>Replace some links to PEPs with links to the canonical specifications on the <span class="xref std std-doc">pypug:index</span> (<a class="reference external" href="https://github.com/pypa/pip/issues/12434">#12434</a>)</p></li> <li><p>Updated the <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> document to stop suggesting to depend on <code class="docutils literal notranslate"><span class="pre">wheel</span></code> as a build dependency directly. (<a class="reference external" href="https://github.com/pypa/pip/issues/12449">#12449</a>)</p></li> <li><p>Update supported interpreters in development docs (<a class="reference external" href="https://github.com/pypa/pip/issues/12475">#12475</a>)</p></li> </ul> </section> <section id="id172"> <h3>Process<a class="headerlink" href="#id172" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Most project metadata is now defined statically via pip’s <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> file.</p></li> </ul> </section> </section> <section id="v23-3-2"> <span id="id173"></span><h2>23.3.2 (2023-12-17)<a class="headerlink" href="#v23-3-2" title="Link to this heading">¶</a></h2> <section id="id174"> <h3>Bug Fixes<a class="headerlink" href="#id174" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a bug in extras handling for link requirements (<a class="reference external" href="https://github.com/pypa/pip/issues/12372">#12372</a>)</p></li> <li><p>Fix mercurial revision “parse error”: use <code class="docutils literal notranslate"><span class="pre">--rev={ref}</span></code> instead of <code class="docutils literal notranslate"><span class="pre">-r={ref}</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/12373">#12373</a>)</p></li> </ul> </section> </section> <section id="v23-3-1"> <span id="id177"></span><h2>23.3.1 (2023-10-21)<a class="headerlink" href="#v23-3-1" title="Link to this heading">¶</a></h2> <section id="id178"> <h3>Bug Fixes<a class="headerlink" href="#id178" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Handle a timezone indicator of Z when parsing dates in the self check. (<a class="reference external" href="https://github.com/pypa/pip/issues/12338">#12338</a>)</p></li> <li><p>Fix bug where installing the same package at the same time with multiple pip processes could fail. (<a class="reference external" href="https://github.com/pypa/pip/issues/12361">#12361</a>)</p></li> </ul> </section> </section> <section id="v23-3"> <span id="id181"></span><h2>23.3 (2023-10-15)<a class="headerlink" href="#v23-3" title="Link to this heading">¶</a></h2> <section id="id182"> <h3>Process<a class="headerlink" href="#id182" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Added reference to <a class="reference external" href="https://www.python.org/dev/security/">vulnerability reporting guidelines</a> to pip’s security policy.</p></li> </ul> </section> <section id="id183"> <h3>Deprecations and Removals<a class="headerlink" href="#id183" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop a fallback to using SecureTransport on macOS. It was useful when pip detected OpenSSL older than 1.0.1, but the current pip does not support any Python version supporting such old OpenSSL versions. (<a class="reference external" href="https://github.com/pypa/pip/issues/12175">#12175</a>)</p></li> </ul> </section> <section id="id185"> <h3>Features<a class="headerlink" href="#id185" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Improve extras resolution for multiple constraints on same base package. (<a class="reference external" href="https://github.com/pypa/pip/issues/11924">#11924</a>)</p></li> <li><p>Improve use of datastructures to make candidate selection 1.6x faster. (<a class="reference external" href="https://github.com/pypa/pip/issues/12204">#12204</a>)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--dry-run</span></code> to use platform and ABI overriding options. (<a class="reference external" href="https://github.com/pypa/pip/issues/12215">#12215</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">is_yanked</span></code> boolean entry to the installation report (<code class="docutils literal notranslate"><span class="pre">--report</span></code>) to indicate whether the requirement was yanked from the index, but was still selected by pip conform to <span class="target" id="index-10"></span><a class="pep reference external" href="https://peps.python.org/pep-0592/"><strong>PEP 592</strong></a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12224">#12224</a>)</p></li> </ul> </section> <section id="id190"> <h3>Bug Fixes<a class="headerlink" href="#id190" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Ignore errors in temporary directory cleanup (show a warning instead). (<a class="reference external" href="https://github.com/pypa/pip/issues/11394">#11394</a>)</p></li> <li><p>Normalize extras according to <span class="target" id="index-11"></span><a class="pep reference external" href="https://peps.python.org/pep-0685/"><strong>PEP 685</strong></a> from package metadata in the resolver for comparison. This ensures extras are correctly compared and merged as long as the package providing the extra(s) is built with values normalized according to the standard. Note, however, that this <em>does not</em> solve cases where the package itself contains unnormalized extra values in the metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/11649">#11649</a>)</p></li> <li><p>Prevent downloading sdists twice when <span class="target" id="index-12"></span><a class="pep reference external" href="https://peps.python.org/pep-0658/"><strong>PEP 658</strong></a> metadata is present. (<a class="reference external" href="https://github.com/pypa/pip/issues/11847">#11847</a>)</p></li> <li><p>Include all requested extras in the install report (<code class="docutils literal notranslate"><span class="pre">--report</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/11924">#11924</a>)</p></li> <li><p>Removed uses of <code class="docutils literal notranslate"><span class="pre">datetime.datetime.utcnow</span></code> from non-vendored code. (<a class="reference external" href="https://github.com/pypa/pip/issues/12005">#12005</a>)</p></li> <li><p>Consistently report whether a dependency comes from an extra. (<a class="reference external" href="https://github.com/pypa/pip/issues/12095">#12095</a>)</p></li> <li><p>Fix completion script for zsh (<a class="reference external" href="https://github.com/pypa/pip/issues/12166">#12166</a>)</p></li> <li><p>Fix improper handling of the new onexc argument of <code class="docutils literal notranslate"><span class="pre">shutil.rmtree()</span></code> in Python 3.12. (<a class="reference external" href="https://github.com/pypa/pip/issues/12187">#12187</a>)</p></li> <li><p>Filter out yanked links from the available versions error message: “(from versions: 1.0, 2.0, 3.0)” will not contain yanked versions conform PEP 592. The yanked versions (if any) will be mentioned in a separate error message. (<a class="reference external" href="https://github.com/pypa/pip/issues/12225">#12225</a>)</p></li> <li><p>Fix crash when the git version number contains something else than digits and dots. (<a class="reference external" href="https://github.com/pypa/pip/issues/12280">#12280</a>)</p></li> <li><p>Use <code class="docutils literal notranslate"><span class="pre">-r=...</span></code> instead of <code class="docutils literal notranslate"><span class="pre">-r</span> <span class="pre">...</span></code> to specify references with Mercurial. (<a class="reference external" href="https://github.com/pypa/pip/issues/12306">#12306</a>)</p></li> <li><p>Redact password from URLs in some additional places. (<a class="reference external" href="https://github.com/pypa/pip/issues/12350">#12350</a>)</p></li> <li><p>pip uses less memory when caching large packages. As a result, there is a new on-disk cache format stored in a new directory ($PIP_CACHE_DIR/http-v2). (<a class="reference external" href="https://github.com/pypa/pip/issues/2984">#2984</a>)</p></li> </ul> </section> <section id="id204"> <h3>Vendored Libraries<a class="headerlink" href="#id204" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2023.7.22</p></li> <li><p>Add truststore 0.8.0</p></li> <li><p>Upgrade urllib3 to 1.26.17</p></li> </ul> </section> <section id="id205"> <h3>Improved Documentation<a class="headerlink" href="#id205" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document that <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">search</span></code> support has been removed from PyPI (<a class="reference external" href="https://github.com/pypa/pip/issues/12059">#12059</a>)</p></li> <li><p>Clarify --prefer-binary in CLI and docs (<a class="reference external" href="https://github.com/pypa/pip/issues/12122">#12122</a>)</p></li> <li><p>Document that using OS-provided Python can cause pip’s test suite to report false failures. (<a class="reference external" href="https://github.com/pypa/pip/issues/12334">#12334</a>)</p></li> </ul> </section> </section> <section id="v23-2-1"> <span id="id209"></span><h2>23.2.1 (2023-07-22)<a class="headerlink" href="#v23-2-1" title="Link to this heading">¶</a></h2> <section id="id210"> <h3>Bug Fixes<a class="headerlink" href="#id210" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Disable <span class="target" id="index-13"></span><a class="pep reference external" href="https://peps.python.org/pep-0658/"><strong>PEP 658</strong></a> metadata fetching with the legacy resolver. (<a class="reference external" href="https://github.com/pypa/pip/issues/12156">#12156</a>)</p></li> </ul> </section> </section> <section id="v23-2"> <span id="id212"></span><h2>23.2 (2023-07-15)<a class="headerlink" href="#v23-2" title="Link to this heading">¶</a></h2> <section id="id213"> <h3>Process<a class="headerlink" href="#id213" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate support for eggs for Python 3.11 or later, when the new <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> backend is used to load distribution metadata. This only affects the egg <em>distribution format</em> (with the <code class="docutils literal notranslate"><span class="pre">.egg</span></code> extension); distributions using the <code class="docutils literal notranslate"><span class="pre">.egg-info</span></code> <em>metadata format</em> (but are not actually eggs) are not affected. For more information about eggs, see <a class="reference external" href="https://setuptools.pypa.io/en/stable/deprecated/python_eggs.html">relevant section in the setuptools documentation</a>.</p></li> </ul> </section> <section id="id214"> <h3>Deprecations and Removals<a class="headerlink" href="#id214" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate legacy version and version specifiers that don’t conform to the <span class="xref std std-ref">specification</span>. (<a class="reference external" href="https://github.com/pypa/pip/issues/12063">#12063</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">freeze</span></code> no longer excludes the <code class="docutils literal notranslate"><span class="pre">setuptools</span></code>, <code class="docutils literal notranslate"><span class="pre">distribute</span></code>, and <code class="docutils literal notranslate"><span class="pre">wheel</span></code> from the output when running on Python 3.12 or later, where they are not included in a virtual environment by default. Use <code class="docutils literal notranslate"><span class="pre">--exclude</span></code> if you wish to exclude any of these packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/4256">#4256</a>)</p></li> </ul> </section> <section id="id217"> <h3>Features<a class="headerlink" href="#id217" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>make rejection messages slightly different between 1 and 8, so the user can make the difference. (<a class="reference external" href="https://github.com/pypa/pip/issues/12040">#12040</a>)</p></li> </ul> </section> <section id="id219"> <h3>Bug Fixes<a class="headerlink" href="#id219" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">completion</span> <span class="pre">--zsh</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11417">#11417</a>)</p></li> <li><p>Prevent downloading files twice when <span class="target" id="index-14"></span><a class="pep reference external" href="https://peps.python.org/pep-0658/"><strong>PEP 658</strong></a> metadata is present (<a class="reference external" href="https://github.com/pypa/pip/issues/11847">#11847</a>)</p></li> <li><p>Add permission check before configuration (<a class="reference external" href="https://github.com/pypa/pip/issues/11920">#11920</a>)</p></li> <li><p>Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree (<a class="reference external" href="https://github.com/pypa/pip/issues/11957">#11957</a>)</p></li> <li><p>Ignore invalid or unreadable <code class="docutils literal notranslate"><span class="pre">origin.json</span></code> files in the cache of locally built wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/11985">#11985</a>)</p></li> <li><p>Fix installation of packages with <span class="target" id="index-15"></span><a class="pep reference external" href="https://peps.python.org/pep-0658/"><strong>PEP 658</strong></a> metadata using non-canonicalized names (<a class="reference external" href="https://github.com/pypa/pip/issues/12038">#12038</a>)</p></li> <li><p>Correctly parse <code class="docutils literal notranslate"><span class="pre">dist-info-metadata</span></code> values from JSON-format index data. (<a class="reference external" href="https://github.com/pypa/pip/issues/12042">#12042</a>)</p></li> <li><p>Fail with an error if the <code class="docutils literal notranslate"><span class="pre">--python</span></code> option is specified after the subcommand name. (<a class="reference external" href="https://github.com/pypa/pip/issues/12067">#12067</a>)</p></li> <li><p>Fix slowness when using <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> (the default way for pip to read metadata in Python 3.11+) and there is a large overlap between already installed and to-be-installed packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/12079">#12079</a>)</p></li> <li><p>Pass the <code class="docutils literal notranslate"><span class="pre">-r</span></code> flag to mercurial to be explicit that a revision is passed and protect against <code class="docutils literal notranslate"><span class="pre">hg</span></code> options injection as part of VCS URLs. Users that do not have control on VCS URLs passed to pip are advised to upgrade. (<a class="reference external" href="https://github.com/pypa/pip/issues/12119">#12119</a>)</p></li> </ul> </section> <section id="id230"> <h3>Vendored Libraries<a class="headerlink" href="#id230" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2023.5.7</p></li> <li><p>Upgrade platformdirs to 3.8.1</p></li> <li><p>Upgrade pygments to 2.15.1</p></li> <li><p>Upgrade pyparsing to 3.1.0</p></li> <li><p>Upgrade Requests to 2.31.0</p></li> <li><p>Upgrade rich to 13.4.2</p></li> <li><p>Upgrade setuptools to 68.0.0</p></li> <li><p>Updated typing_extensions to 4.6.0</p></li> <li><p>Upgrade typing_extensions to 4.7.1</p></li> <li><p>Upgrade urllib3 to 1.26.16</p></li> </ul> </section> </section> <section id="v23-1-2"> <span id="id231"></span><h2>23.1.2 (2023-04-26)<a class="headerlink" href="#v23-1-2" title="Link to this heading">¶</a></h2> <section id="id232"> <h3>Vendored Libraries<a class="headerlink" href="#id232" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade setuptools to 67.7.2</p></li> </ul> </section> </section> <section id="v23-1-1"> <span id="id233"></span><h2>23.1.1 (2023-04-22)<a class="headerlink" href="#v23-1-1" title="Link to this heading">¶</a></h2> <section id="id234"> <h3>Bug Fixes<a class="headerlink" href="#id234" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert <a class="reference external" href="https://github.com/pypa/pip/pull/11487">#11487</a>, as it causes issues with virtualenvs created by the Windows Store distribution of Python. (<a class="reference external" href="https://github.com/pypa/pip/issues/11987">#11987</a>)</p></li> </ul> </section> <section id="id237"> <h3>Vendored Libraries<a class="headerlink" href="#id237" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert pkg_resources (via setuptools) back to 65.6.3</p></li> </ul> </section> <section id="id238"> <h3>Improved Documentation<a class="headerlink" href="#id238" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update documentation to reflect the new behavior of using the cache of locally built wheels in hash-checking mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/11967">#11967</a>)</p></li> </ul> </section> </section> <section id="v23-1"> <span id="id240"></span><h2>23.1 (2023-04-15)<a class="headerlink" href="#v23-1" title="Link to this heading">¶</a></h2> <section id="id241"> <h3>Deprecations and Removals<a class="headerlink" href="#id241" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove support for the deprecated <code class="docutils literal notranslate"><span class="pre">--install-options</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11358">#11358</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--no-binary</span></code> does not imply <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> anymore. Instead a wheel will be built locally and installed. (<a class="reference external" href="https://github.com/pypa/pip/issues/11451">#11451</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--no-binary</span></code> does not disable the cache of locally built wheels anymore. It only means “don’t download wheels”. (<a class="reference external" href="https://github.com/pypa/pip/issues/11453">#11453</a>)</p></li> <li><p>Deprecate <code class="docutils literal notranslate"><span class="pre">--build-option</span></code> and <code class="docutils literal notranslate"><span class="pre">--global-option</span></code>. Users are invited to switch to <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11859">#11859</a>)</p></li> <li><p>Using <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> with projects that don’t have a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> now prints a deprecation warning. In the future the presence of config settings will automatically enable the default build backend for legacy projects and pass the settings to it. (<a class="reference external" href="https://github.com/pypa/pip/issues/11915">#11915</a>)</p></li> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> fallback when building a wheel failed for projects without <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8368">#8368</a>)</p></li> <li><p>When the <code class="docutils literal notranslate"><span class="pre">wheel</span></code> package is not installed, pip now uses the default build backend instead of <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> and <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">develop</span></code> for project without <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8559">#8559</a>)</p></li> </ul> </section> <section id="id249"> <h3>Features<a class="headerlink" href="#id249" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Specify egg-link location in assertion message when it does not match installed location to provide better error message for debugging. (<a class="reference external" href="https://github.com/pypa/pip/issues/10476">#10476</a>)</p></li> <li><p>Present conflict information during installation after each choice that is rejected (pass <code class="docutils literal notranslate"><span class="pre">-vv</span></code> to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> to show it) (<a class="reference external" href="https://github.com/pypa/pip/issues/10937">#10937</a>)</p></li> <li><p>Display dependency chain on each Collecting/Processing log line. (<a class="reference external" href="https://github.com/pypa/pip/issues/11169">#11169</a>)</p></li> <li><p>Support a per-requirement <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> option in requirements files. (<a class="reference external" href="https://github.com/pypa/pip/issues/11325">#11325</a>)</p></li> <li><p>The <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code>/<code class="docutils literal notranslate"><span class="pre">-C</span></code> option now supports using the same key multiple times. When the same key is specified multiple times, all values are passed to the build backend as a list, as opposed to the previous behavior, where pip would only pass the last value if the same key was used multiple times. (<a class="reference external" href="https://github.com/pypa/pip/issues/11681">#11681</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">-C</span></code> as a short version of the <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> option. (<a class="reference external" href="https://github.com/pypa/pip/issues/11786">#11786</a>)</p></li> <li><p>Reduce the number of resolver rounds, since backjumping makes the resolver more efficient in finding solutions. This also makes pathological cases fail quicker. (<a class="reference external" href="https://github.com/pypa/pip/issues/11908">#11908</a>)</p></li> <li><p>Warn if <code class="docutils literal notranslate"><span class="pre">--hash</span></code> is used on a line without requirement in a requirements file. (<a class="reference external" href="https://github.com/pypa/pip/issues/11935">#11935</a>)</p></li> <li><p>Stop propagating CLI <code class="docutils literal notranslate"><span class="pre">--config-settings</span></code> to the build dependencies. They already did not propagate to requirements provided in requirement files. To pass the same config settings to several requirements, users should provide the requirements as CLI arguments. (<a class="reference external" href="https://github.com/pypa/pip/issues/11941">#11941</a>)</p></li> <li><p>Support wheel cache when using <code class="docutils literal notranslate"><span class="pre">--require-hashes</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5037">#5037</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--keyring-provider</span></code> flag. See the Authentication page in the documentation for more info. (<a class="reference external" href="https://github.com/pypa/pip/issues/8719">#8719</a>)</p></li> <li><p>In the case of virtual environments, configuration files are now also included from the base installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/9752">#9752</a>)</p></li> </ul> </section> <section id="id262"> <h3>Bug Fixes<a class="headerlink" href="#id262" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix grammar by changing “A new release of pip available:” to “A new release of pip is available:” in the notice used for indicating that. (<a class="reference external" href="https://github.com/pypa/pip/issues/11529">#11529</a>)</p></li> <li><p>Normalize paths before checking if installed scripts are on PATH. (<a class="reference external" href="https://github.com/pypa/pip/issues/11719">#11719</a>)</p></li> <li><p>Correct the way to decide if keyring is available. (<a class="reference external" href="https://github.com/pypa/pip/issues/11774">#11774</a>)</p></li> <li><p>More consistent resolution backtracking by removing legacy hack related to setuptools resolution (<a class="reference external" href="https://github.com/pypa/pip/issues/11837">#11837</a>)</p></li> <li><p>Include <code class="docutils literal notranslate"><span class="pre">AUTHORS.txt</span></code> in pip’s wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/11882">#11882</a>)</p></li> <li><p>The <code class="docutils literal notranslate"><span class="pre">uninstall</span></code> and <code class="docutils literal notranslate"><span class="pre">install</span> <span class="pre">--force-reinstall</span></code> commands no longer call <code class="docutils literal notranslate"><span class="pre">normalize_path()</span></code> repeatedly on the same paths. Instead, these results are cached for the duration of an uninstall operation, resulting in improved performance, particularly on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/11889">#11889</a>)</p></li> <li><p>Fix and improve the parsing of hashes embedded in URL fragments. (<a class="reference external" href="https://github.com/pypa/pip/issues/11936">#11936</a>)</p></li> <li><p>When package A depends on package B provided as a direct URL dependency including a hash embedded in the link, the <code class="docutils literal notranslate"><span class="pre">--require-hashes</span></code> option did not warn when user supplied hashes were missing for package B. (<a class="reference external" href="https://github.com/pypa/pip/issues/11938">#11938</a>)</p></li> <li><p>Correctly report <code class="docutils literal notranslate"><span class="pre">requested_extras</span></code> in the installation report when extras are specified for a local directory installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/11946">#11946</a>)</p></li> <li><p>When installing an archive from a direct URL or local file, populate <code class="docutils literal notranslate"><span class="pre">download_info.info.hashes</span></code> in the installation report, in addition to the legacy <code class="docutils literal notranslate"><span class="pre">download_info.info.hash</span></code> key. (<a class="reference external" href="https://github.com/pypa/pip/issues/11948">#11948</a>)</p></li> </ul> </section> <section id="id273"> <h3>Vendored Libraries<a class="headerlink" href="#id273" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade msgpack to 1.0.5</p></li> <li><p>Patch pkg_resources to remove dependency on <code class="docutils literal notranslate"><span class="pre">jaraco.text</span></code>.</p></li> <li><p>Upgrade platformdirs to 3.2.0</p></li> <li><p>Upgrade pygments to 2.14.0</p></li> <li><p>Upgrade resolvelib to 1.0.1</p></li> <li><p>Upgrade rich to 13.3.3</p></li> <li><p>Upgrade setuptools to 67.6.1</p></li> <li><p>Upgrade tenacity to 8.2.2</p></li> <li><p>Upgrade typing_extensions to 4.5.0</p></li> <li><p>Upgrade urllib3 to 1.26.15</p></li> </ul> </section> <section id="id274"> <h3>Improved Documentation<a class="headerlink" href="#id274" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Cross-reference the <code class="docutils literal notranslate"><span class="pre">--python</span></code> flag from the <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> flag, and mention limitations of <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> regarding script installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/11775">#11775</a>)</p></li> <li><p>Add SECURITY.md to make the policy official. (<a class="reference external" href="https://github.com/pypa/pip/issues/11809">#11809</a>)</p></li> <li><p>Add username to Git over SSH example. (<a class="reference external" href="https://github.com/pypa/pip/issues/11838">#11838</a>)</p></li> <li><p>Quote extras in the pip install docs to guard shells with default glob qualifiers, like zsh. (<a class="reference external" href="https://github.com/pypa/pip/issues/11842">#11842</a>)</p></li> <li><p>Make it clear that requirements/constraints file can be a URL (<a class="reference external" href="https://github.com/pypa/pip/issues/11954">#11954</a>)</p></li> </ul> </section> </section> <section id="v23-0-1"> <span id="id280"></span><h2>23.0.1 (2023-02-17)<a class="headerlink" href="#v23-0-1" title="Link to this heading">¶</a></h2> <section id="id281"> <h3>Features<a class="headerlink" href="#id281" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Ignore PIP_REQUIRE_VIRTUALENV for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">index</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/11671">#11671</a>)</p></li> <li><p>Implement <code class="docutils literal notranslate"><span class="pre">--break-system-packages</span></code> to permit installing packages into <code class="docutils literal notranslate"><span class="pre">EXTERNALLY-MANAGED</span></code> Python installations. (<a class="reference external" href="https://github.com/pypa/pip/issues/11780">#11780</a>)</p></li> </ul> </section> <section id="id284"> <h3>Bug Fixes<a class="headerlink" href="#id284" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Improve handling of isolated build environments on platforms that customize the Python’s installation schemes, such as Debian and Homebrew. (<a class="reference external" href="https://github.com/pypa/pip/issues/11740">#11740</a>)</p></li> <li><p>Do not crash in presence of misformatted hash field in <code class="docutils literal notranslate"><span class="pre">direct_url.json</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11773">#11773</a>)</p></li> </ul> </section> </section> <section id="v23-0"> <span id="id287"></span><h2>23.0 (2023-01-30)<a class="headerlink" href="#v23-0" title="Link to this heading">¶</a></h2> <section id="id288"> <h3>Features<a class="headerlink" href="#id288" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Change the hashes in the installation report to be a mapping. Emit the <code class="docutils literal notranslate"><span class="pre">archive_info.hashes</span></code> dictionary in <code class="docutils literal notranslate"><span class="pre">direct_url.json</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11312">#11312</a>)</p></li> <li><p>Implement logic to read the <code class="docutils literal notranslate"><span class="pre">EXTERNALLY-MANAGED</span></code> file as specified in <span class="target" id="index-16"></span><a class="pep reference external" href="https://peps.python.org/pep-0668/"><strong>PEP 668</strong></a>. This allows a downstream Python distributor to prevent users from using pip to modify the externally managed environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/11381">#11381</a>)</p></li> <li><p>Enable the use of <code class="docutils literal notranslate"><span class="pre">keyring</span></code> found on <code class="docutils literal notranslate"><span class="pre">PATH</span></code>. This allows <code class="docutils literal notranslate"><span class="pre">keyring</span></code> installed using <code class="docutils literal notranslate"><span class="pre">pipx</span></code> to be used by <code class="docutils literal notranslate"><span class="pre">pip</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11589">#11589</a>)</p></li> <li><p>The inspect and installation report formats are now declared stable, and their version has been bumped from <code class="docutils literal notranslate"><span class="pre">0</span></code> to <code class="docutils literal notranslate"><span class="pre">1</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11757">#11757</a>)</p></li> </ul> </section> <section id="id293"> <h3>Bug Fixes<a class="headerlink" href="#id293" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Wheel cache behavior is restored to match previous versions, allowing the cache to find existing entries. (<a class="reference external" href="https://github.com/pypa/pip/issues/11527">#11527</a>)</p></li> <li><p>Use the “venv” scheme if available to obtain prefixed lib paths. (<a class="reference external" href="https://github.com/pypa/pip/issues/11598">#11598</a>)</p></li> <li><p>Deprecated a historical ambiguity in how <code class="docutils literal notranslate"><span class="pre">egg</span></code> fragments in URL-style requirements are formatted and handled. <code class="docutils literal notranslate"><span class="pre">egg</span></code> fragments that do not look like <span class="target" id="index-17"></span><a class="pep reference external" href="https://peps.python.org/pep-0508/"><strong>PEP 508</strong></a> names now produce a deprecation warning. (<a class="reference external" href="https://github.com/pypa/pip/issues/11617">#11617</a>)</p></li> <li><p>Fix scripts path in isolated build environment on Debian. (<a class="reference external" href="https://github.com/pypa/pip/issues/11623">#11623</a>)</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> show the editable location if package is editable (<a class="reference external" href="https://github.com/pypa/pip/issues/11638">#11638</a>)</p></li> <li><p>Stop checking that <code class="docutils literal notranslate"><span class="pre">wheel</span></code> is present when <code class="docutils literal notranslate"><span class="pre">build-system.requires</span></code> is provided without <code class="docutils literal notranslate"><span class="pre">build-system.build-backend</span></code> as <code class="docutils literal notranslate"><span class="pre">setuptools</span></code> (which we still check for) will inject it anyway. (<a class="reference external" href="https://github.com/pypa/pip/issues/11673">#11673</a>)</p></li> <li><p>Fix an issue when an already existing in-memory distribution would cause exceptions in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/11704">#11704</a>)</p></li> </ul> </section> <section id="id301"> <h3>Vendored Libraries<a class="headerlink" href="#id301" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2022.12.7</p></li> <li><p>Upgrade chardet to 5.1.0</p></li> <li><p>Upgrade colorama to 0.4.6</p></li> <li><p>Upgrade distro to 1.8.0</p></li> <li><p>Remove pep517 from vendored packages</p></li> <li><p>Upgrade platformdirs to 2.6.2</p></li> <li><p>Add pyproject-hooks 1.0.0</p></li> <li><p>Upgrade requests to 2.28.2</p></li> <li><p>Upgrade rich to 12.6.0</p></li> <li><p>Upgrade urllib3 to 1.26.14</p></li> </ul> </section> <section id="id302"> <h3>Improved Documentation<a class="headerlink" href="#id302" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fixed the description of the option “--install-options” in the documentation (<a class="reference external" href="https://github.com/pypa/pip/issues/10265">#10265</a>)</p></li> <li><p>Remove mention that editable installs are necessary for pip freeze to report the VCS URL. (<a class="reference external" href="https://github.com/pypa/pip/issues/11675">#11675</a>)</p></li> <li><p>Clarify that the egg URL fragment is only necessary for editable VCS installs, and otherwise not necessary anymore. (<a class="reference external" href="https://github.com/pypa/pip/issues/11676">#11676</a>)</p></li> </ul> </section> </section> <section id="v22-3-1"> <span id="id306"></span><h2>22.3.1 (2022-11-05)<a class="headerlink" href="#v22-3-1" title="Link to this heading">¶</a></h2> <section id="id307"> <h3>Bug Fixes<a class="headerlink" href="#id307" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix entry point generation of <code class="docutils literal notranslate"><span class="pre">pip.X</span></code>, <code class="docutils literal notranslate"><span class="pre">pipX.Y</span></code>, and <code class="docutils literal notranslate"><span class="pre">easy_install-X.Y</span></code> to correctly account for multi-digit Python version segments (e.g. the “11” part of 3.11). (<a class="reference external" href="https://github.com/pypa/pip/issues/11547">#11547</a>)</p></li> </ul> </section> </section> <section id="v22-3"> <span id="id309"></span><h2>22.3 (2022-10-15)<a class="headerlink" href="#v22-3" title="Link to this heading">¶</a></h2> <section id="id310"> <h3>Deprecations and Removals<a class="headerlink" href="#id310" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate <code class="docutils literal notranslate"><span class="pre">--install-options</span></code> which forces pip to use the deprecated <code class="docutils literal notranslate"><span class="pre">install</span></code> command of <code class="docutils literal notranslate"><span class="pre">setuptools</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11358">#11358</a>)</p></li> <li><p>Deprecate installation with ‘setup.py install’ when no-binary is enabled for source distributions without ‘pyproject.toml’. (<a class="reference external" href="https://github.com/pypa/pip/issues/11452">#11452</a>)</p></li> <li><p>Deprecate <code class="docutils literal notranslate"><span class="pre">`--no-binary</span></code> disabling the wheel cache. (<a class="reference external" href="https://github.com/pypa/pip/issues/11454">#11454</a>)</p></li> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">--use-feature=2020-resolver</span></code> opt-in flag. This was supposed to be removed in 21.0, but missed during that release cycle. (<a class="reference external" href="https://github.com/pypa/pip/issues/11493">#11493</a>)</p></li> <li><p>Deprecate installation with ‘setup.py install’ when the ‘wheel’ package is absent for source distributions without ‘pyproject.toml’. (<a class="reference external" href="https://github.com/pypa/pip/issues/8559">#8559</a>)</p></li> <li><p>Remove the ability to use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span></code> in combination with <code class="docutils literal notranslate"><span class="pre">--format=freeze</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9789">#9789</a>)</p></li> </ul> </section> <section id="id317"> <h3>Features<a class="headerlink" href="#id317" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Use <code class="docutils literal notranslate"><span class="pre">shell=True</span></code> for opening the editor with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span> <span class="pre">edit</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10716">#10716</a>)</p></li> <li><p>Use the <code class="docutils literal notranslate"><span class="pre">data-dist-info-metadata</span></code> attribute from <span class="target" id="index-18"></span><a class="pep reference external" href="https://peps.python.org/pep-0658/"><strong>PEP 658</strong></a> to resolve distribution metadata without downloading the dist yet. (<a class="reference external" href="https://github.com/pypa/pip/issues/11111">#11111</a>)</p></li> <li><p>Add an option to run the test suite with pip built as a zipapp. (<a class="reference external" href="https://github.com/pypa/pip/issues/11250">#11250</a>)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--python</span></code> option to allow pip to manage Python environments other than the one pip is installed in. (<a class="reference external" href="https://github.com/pypa/pip/issues/11320">#11320</a>)</p></li> <li><p>Document the new (experimental) zipapp distribution of pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/11459">#11459</a>)</p></li> <li><p>Use the much faster ‘bzr co --lightweight’ to obtain a copy of a Bazaar tree. (<a class="reference external" href="https://github.com/pypa/pip/issues/5444">#5444</a>)</p></li> </ul> </section> <section id="id324"> <h3>Bug Fixes<a class="headerlink" href="#id324" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">--no-index</span></code> when <code class="docutils literal notranslate"><span class="pre">--index-url</span></code> or <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code> is specified inside a requirements file. (<a class="reference external" href="https://github.com/pypa/pip/issues/11276">#11276</a>)</p></li> <li><p>Ensure that the candidate <code class="docutils literal notranslate"><span class="pre">pip</span></code> executable exists, when checking for a new version of pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/11309">#11309</a>)</p></li> <li><p>Ignore distributions with invalid <code class="docutils literal notranslate"><span class="pre">Name</span></code> in metadata instead of crashing, when using the <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> backend. (<a class="reference external" href="https://github.com/pypa/pip/issues/11352">#11352</a>)</p></li> <li><p>Raise RequirementsFileParseError when parsing malformed requirements options that can’t be successfully parsed by shlex. (<a class="reference external" href="https://github.com/pypa/pip/issues/11491">#11491</a>)</p></li> <li><p>Fix build environment isolation on some system Pythons. (<a class="reference external" href="https://github.com/pypa/pip/issues/6264">#6264</a>)</p></li> </ul> </section> <section id="id330"> <h3>Vendored Libraries<a class="headerlink" href="#id330" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2022.9.24</p></li> <li><p>Upgrade distlib to 0.3.6</p></li> <li><p>Upgrade idna to 3.4</p></li> <li><p>Upgrade pep517 to 0.13.0</p></li> <li><p>Upgrade pygments to 2.13.0</p></li> <li><p>Upgrade tenacity to 8.1.0</p></li> <li><p>Upgrade typing_extensions to 4.4.0</p></li> <li><p>Upgrade urllib3 to 1.26.12</p></li> </ul> </section> <section id="id331"> <h3>Improved Documentation<a class="headerlink" href="#id331" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Mention that --quiet must be used when writing the installation report to stdout. (<a class="reference external" href="https://github.com/pypa/pip/issues/11357">#11357</a>)</p></li> </ul> </section> </section> <section id="v22-2-2"> <span id="id333"></span><h2>22.2.2 (2022-08-03)<a class="headerlink" href="#v22-2-2" title="Link to this heading">¶</a></h2> <section id="id334"> <h3>Bug Fixes<a class="headerlink" href="#id334" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Avoid <code class="docutils literal notranslate"><span class="pre">AttributeError</span></code> when removing the setuptools-provided <code class="docutils literal notranslate"><span class="pre">_distutils_hack</span></code> and it is missing its implementation. (<a class="reference external" href="https://github.com/pypa/pip/issues/11314">#11314</a>)</p></li> <li><p>Fix import error when reinstalling pip in user site. (<a class="reference external" href="https://github.com/pypa/pip/issues/11319">#11319</a>)</p></li> <li><p>Show pip deprecation warnings by default. (<a class="reference external" href="https://github.com/pypa/pip/issues/11330">#11330</a>)</p></li> </ul> </section> </section> <section id="v22-2-1"> <span id="id338"></span><h2>22.2.1 (2022-07-27)<a class="headerlink" href="#v22-2-1" title="Link to this heading">¶</a></h2> <section id="id339"> <h3>Bug Fixes<a class="headerlink" href="#id339" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Send the pip upgrade prompt to stderr. (<a class="reference external" href="https://github.com/pypa/pip/issues/11282">#11282</a>)</p></li> <li><p>Ensure that things work correctly in environments where setuptools-injected <code class="docutils literal notranslate"><span class="pre">distutils</span></code> is available by default. This is done by cooperating with setuptools’ injection logic to ensure that pip uses the <code class="docutils literal notranslate"><span class="pre">distutils</span></code> from the Python standard library instead. (<a class="reference external" href="https://github.com/pypa/pip/issues/11298">#11298</a>)</p></li> <li><p>Clarify that <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span></code>’s wheels-related output is about locally built wheels only. (<a class="reference external" href="https://github.com/pypa/pip/issues/11300">#11300</a>)</p></li> </ul> </section> </section> <section id="v22-2"> <span id="id343"></span><h2>22.2 (2022-07-21)<a class="headerlink" href="#v22-2" title="Link to this heading">¶</a></h2> <section id="id344"> <h3>Deprecations and Removals<a class="headerlink" href="#id344" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove the <code class="docutils literal notranslate"><span class="pre">html5lib</span></code> deprecated feature flag. (<a class="reference external" href="https://github.com/pypa/pip/issues/10825">#10825</a>)</p></li> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">--use-deprecated=backtrack-on-build-failures</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11241">#11241</a>)</p></li> </ul> </section> <section id="id347"> <h3>Features<a class="headerlink" href="#id347" title="Link to this heading">¶</a></h3> <ul> <li><p>Add support to use <a class="reference external" href="https://pypi.org/project/truststore/">truststore</a> as an alternative SSL certificate verification backend. The backend can be enabled on Python 3.10 and later by installing <code class="docutils literal notranslate"><span class="pre">truststore</span></code> into the environment, and adding the <code class="docutils literal notranslate"><span class="pre">--use-feature=truststore</span></code> flag to various pip commands.</p> <p><code class="docutils literal notranslate"><span class="pre">truststore</span></code> differs from the current default verification backend (provided by <code class="docutils literal notranslate"><span class="pre">certifi</span></code>) in it uses the operating system’s trust store, which can be better controlled and augmented to better support non-standard certificates. Depending on feedback, pip may switch to this as the default certificate verification backend in the future. (<a class="reference external" href="https://github.com/pypa/pip/issues/11082">#11082</a>)</p> </li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--dry-run</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>, to let it print what it would install but not actually change anything in the target environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/11096">#11096</a>)</p></li> <li><p>Record in wheel cache entries the URL of the original artifact that was downloaded to build the cached wheels. The record is named <code class="docutils literal notranslate"><span class="pre">origin.json</span></code> and uses the PEP 610 Direct URL format. (<a class="reference external" href="https://github.com/pypa/pip/issues/11137">#11137</a>)</p></li> <li><p>Support <a class="reference external" href="https://peps.python.org/pep-0691/">PEP 691</a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11158">#11158</a>)</p></li> <li><p>pip’s deprecation warnings now subclass the built-in <code class="docutils literal notranslate"><span class="pre">DeprecationWarning</span></code>, and can be suppressed by running the Python interpreter with <code class="docutils literal notranslate"><span class="pre">-W</span> <span class="pre">ignore::DeprecationWarning</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/11225">#11225</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">inspect</span></code> command to obtain the list of installed distributions and other information about the Python environment, in JSON format. (<a class="reference external" href="https://github.com/pypa/pip/issues/11245">#11245</a>)</p></li> <li><p>Significantly speed up isolated environment creation, by using the same sources for pip instead of creating a standalone installation for each environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/11257">#11257</a>)</p></li> <li><p>Add an experimental <code class="docutils literal notranslate"><span class="pre">--report</span></code> option to the install command to generate a JSON report of what was installed. In combination with <code class="docutils literal notranslate"><span class="pre">--dry-run</span></code> and <code class="docutils literal notranslate"><span class="pre">--ignore-installed</span></code> it can be used to resolve the requirements. (<a class="reference external" href="https://github.com/pypa/pip/issues/53">#53</a>)</p></li> </ul> </section> <section id="id356"> <h3>Bug Fixes<a class="headerlink" href="#id356" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--pre</span></code> for packages with pre-release build dependencies defined both in <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>’s <code class="docutils literal notranslate"><span class="pre">build-system.requires</span></code> and <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>’s <code class="docutils literal notranslate"><span class="pre">setup_requires</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10222">#10222</a>)</p></li> <li><p>When pip rewrites the shebang line in a script during wheel installation, update the hash and size in the corresponding <code class="docutils literal notranslate"><span class="pre">RECORD</span></code> file entry. (<a class="reference external" href="https://github.com/pypa/pip/issues/10744">#10744</a>)</p></li> <li><p>Do not consider a <code class="docutils literal notranslate"><span class="pre">.dist-info</span></code> directory found inside a wheel-like zip file as metadata for an installed distribution. A package in a wheel is (by definition) not installed, and is not guaranteed to work due to how a wheel is structured. (<a class="reference external" href="https://github.com/pypa/pip/issues/11217">#11217</a>)</p></li> <li><p>Use <code class="docutils literal notranslate"><span class="pre">importlib.resources</span></code> to read the <code class="docutils literal notranslate"><span class="pre">vendor.txt</span></code> file in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">debug</span></code>. This makes the command safe for use from a zipapp. (<a class="reference external" href="https://github.com/pypa/pip/issues/11248">#11248</a>)</p></li> <li><p>Make the <code class="docutils literal notranslate"><span class="pre">--use-pep517</span></code> option of the <code class="docutils literal notranslate"><span class="pre">download</span></code> command apply not just to the requirements specified on the command line, but to their dependencies, as well. (<a class="reference external" href="https://github.com/pypa/pip/issues/9523">#9523</a>)</p></li> </ul> </section> <section id="id362"> <h3>Process<a class="headerlink" href="#id362" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove reliance on the stdlib cgi module, which is deprecated in Python 3.11.</p></li> </ul> </section> <section id="id363"> <h3>Vendored Libraries<a class="headerlink" href="#id363" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove html5lib.</p></li> <li><p>Upgrade certifi to 2022.6.15</p></li> <li><p>Upgrade chardet to 5.0.0</p></li> <li><p>Upgrade colorama to 0.4.5</p></li> <li><p>Upgrade distlib to 0.3.5</p></li> <li><p>Upgrade msgpack to 1.0.4</p></li> <li><p>Upgrade pygments to 2.12.0</p></li> <li><p>Upgrade pyparsing to 3.0.9</p></li> <li><p>Upgrade requests to 2.28.1</p></li> <li><p>Upgrade rich to 12.5.1</p></li> <li><p>Upgrade typing_extensions to 4.3.0</p></li> <li><p>Upgrade urllib3 to 1.26.10</p></li> </ul> </section> </section> <section id="v22-1-2"> <span id="id364"></span><h2>22.1.2 (2022-05-31)<a class="headerlink" href="#v22-1-2" title="Link to this heading">¶</a></h2> <section id="id365"> <h3>Bug Fixes<a class="headerlink" href="#id365" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert <a class="reference external" href="https://github.com/pypa/pip/issues/10979">#10979</a> since it introduced a regression in certain edge cases. (<a class="reference external" href="https://github.com/pypa/pip/issues/10979">#10979</a>)</p></li> <li><p>Fix an incorrect assertion in the logging logic, that prevented the upgrade prompt from being presented. (<a class="reference external" href="https://github.com/pypa/pip/issues/11136">#11136</a>)</p></li> </ul> </section> </section> <section id="v22-1-1"> <span id="id369"></span><h2>22.1.1 (2022-05-20)<a class="headerlink" href="#v22-1-1" title="Link to this heading">¶</a></h2> <section id="id370"> <h3>Bug Fixes<a class="headerlink" href="#id370" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Properly filter out optional dependencies (i.e. extras) when checking build environment distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/11112">#11112</a>)</p></li> <li><p>Change the build environment dependency checking to be opt-in. (<a class="reference external" href="https://github.com/pypa/pip/issues/11116">#11116</a>)</p></li> <li><p>Allow using a pre-release version to satisfy a build requirement. This helps manually populated build environments to more accurately detect build-time requirement conflicts. (<a class="reference external" href="https://github.com/pypa/pip/issues/11123">#11123</a>)</p></li> </ul> </section> </section> <section id="v22-1"> <span id="id374"></span><h2>22.1 (2022-05-11)<a class="headerlink" href="#v22-1" title="Link to this heading">¶</a></h2> <section id="id375"> <h3>Process<a class="headerlink" href="#id375" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Enable the <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code> metadata implementation by default on Python 3.11 (or later). The environment variable <code class="docutils literal notranslate"><span class="pre">_PIP_USE_IMPORTLIB_METADATA</span></code> can still be used to enable the implementation on 3.10 and earlier, or disable it on 3.11 (by setting it to <code class="docutils literal notranslate"><span class="pre">0</span></code> or <code class="docutils literal notranslate"><span class="pre">false</span></code>).</p></li> </ul> </section> <section id="id376"> <h3>Bug Fixes<a class="headerlink" href="#id376" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert <a class="reference external" href="https://github.com/pypa/pip/issues/9243">#9243</a> since it introduced a regression in certain edge cases. (<a class="reference external" href="https://github.com/pypa/pip/issues/10962">#10962</a>)</p></li> <li><p>Fix missing <code class="docutils literal notranslate"><span class="pre">REQUESTED</span></code> metadata when using URL constraints. (<a class="reference external" href="https://github.com/pypa/pip/issues/11079">#11079</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span></code> now normalizes names by converting underscores into dashes. (<a class="reference external" href="https://github.com/pypa/pip/issues/9330">#9330</a>)</p></li> </ul> </section> </section> <section id="b1-2022-04-30"> <span id="v22-1b1"></span><h2>22.1b1 (2022-04-30)<a class="headerlink" href="#b1-2022-04-30" title="Link to this heading">¶</a></h2> <section id="id381"> <h3>Process<a class="headerlink" href="#id381" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Start migration of distribution metadata implementation from <code class="docutils literal notranslate"><span class="pre">pkg_resources</span></code> to <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code>. The new implementation is currently not exposed in any user-facing way, but included in the code base for easier development.</p></li> </ul> </section> <section id="id382"> <h3>Deprecations and Removals<a class="headerlink" href="#id382" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop <code class="docutils literal notranslate"><span class="pre">--use-deprecated=out-of-tree-build</span></code>, according to deprecation message. (<a class="reference external" href="https://github.com/pypa/pip/issues/11001">#11001</a>)</p></li> </ul> </section> <section id="id384"> <h3>Features<a class="headerlink" href="#id384" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add option to install and uninstall commands to opt-out from running-as-root warning. (<a class="reference external" href="https://github.com/pypa/pip/issues/10556">#10556</a>)</p></li> <li><p>Include Project-URLs in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> output. (<a class="reference external" href="https://github.com/pypa/pip/issues/10799">#10799</a>)</p></li> <li><p>Improve error message when <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span> <span class="pre">edit</span></code> is provided an editor that doesn’t exist. (<a class="reference external" href="https://github.com/pypa/pip/issues/10812">#10812</a>)</p></li> <li><p>Add a user interface for supplying config settings to build backends. (<a class="reference external" href="https://github.com/pypa/pip/issues/11059">#11059</a>)</p></li> <li><p>Add support for Powershell autocompletion. (<a class="reference external" href="https://github.com/pypa/pip/issues/9024">#9024</a>)</p></li> <li><p>Explains why specified version cannot be retrieved when <em>Requires-Python</em> is not satisfied. (<a class="reference external" href="https://github.com/pypa/pip/issues/9615">#9615</a>)</p></li> <li><p>Validate build dependencies when using <code class="docutils literal notranslate"><span class="pre">--no-build-isolation</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9794">#9794</a>)</p></li> </ul> </section> <section id="id392"> <h3>Bug Fixes<a class="headerlink" href="#id392" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix conditional checks to prevent <code class="docutils literal notranslate"><span class="pre">pip.exe</span></code> from trying to modify itself, on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/10560">#10560</a>)</p></li> <li><p>Fix uninstall editable from Windows junction link. (<a class="reference external" href="https://github.com/pypa/pip/issues/10696">#10696</a>)</p></li> <li><p>Fallback to pyproject.toml-based builds if <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> is present in a project, but <code class="docutils literal notranslate"><span class="pre">setuptools</span></code> cannot be imported. (<a class="reference external" href="https://github.com/pypa/pip/issues/10717">#10717</a>)</p></li> <li><p>When checking for conflicts in the build environment, correctly skip requirements containing markers that do not match the current environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/10883">#10883</a>)</p></li> <li><p>Disable brotli import in vendored urllib3 so brotli could be uninstalled/upgraded by pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/10950">#10950</a>)</p></li> <li><p>Prioritize URL credentials over netrc. (<a class="reference external" href="https://github.com/pypa/pip/issues/10979">#10979</a>)</p></li> <li><p>Filter available distributions using hash declarations from constraints files. (<a class="reference external" href="https://github.com/pypa/pip/issues/9243">#9243</a>)</p></li> <li><p>Fix an error when trying to uninstall packages installed as editable from a network drive. (<a class="reference external" href="https://github.com/pypa/pip/issues/9452">#9452</a>)</p></li> <li><p>Fix pip install issues using a proxy due to an inconsistency in how Requests is currently handling variable precedence in session. (<a class="reference external" href="https://github.com/pypa/pip/issues/9691">#9691</a>)</p></li> </ul> </section> <section id="id402"> <h3>Vendored Libraries<a class="headerlink" href="#id402" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade CacheControl to 0.12.11</p></li> <li><p>Upgrade distro to 1.7.0</p></li> <li><p>Upgrade platformdirs to 2.5.2</p></li> <li><p>Remove <code class="docutils literal notranslate"><span class="pre">progress</span></code> from vendored dependencies.</p></li> <li><p>Upgrade <code class="docutils literal notranslate"><span class="pre">pyparsing</span></code> to 3.0.8 for startup performance improvements.</p></li> <li><p>Upgrade rich to 12.2.0</p></li> <li><p>Upgrade tomli to 2.0.1</p></li> <li><p>Upgrade typing_extensions to 4.2.0</p></li> </ul> </section> <section id="id403"> <h3>Improved Documentation<a class="headerlink" href="#id403" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add more dedicated topic and reference pages to the documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/10899">#10899</a>)</p></li> <li><p>Capitalise Y as the default for “Proceed (y/n)?” when uninstalling. (<a class="reference external" href="https://github.com/pypa/pip/issues/10936">#10936</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">scheme://</span></code> requirement to <code class="docutils literal notranslate"><span class="pre">--proxy</span></code> option’s description (<a class="reference external" href="https://github.com/pypa/pip/issues/10951">#10951</a>)</p></li> <li><p>The wheel command now references the build interface section instead of stating the legacy setuptools behavior as the default. (<a class="reference external" href="https://github.com/pypa/pip/issues/10972">#10972</a>)</p></li> <li><p>Improved usefulness of <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span> <span class="pre">--help</span></code> output. (<a class="reference external" href="https://github.com/pypa/pip/issues/11074">#11074</a>)</p></li> </ul> </section> </section> <section id="v22-0-4"> <span id="id409"></span><h2>22.0.4 (2022-03-06)<a class="headerlink" href="#v22-0-4" title="Link to this heading">¶</a></h2> <section id="id410"> <h3>Deprecations and Removals<a class="headerlink" href="#id410" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop the doctype check, that presented a warning for index pages that use non-compliant HTML 5. (<a class="reference external" href="https://github.com/pypa/pip/issues/10903">#10903</a>)</p></li> </ul> </section> <section id="id412"> <h3>Vendored Libraries<a class="headerlink" href="#id412" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Downgrade distlib to 0.3.3.</p></li> </ul> </section> </section> <section id="v22-0-3"> <span id="id413"></span><h2>22.0.3 (2022-02-03)<a class="headerlink" href="#v22-0-3" title="Link to this heading">¶</a></h2> <section id="id414"> <h3>Features<a class="headerlink" href="#id414" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Print the exception via <code class="docutils literal notranslate"><span class="pre">rich.traceback</span></code>, when running with <code class="docutils literal notranslate"><span class="pre">--debug</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10791">#10791</a>)</p></li> </ul> </section> <section id="id416"> <h3>Bug Fixes<a class="headerlink" href="#id416" title="Link to this heading">¶</a></h3> <ul> <li><p>Only calculate topological installation order, for packages that are going to be installed/upgraded.</p> <p>This fixes an <cite>AssertionError</cite> that occurred when determining installation order, for a very specific combination of upgrading-already-installed-package + change of dependencies + fetching some packages from a package index. This combination was especially common in Read the Docs’ builds. (<a class="reference external" href="https://github.com/pypa/pip/issues/10851">#10851</a>)</p> </li> <li><p>Use <code class="docutils literal notranslate"><span class="pre">html.parser</span></code> by default, instead of falling back to <code class="docutils literal notranslate"><span class="pre">html5lib</span></code> when <code class="docutils literal notranslate"><span class="pre">--use-deprecated=html5lib</span></code> is not passed. (<a class="reference external" href="https://github.com/pypa/pip/issues/10869">#10869</a>)</p></li> </ul> </section> <section id="id419"> <h3>Improved Documentation<a class="headerlink" href="#id419" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Clarify that using per-requirement overrides disables the usage of wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/9674">#9674</a>)</p></li> </ul> </section> </section> <section id="v22-0-2"> <span id="id421"></span><h2>22.0.2 (2022-01-30)<a class="headerlink" href="#v22-0-2" title="Link to this heading">¶</a></h2> <section id="id422"> <h3>Deprecations and Removals<a class="headerlink" href="#id422" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Instead of failing on index pages that use non-compliant HTML 5, print a deprecation warning and fall back to <code class="docutils literal notranslate"><span class="pre">html5lib</span></code>-based parsing for now. This simplifies the migration for non-compliant index pages, by letting such indexes function with a warning. (<a class="reference external" href="https://github.com/pypa/pip/issues/10847">#10847</a>)</p></li> </ul> </section> </section> <section id="v22-0-1"> <span id="id424"></span><h2>22.0.1 (2022-01-30)<a class="headerlink" href="#v22-0-1" title="Link to this heading">¶</a></h2> <section id="id425"> <h3>Bug Fixes<a class="headerlink" href="#id425" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Accept lowercase <code class="docutils literal notranslate"><span class="pre"><!doctype</span> <span class="pre">html></span></code> on index pages. (<a class="reference external" href="https://github.com/pypa/pip/issues/10844">#10844</a>)</p></li> <li><p>Properly handle links parsed by html5lib, when using <code class="docutils literal notranslate"><span class="pre">--use-deprecated=html5lib</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10846">#10846</a>)</p></li> </ul> </section> </section> <section id="v22-0"> <span id="id428"></span><h2>22.0 (2022-01-29)<a class="headerlink" href="#v22-0" title="Link to this heading">¶</a></h2> <section id="id429"> <h3>Process<a class="headerlink" href="#id429" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Completely replace <a class="reference external" href="https://pypi.org/project/tox">tox</a> in our development workflow, with <a class="reference external" href="https://pypi.org/project/nox">nox</a>.</p></li> </ul> </section> <section id="id430"> <h3>Deprecations and Removals<a class="headerlink" href="#id430" title="Link to this heading">¶</a></h3> <ul> <li><p>Deprecate alternative progress bar styles, leaving only <code class="docutils literal notranslate"><span class="pre">on</span></code> and <code class="docutils literal notranslate"><span class="pre">off</span></code> as available choices. (<a class="reference external" href="https://github.com/pypa/pip/issues/10462">#10462</a>)</p></li> <li><p>Drop support for Python 3.6. (<a class="reference external" href="https://github.com/pypa/pip/issues/10641">#10641</a>)</p></li> <li><p>Disable location mismatch warnings on Python versions prior to 3.10.</p> <p>These warnings were helping identify potential issues as part of the sysconfig -> distutils transition, and we no longer need to rely on reports from older Python versions for information on the transition. (<a class="reference external" href="https://github.com/pypa/pip/issues/10840">#10840</a>)</p> </li> </ul> </section> <section id="id434"> <h3>Features<a class="headerlink" href="#id434" title="Link to this heading">¶</a></h3> <ul> <li><p>Changed <code class="docutils literal notranslate"><span class="pre">PackageFinder</span></code> to parse HTML documents using the stdlib <a class="reference external" href="https://docs.python.org/3/library/html.parser.html#html.parser.HTMLParser" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">html.parser.HTMLParser</span></code></a> class instead of the <code class="docutils literal notranslate"><span class="pre">html5lib</span></code> package.</p> <p>For now, the deprecated <code class="docutils literal notranslate"><span class="pre">html5lib</span></code> code remains and can be used with the <code class="docutils literal notranslate"><span class="pre">--use-deprecated=html5lib</span></code> command line option. However, it will be removed in a future pip release. (<a class="reference external" href="https://github.com/pypa/pip/issues/10291">#10291</a>)</p> </li> <li><p>Utilise <code class="docutils literal notranslate"><span class="pre">rich</span></code> for presenting pip’s default download progress bar. (<a class="reference external" href="https://github.com/pypa/pip/issues/10462">#10462</a>)</p></li> <li><p>Present a better error message when an invalid wheel file is encountered, providing more context where the invalid wheel file is. (<a class="reference external" href="https://github.com/pypa/pip/issues/10535">#10535</a>)</p></li> <li><p>Documents the <code class="docutils literal notranslate"><span class="pre">--require-virtualenv</span></code> flag for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10588">#10588</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre"><tab></span></code> autocompletes paths. (<a class="reference external" href="https://github.com/pypa/pip/issues/10646">#10646</a>)</p></li> <li><p>Allow Python distributors to opt-out from or opt-in to the <code class="docutils literal notranslate"><span class="pre">sysconfig</span></code> installation scheme backend by setting <code class="docutils literal notranslate"><span class="pre">sysconfig._PIP_USE_SYSCONFIG</span></code> to <code class="docutils literal notranslate"><span class="pre">True</span></code> or <code class="docutils literal notranslate"><span class="pre">False</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10647">#10647</a>)</p></li> <li><p>Make it possible to deselect tests requiring cryptography package on systems where it cannot be installed. (<a class="reference external" href="https://github.com/pypa/pip/issues/10686">#10686</a>)</p></li> <li><p>Start using Rich for presenting error messages in a consistent format. (<a class="reference external" href="https://github.com/pypa/pip/issues/10703">#10703</a>)</p></li> <li><p>Improve presentation of errors from subprocesses. (<a class="reference external" href="https://github.com/pypa/pip/issues/10705">#10705</a>)</p></li> <li><p>Forward pip’s verbosity configuration to VCS tools to control their output accordingly. (<a class="reference external" href="https://github.com/pypa/pip/issues/8819">#8819</a>)</p></li> </ul> </section> <section id="id445"> <h3>Bug Fixes<a class="headerlink" href="#id445" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Optimize installation order calculation to improve performance when installing requirements that form a complex dependency graph with a large amount of edges. (<a class="reference external" href="https://github.com/pypa/pip/issues/10557">#10557</a>)</p></li> <li><p>When a package is requested by the user for upgrade, correctly identify that the extra-ed variant of that same package depended by another user-requested package is requesting the same package, and upgrade it accordingly. (<a class="reference external" href="https://github.com/pypa/pip/issues/10613">#10613</a>)</p></li> <li><p>Prevent pip from installing yanked releases unless explicitly pinned via the <code class="docutils literal notranslate"><span class="pre">==</span></code> or <code class="docutils literal notranslate"><span class="pre">===</span></code> operators. (<a class="reference external" href="https://github.com/pypa/pip/issues/10617">#10617</a>)</p></li> <li><p>Stop backtracking on build failures, by instead surfacing them to the user and aborting immediately. This behaviour provides more immediate feedback when a package cannot be built due to missing build dependencies or platform incompatibility. (<a class="reference external" href="https://github.com/pypa/pip/issues/10655">#10655</a>)</p></li> <li><p>Silence <code class="docutils literal notranslate"><span class="pre">Value</span> <span class="pre">for</span> <span class="pre"><location></span> <span class="pre">does</span> <span class="pre">not</span> <span class="pre">match</span></code> warning caused by an erroneous patch in Slackware-distributed Python 3.9. (<a class="reference external" href="https://github.com/pypa/pip/issues/10668">#10668</a>)</p></li> <li><p>Fix an issue where pip did not consider dependencies with and without extras to be equal (<a class="reference external" href="https://github.com/pypa/pip/issues/9644">#9644</a>)</p></li> </ul> </section> <section id="id452"> <h3>Vendored Libraries<a class="headerlink" href="#id452" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade CacheControl to 0.12.10</p></li> <li><p>Upgrade certifi to 2021.10.8</p></li> <li><p>Upgrade distlib to 0.3.4</p></li> <li><p>Upgrade idna to 3.3</p></li> <li><p>Upgrade msgpack to 1.0.3</p></li> <li><p>Upgrade packaging to 21.3</p></li> <li><p>Upgrade platformdirs to 2.4.1</p></li> <li><p>Add pygments 2.11.2 as a vendored dependency.</p></li> <li><p>Tree-trim unused portions of vendored pygments, to reduce the distribution size.</p></li> <li><p>Upgrade pyparsing to 3.0.7</p></li> <li><p>Upgrade Requests to 2.27.1</p></li> <li><p>Upgrade resolvelib to 0.8.1</p></li> <li><p>Add rich 11.0.0 as a vendored dependency.</p></li> <li><p>Tree-trim unused portions of vendored rich, to reduce the distribution size.</p></li> <li><p>Add typing_extensions 4.0.1 as a vendored dependency.</p></li> <li><p>Upgrade urllib3 to 1.26.8</p></li> </ul> </section> </section> <section id="v21-3-1"> <span id="id453"></span><h2>21.3.1 (2021-10-22)<a class="headerlink" href="#v21-3-1" title="Link to this heading">¶</a></h2> <section id="id454"> <h3>Bug Fixes<a class="headerlink" href="#id454" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Always refuse installing or building projects that have no <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> nor <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10531">#10531</a>)</p></li> <li><p>Tweak running-as-root detection, to check <code class="docutils literal notranslate"><span class="pre">os.getuid</span></code> if it exists, on Unix-y and non-Linux/non-MacOS machines. (<a class="reference external" href="https://github.com/pypa/pip/issues/10565">#10565</a>)</p></li> <li><p>When installing projects with a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> in editable mode, and the build backend does not support <span class="target" id="index-19"></span><a class="pep reference external" href="https://peps.python.org/pep-0660/"><strong>PEP 660</strong></a>, prepare metadata using <code class="docutils literal notranslate"><span class="pre">prepare_metadata_for_build_wheel</span></code> instead of <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">egg_info</span></code>. Also, refuse installing projects that only have a <code class="docutils literal notranslate"><span class="pre">setup.cfg</span></code> and no <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> nor <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>. These restore the pre-21.3 behaviour. (<a class="reference external" href="https://github.com/pypa/pip/issues/10573">#10573</a>)</p></li> <li><p>Restore compatibility of where configuration files are loaded from on MacOS (back to <code class="docutils literal notranslate"><span class="pre">Library/Application</span> <span class="pre">Support/pip</span></code>, instead of <code class="docutils literal notranslate"><span class="pre">Preferences/pip</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/10585">#10585</a>)</p></li> </ul> </section> <section id="id459"> <h3>Vendored Libraries<a class="headerlink" href="#id459" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade pep517 to 0.12.0</p></li> </ul> </section> </section> <section id="v21-3"> <span id="id460"></span><h2>21.3 (2021-10-11)<a class="headerlink" href="#v21-3" title="Link to this heading">¶</a></h2> <section id="id461"> <h3>Deprecations and Removals<a class="headerlink" href="#id461" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Improve deprecation warning regarding the copying of source trees when installing from a local directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/10128">#10128</a>)</p></li> <li><p>Suppress location mismatch warnings when pip is invoked from a Python source tree, so <code class="docutils literal notranslate"><span class="pre">ensurepip</span></code> does not emit warnings on CPython <code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">install</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10270">#10270</a>)</p></li> <li><p>On Python 3.10 or later, the installation scheme backend has been changed to use <code class="docutils literal notranslate"><span class="pre">sysconfig</span></code>. This is to anticipate the deprecation of <code class="docutils literal notranslate"><span class="pre">distutils</span></code> in Python 3.10, and its scheduled removal in 3.12. For compatibility considerations, pip installations running on Python 3.9 or lower will continue to use <code class="docutils literal notranslate"><span class="pre">distutils</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10358">#10358</a>)</p></li> <li><p>Remove the <code class="docutils literal notranslate"><span class="pre">--build-dir</span></code> option and aliases, one last time. (<a class="reference external" href="https://github.com/pypa/pip/issues/10485">#10485</a>)</p></li> <li><p>In-tree builds are now the default. <code class="docutils literal notranslate"><span class="pre">--use-feature=in-tree-build</span></code> is now ignored. <code class="docutils literal notranslate"><span class="pre">--use-deprecated=out-of-tree-build</span></code> may be used temporarily to ease the transition. (<a class="reference external" href="https://github.com/pypa/pip/issues/10495">#10495</a>)</p></li> <li><p>Un-deprecate source distribution re-installation behaviour. (<a class="reference external" href="https://github.com/pypa/pip/issues/8711">#8711</a>)</p></li> </ul> </section> <section id="id468"> <h3>Features<a class="headerlink" href="#id468" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Replace vendored appdirs with platformdirs. (<a class="reference external" href="https://github.com/pypa/pip/issues/10202">#10202</a>)</p></li> <li><p>Support <a class="reference external" href="https://www.python.org/dev/peps/pep-0610/">PEP 610</a> to detect editable installs in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>. The <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> column output has a new <code class="docutils literal notranslate"><span class="pre">Editable</span> <span class="pre">project</span> <span class="pre">location</span></code> column, and the JSON output has a new <code class="docutils literal notranslate"><span class="pre">editable_project_location</span></code> field. (<a class="reference external" href="https://github.com/pypa/pip/issues/10249">#10249</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> will now always fallback to reporting the editable project location when it encounters a VCS error while analyzing an editable requirement. Before, it sometimes reported the requirement as non-editable. (<a class="reference external" href="https://github.com/pypa/pip/issues/10410">#10410</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> now sorts <code class="docutils literal notranslate"><span class="pre">Requires</span></code> and <code class="docutils literal notranslate"><span class="pre">Required-By</span></code> alphabetically. (<a class="reference external" href="https://github.com/pypa/pip/issues/10422">#10422</a>)</p></li> <li><p>Do not raise error when there are no files to remove with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">purge/remove</span></code>. Instead log a warning and continue (to log that we removed 0 files). (<a class="reference external" href="https://github.com/pypa/pip/issues/10459">#10459</a>)</p></li> <li><p>When backtracking during dependency resolution, prefer the dependencies which are involved in the most recent conflict. This can significantly reduce the amount of backtracking required. (<a class="reference external" href="https://github.com/pypa/pip/issues/10479">#10479</a>)</p></li> <li><p>Cache requirement objects, to improve performance reducing reparses of requirement strings. (<a class="reference external" href="https://github.com/pypa/pip/issues/10550">#10550</a>)</p></li> <li><p>Support editable installs for projects that have a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> and use a build backend that supports <span class="target" id="index-20"></span><a class="pep reference external" href="https://peps.python.org/pep-0660/"><strong>PEP 660</strong></a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8212">#8212</a>)</p></li> <li><p>When a revision is specified in a Git URL, use git’s partial clone feature to speed up source retrieval. (<a class="reference external" href="https://github.com/pypa/pip/issues/9086">#9086</a>)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--debug</span></code> flag, to enable a mode that doesn’t log errors and propagates them to the top level instead. This is primarily to aid with debugging pip’s crashes. (<a class="reference external" href="https://github.com/pypa/pip/issues/9349">#9349</a>)</p></li> <li><p>If a host is explicitly specified as trusted by the user (via the --trusted-host option), cache HTTP responses from it in addition to HTTPS ones. (<a class="reference external" href="https://github.com/pypa/pip/issues/9498">#9498</a>)</p></li> </ul> </section> <section id="id480"> <h3>Bug Fixes<a class="headerlink" href="#id480" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Present a better error message, when a <code class="docutils literal notranslate"><span class="pre">file:</span></code> URL is not found. (<a class="reference external" href="https://github.com/pypa/pip/issues/10263">#10263</a>)</p></li> <li><p>Fix the auth credential cache to allow for the case in which the index url contains the username, but the password comes from an external source, such as keyring. (<a class="reference external" href="https://github.com/pypa/pip/issues/10269">#10269</a>)</p></li> <li><p>Fix double unescape of HTML <code class="docutils literal notranslate"><span class="pre">data-requires-python</span></code> and <code class="docutils literal notranslate"><span class="pre">data-yanked</span></code> attributes. (<a class="reference external" href="https://github.com/pypa/pip/issues/10378">#10378</a>)</p></li> <li><p>New resolver: Fixes depth ordering of packages during resolution, e.g. a dependency 2 levels deep will be ordered before a dependency 3 levels deep. (<a class="reference external" href="https://github.com/pypa/pip/issues/10482">#10482</a>)</p></li> <li><p>Correctly indent metadata preparation messages in pip output. (<a class="reference external" href="https://github.com/pypa/pip/issues/10524">#10524</a>)</p></li> </ul> </section> <section id="id486"> <h3>Vendored Libraries<a class="headerlink" href="#id486" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove appdirs as a vendored dependency.</p></li> <li><p>Upgrade distlib to 0.3.3</p></li> <li><p>Upgrade distro to 1.6.0</p></li> <li><p>Patch pkg_resources to use platformdirs rather than appdirs.</p></li> <li><p>Add platformdirs as a vendored dependency.</p></li> <li><p>Upgrade progress to 1.6</p></li> <li><p>Upgrade resolvelib to 0.8.0</p></li> <li><p>Upgrade urllib3 to 1.26.7</p></li> </ul> </section> <section id="id487"> <h3>Improved Documentation<a class="headerlink" href="#id487" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update links of setuptools as setuptools moved these documents. The Simple Repository link now points to PyPUG as that is the canonical place of packaging specification, and setuptools’s <code class="docutils literal notranslate"><span class="pre">easy_install</span></code> is deprecated. (<a class="reference external" href="https://github.com/pypa/pip/issues/10430">#10430</a>)</p></li> <li><p>Create a “Build System Interface” reference section, for documenting how pip interacts with build systems. (<a class="reference external" href="https://github.com/pypa/pip/issues/10497">#10497</a>)</p></li> </ul> </section> </section> <section id="v21-2-4"> <span id="id490"></span><h2>21.2.4 (2021-08-12)<a class="headerlink" href="#v21-2-4" title="Link to this heading">¶</a></h2> <section id="id491"> <h3>Bug Fixes<a class="headerlink" href="#id491" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix 3.6.0 compatibility in link comparison logic. (<a class="reference external" href="https://github.com/pypa/pip/issues/10280">#10280</a>)</p></li> </ul> </section> </section> <section id="v21-2-3"> <span id="id493"></span><h2>21.2.3 (2021-08-06)<a class="headerlink" href="#v21-2-3" title="Link to this heading">¶</a></h2> <section id="id494"> <h3>Bug Fixes<a class="headerlink" href="#id494" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Modify the <code class="docutils literal notranslate"><span class="pre">sysconfig.get_preferred_scheme</span></code> function check to be compatible with CPython 3.10’s alphareleases. (<a class="reference external" href="https://github.com/pypa/pip/issues/10252">#10252</a>)</p></li> </ul> </section> </section> <section id="v21-2-2"> <span id="id496"></span><h2>21.2.2 (2021-07-31)<a class="headerlink" href="#v21-2-2" title="Link to this heading">¶</a></h2> <section id="id497"> <h3>Bug Fixes<a class="headerlink" href="#id497" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: When a package is specified with extras in constraints, and with extras in non-constraint requirements, the resolver now correctly identifies the constraint’s existence and avoids backtracking. (<a class="reference external" href="https://github.com/pypa/pip/issues/10233">#10233</a>)</p></li> </ul> </section> </section> <section id="v21-2-1"> <span id="id499"></span><h2>21.2.1 (2021-07-25)<a class="headerlink" href="#v21-2-1" title="Link to this heading">¶</a></h2> <section id="id500"> <h3>Process<a class="headerlink" href="#id500" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>The source distribution re-installation feature removal has been delayed to 21.3.</p></li> </ul> </section> </section> <section id="v21-2"> <span id="id501"></span><h2>21.2 (2021-07-24)<a class="headerlink" href="#v21-2" title="Link to this heading">¶</a></h2> <section id="id502"> <h3>Process<a class="headerlink" href="#id502" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>, <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>, and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> no longer normalize underscore (<code class="docutils literal notranslate"><span class="pre">_</span></code>) in distribution names to dash (<code class="docutils literal notranslate"><span class="pre">-</span></code>). This is a side effect of the migration to <code class="docutils literal notranslate"><span class="pre">importlib.metadata</span></code>, since the underscore-dash normalization behavior is non-standard and specific to setuptools. This should not affect other parts of pip (for example, when feeding the <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> result back into <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>) since pip internally performs standard PEP 503 normalization independently to setuptools.</p></li> </ul> </section> <section id="id503"> <h3>Deprecations and Removals<a class="headerlink" href="#id503" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Git version parsing is now done with regular expression to prepare for the pending upstream removal of non-PEP-440 version parsing logic. (<a class="reference external" href="https://github.com/pypa/pip/issues/10117">#10117</a>)</p></li> <li><p>Re-enable the “Value for … does not match” location warnings to field a new round of feedback for the <code class="docutils literal notranslate"><span class="pre">distutils</span></code>-<code class="docutils literal notranslate"><span class="pre">sysconfig</span></code> transition. (<a class="reference external" href="https://github.com/pypa/pip/issues/10151">#10151</a>)</p></li> <li><p>Remove deprecated <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> option in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/9069">#9069</a>)</p></li> </ul> </section> <section id="id507"> <h3>Features<a class="headerlink" href="#id507" title="Link to this heading">¶</a></h3> <ul> <li><p>New resolver: Loosen URL comparison logic when checking for direct URL reference equivalency. The logic includes the following notable characteristics:</p> <ul class="simple"> <li><p>The authentication part of the URL is explicitly ignored.</p></li> <li><p>Most of the fragment part, including <code class="docutils literal notranslate"><span class="pre">egg=</span></code>, is explicitly ignored. Only <code class="docutils literal notranslate"><span class="pre">subdirectory=</span></code> and hash values (e.g. <code class="docutils literal notranslate"><span class="pre">sha256=</span></code>) are kept.</p></li> <li><p>The query part of the URL is parsed to allow ordering differences. (<a class="reference external" href="https://github.com/pypa/pip/issues/10002">#10002</a>)</p></li> </ul> </li> <li><p>Support TOML v1.0.0 syntax in <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10034">#10034</a>)</p></li> <li><p>Added a warning message for errors caused due to Long Paths being disabled on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/10045">#10045</a>)</p></li> <li><p>Change the encoding of log file from default text encoding to UTF-8. (<a class="reference external" href="https://github.com/pypa/pip/issues/10071">#10071</a>)</p></li> <li><p>Log the resolved commit SHA when installing a package from a Git repository. (<a class="reference external" href="https://github.com/pypa/pip/issues/10149">#10149</a>)</p></li> <li><p>Add a warning when passing an invalid requirement to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">uninstall</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/4958">#4958</a>)</p></li> <li><p>Add new subcommand <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">index</span></code> used to interact with indexes, and implement <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">index</span> <span class="pre">version</span></code> to list available versions of a package. (<a class="reference external" href="https://github.com/pypa/pip/issues/7975">#7975</a>)</p></li> <li><p>When pip is asked to uninstall a project without the dist-info/RECORD file it will no longer traceback with FileNotFoundError, but it will provide a better error message instead, such as:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">ERROR</span><span class="p">:</span> <span class="n">Cannot</span> <span class="n">uninstall</span> <span class="n">foobar</span> <span class="mf">0.1</span><span class="p">,</span> <span class="n">RECORD</span> <span class="n">file</span> <span class="ow">not</span> <span class="n">found</span><span class="o">.</span> <span class="n">You</span> <span class="n">might</span> <span class="n">be</span> <span class="n">able</span> <span class="n">to</span> <span class="n">recover</span> <span class="kn">from</span> <span class="nn">this</span> <span class="n">via</span><span class="p">:</span> <span class="s1">'pip install --force-reinstall --no-deps foobar==0.1'</span><span class="o">.</span> </pre></div> </div> <p>When dist-info/INSTALLER is present and contains some useful information, the info is included in the error message instead:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">ERROR</span><span class="p">:</span> <span class="n">Cannot</span> <span class="n">uninstall</span> <span class="n">foobar</span> <span class="mf">0.1</span><span class="p">,</span> <span class="n">RECORD</span> <span class="n">file</span> <span class="ow">not</span> <span class="n">found</span><span class="o">.</span> <span class="n">Hint</span><span class="p">:</span> <span class="n">The</span> <span class="n">package</span> <span class="n">was</span> <span class="n">installed</span> <span class="n">by</span> <span class="n">rpm</span><span class="o">.</span> </pre></div> </div> <p>(<a class="reference external" href="https://github.com/pypa/pip/issues/8954">#8954</a>)</p> </li> <li><p>Add an additional level of verbosity. <code class="docutils literal notranslate"><span class="pre">--verbose</span></code> (and the shorthand <code class="docutils literal notranslate"><span class="pre">-v</span></code>) now contains significantly less output, and users that need complete full debug-level output should pass it twice (<code class="docutils literal notranslate"><span class="pre">--verbose</span> <span class="pre">--verbose</span></code> or <code class="docutils literal notranslate"><span class="pre">-vv</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/9450">#9450</a>)</p></li> <li><p>New resolver: The order of dependencies resolution has been tweaked to traverse the dependency graph in a more breadth-first approach. (<a class="reference external" href="https://github.com/pypa/pip/issues/9455">#9455</a>)</p></li> <li><p>Make “yes” the default choice in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">uninstall</span></code>’s prompt. (<a class="reference external" href="https://github.com/pypa/pip/issues/9686">#9686</a>)</p></li> <li><p>Add a special error message when users forget the <code class="docutils literal notranslate"><span class="pre">-r</span></code> flag when installing. (<a class="reference external" href="https://github.com/pypa/pip/issues/9915">#9915</a>)</p></li> <li><p>New resolver: A distribution’s <code class="docutils literal notranslate"><span class="pre">Requires-Python</span></code> metadata is now checked before its Python dependencies. This makes the resolver fail quicker when there’s an interpreter version conflict. (<a class="reference external" href="https://github.com/pypa/pip/issues/9925">#9925</a>)</p></li> <li><p>Suppress “not on PATH” warning when <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> is given. (<a class="reference external" href="https://github.com/pypa/pip/issues/9931">#9931</a>)</p></li> <li><p>Include <code class="docutils literal notranslate"><span class="pre">rustc</span></code> version in pip’s <code class="docutils literal notranslate"><span class="pre">User-Agent</span></code>, when the system has <code class="docutils literal notranslate"><span class="pre">rustc</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9987">#9987</a>)</p></li> </ul> </section> <section id="id523"> <h3>Bug Fixes<a class="headerlink" href="#id523" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update vendored six to 1.16.0 and urllib3 to 1.26.5 (<a class="reference external" href="https://github.com/pypa/pip/issues/10043">#10043</a>)</p></li> <li><p>Correctly allow PEP 517 projects to be detected without warnings in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/10080">#10080</a>)</p></li> <li><p>Strip leading slash from a <code class="docutils literal notranslate"><span class="pre">file://</span></code> URL built from an path with the Windows drive notation. This fixes bugs where the <code class="docutils literal notranslate"><span class="pre">file://</span></code> URL cannot be correctly used as requirement, constraint, or index URLs on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/10115">#10115</a>)</p></li> <li><p>New resolver: URL comparison logic now treats <code class="docutils literal notranslate"><span class="pre">file://localhost/</span></code> and <code class="docutils literal notranslate"><span class="pre">file:///</span></code> as equivalent to conform to RFC 8089. (<a class="reference external" href="https://github.com/pypa/pip/issues/10162">#10162</a>)</p></li> <li><p>Prefer credentials from the URL over the previously-obtained credentials from URLs of the same domain, so it is possible to use different credentials on the same index server for different <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code> options. (<a class="reference external" href="https://github.com/pypa/pip/issues/3931">#3931</a>)</p></li> <li><p>Fix extraction of files with utf-8 encoded paths from tars. (<a class="reference external" href="https://github.com/pypa/pip/issues/7667">#7667</a>)</p></li> <li><p>Skip distutils configuration parsing on encoding errors. (<a class="reference external" href="https://github.com/pypa/pip/issues/8931">#8931</a>)</p></li> <li><p>New resolver: Detect an unnamed requirement is user-specified (by building its metadata for the project name) so it can be correctly ordered in the resolver. (<a class="reference external" href="https://github.com/pypa/pip/issues/9204">#9204</a>)</p></li> <li><p>Fix <a class="reference internal" href="cli/pip_freeze.html#pip-freeze"><span class="std std-ref">pip freeze</span></a> to output packages <a class="reference internal" href="topics/vcs-support.html#vcs-support"><span class="std std-ref">installed from git</span></a> in the correct <code class="docutils literal notranslate"><span class="pre">git+protocol://git.example.com/MyProject#egg=MyProject</span></code> format rather than the old and no longer supported <code class="docutils literal notranslate"><span class="pre">git+git@</span></code> format. (<a class="reference external" href="https://github.com/pypa/pip/issues/9822">#9822</a>)</p></li> <li><p>Fix warnings about install scheme selection for Python framework builds distributed by Apple’s Command Line Tools. (<a class="reference external" href="https://github.com/pypa/pip/issues/9844">#9844</a>)</p></li> <li><p>Relax interpreter detection to quelch a location mismatch warning where PyPy is deliberately breaking backwards compatibility. (<a class="reference external" href="https://github.com/pypa/pip/issues/9845">#9845</a>)</p></li> </ul> </section> <section id="id535"> <h3>Vendored Libraries<a class="headerlink" href="#id535" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2021.05.30.</p></li> <li><p>Upgrade idna to 3.2.</p></li> <li><p>Upgrade packaging to 21.0</p></li> <li><p>Upgrade requests to 2.26.0.</p></li> <li><p>Upgrade resolvelib to 0.7.1.</p></li> <li><p>Upgrade urllib3 to 1.26.6.</p></li> </ul> </section> </section> <section id="v21-1-3"> <span id="id536"></span><h2>21.1.3 (2021-06-26)<a class="headerlink" href="#v21-1-3" title="Link to this heading">¶</a></h2> <section id="id537"> <h3>Bug Fixes<a class="headerlink" href="#id537" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove unused optional <code class="docutils literal notranslate"><span class="pre">tornado</span></code> import in vendored <code class="docutils literal notranslate"><span class="pre">tenacity</span></code> to prevent old versions of Tornado from breaking pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/10020">#10020</a>)</p></li> <li><p>Require <code class="docutils literal notranslate"><span class="pre">setup.cfg</span></code>-only projects to be built via PEP 517, by requiring an explicit dependency on setuptools declared in pyproject.toml. (<a class="reference external" href="https://github.com/pypa/pip/issues/10031">#10031</a>)</p></li> </ul> </section> </section> <section id="v21-1-2"> <span id="id540"></span><h2>21.1.2 (2021-05-23)<a class="headerlink" href="#v21-1-2" title="Link to this heading">¶</a></h2> <section id="id541"> <h3>Bug Fixes<a class="headerlink" href="#id541" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: Correctly exclude an already installed package if its version is known to be incompatible to stop the dependency resolution process with a clear error message. (<a class="reference external" href="https://github.com/pypa/pip/issues/9841">#9841</a>)</p></li> <li><p>Allow ZIP to archive files with timestamps earlier than 1980. (<a class="reference external" href="https://github.com/pypa/pip/issues/9910">#9910</a>)</p></li> <li><p>Emit clearer error message when a project root does not contain either <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>, <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> or <code class="docutils literal notranslate"><span class="pre">setup.cfg</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9944">#9944</a>)</p></li> <li><p>Fix detection of existing standalone pip instance for PEP 517 builds. (<a class="reference external" href="https://github.com/pypa/pip/issues/9953">#9953</a>)</p></li> </ul> </section> </section> <section id="v21-1-1"> <span id="id546"></span><h2>21.1.1 (2021-04-30)<a class="headerlink" href="#v21-1-1" title="Link to this heading">¶</a></h2> <section id="id547"> <h3>Deprecations and Removals<a class="headerlink" href="#id547" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Temporarily set the new “Value for … does not match” location warnings level to <em>DEBUG</em>, to hide them from casual users. This prepares pip 21.1 for CPython inclusion, while pip maintainers digest the first intake of location mismatch issues for the <code class="docutils literal notranslate"><span class="pre">distutils</span></code>-<code class="docutils literal notranslate"><span class="pre">sysconfig</span></code> transition. (<a class="reference external" href="https://github.com/pypa/pip/issues/9912">#9912</a>)</p></li> </ul> </section> <section id="id549"> <h3>Bug Fixes<a class="headerlink" href="#id549" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>This change fixes a bug on Python <=3.6.1 with a Typing feature added in 3.6.2 (<a class="reference external" href="https://github.com/pypa/pip/issues/9831">#9831</a>)</p></li> <li><p>Fix compatibility between distutils and sysconfig when the project name is unknown outside of a virtual environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/9838">#9838</a>)</p></li> <li><p>Fix Python 3.6 compatibility when a PEP 517 build requirement itself needs to be built in an isolated environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/9878">#9878</a>)</p></li> </ul> </section> </section> <section id="v21-1"> <span id="id553"></span><h2>21.1 (2021-04-24)<a class="headerlink" href="#v21-1" title="Link to this heading">¶</a></h2> <section id="id554"> <h3>Process<a class="headerlink" href="#id554" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Start installation scheme migration from <code class="docutils literal notranslate"><span class="pre">distutils</span></code> to <code class="docutils literal notranslate"><span class="pre">sysconfig</span></code>. A warning is implemented to detect differences between the two implementations to encourage user reports, so we can avoid breakages before they happen.</p></li> </ul> </section> <section id="id555"> <h3>Features<a class="headerlink" href="#id555" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add the ability for the new resolver to process URL constraints. (<a class="reference external" href="https://github.com/pypa/pip/issues/8253">#8253</a>)</p></li> <li><p>Add a feature <code class="docutils literal notranslate"><span class="pre">--use-feature=in-tree-build</span></code> to build local projects in-place when installing. This is expected to become the default behavior in pip 21.3; see <a class="reference external" href="https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages">Installing from local packages</a> for more information. (<a class="reference external" href="https://github.com/pypa/pip/issues/9091">#9091</a>)</p></li> <li><p>Bring back the “(from versions: …)” message, that was shown on resolution failures. (<a class="reference external" href="https://github.com/pypa/pip/issues/9139">#9139</a>)</p></li> <li><p>Add support for editable installs for project with only setup.cfg files. (<a class="reference external" href="https://github.com/pypa/pip/issues/9547">#9547</a>)</p></li> <li><p>Improve performance when picking the best file from indexes during <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9748">#9748</a>)</p></li> <li><p>Warn instead of erroring out when doing a PEP 517 build in presence of <code class="docutils literal notranslate"><span class="pre">--build-option</span></code>. Warn when doing a PEP 517 build in presence of <code class="docutils literal notranslate"><span class="pre">--global-option</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9774">#9774</a>)</p></li> </ul> </section> <section id="id562"> <h3>Bug Fixes<a class="headerlink" href="#id562" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fixed <code class="docutils literal notranslate"><span class="pre">--target</span></code> to work with <code class="docutils literal notranslate"><span class="pre">--editable</span></code> installs. (<a class="reference external" href="https://github.com/pypa/pip/issues/4390">#4390</a>)</p></li> <li><p>Add a warning, discouraging the usage of pip as root, outside a virtual environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/6409">#6409</a>)</p></li> <li><p>Ignore <code class="docutils literal notranslate"><span class="pre">.dist-info</span></code> directories if the stem is not a valid Python distribution name, so they don’t show up in e.g. <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7269">#7269</a>)</p></li> <li><p>Only query the keyring for URLs that actually trigger error 401. This prevents an unnecessary keyring unlock prompt on every pip install invocation (even with default index URL which is not password protected). (<a class="reference external" href="https://github.com/pypa/pip/issues/8090">#8090</a>)</p></li> <li><p>Prevent packages already-installed alongside with pip to be injected into an isolated build environment during build-time dependency population. (<a class="reference external" href="https://github.com/pypa/pip/issues/8214">#8214</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> permission denied error in order to display an understandable error message and offer solutions. (<a class="reference external" href="https://github.com/pypa/pip/issues/8418">#8418</a>)</p></li> <li><p>Correctly uninstall script files (from setuptools’ <code class="docutils literal notranslate"><span class="pre">scripts</span></code> argument), when installed with <code class="docutils literal notranslate"><span class="pre">--user</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8733">#8733</a>)</p></li> <li><p>New resolver: When a requirement is requested both via a direct URL (<code class="docutils literal notranslate"><span class="pre">req</span> <span class="pre">@</span> <span class="pre">URL</span></code>) and via version specifier with extras (<code class="docutils literal notranslate"><span class="pre">req[extra]</span></code>), the resolver will now be able to use the URL to correctly resolve the requirement with extras. (<a class="reference external" href="https://github.com/pypa/pip/issues/8785">#8785</a>)</p></li> <li><p>New resolver: Show relevant entries from user-supplied constraint files in the error message to improve debuggability. (<a class="reference external" href="https://github.com/pypa/pip/issues/9300">#9300</a>)</p></li> <li><p>Avoid parsing version to make the version check more robust against lousily debundled downstream distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/9348">#9348</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--user</span></code> is no longer suggested incorrectly when pip fails with a permission error in a virtual environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/9409">#9409</a>)</p></li> <li><p>Fix incorrect reporting on <code class="docutils literal notranslate"><span class="pre">Requires-Python</span></code> conflicts. (<a class="reference external" href="https://github.com/pypa/pip/issues/9541">#9541</a>)</p></li> <li><p>Make wheel compatibility tag preferences more important than the build tag (<a class="reference external" href="https://github.com/pypa/pip/issues/9565">#9565</a>)</p></li> <li><p>Fix pip to work with warnings converted to errors. (<a class="reference external" href="https://github.com/pypa/pip/issues/9779">#9779</a>)</p></li> <li><p><strong>SECURITY</strong>: Stop splitting on unicode separators in git references, which could be maliciously used to install a different revision on the repository. (<a class="reference external" href="https://github.com/pypa/pip/issues/9827">#9827</a>)</p></li> </ul> </section> <section id="id578"> <h3>Vendored Libraries<a class="headerlink" href="#id578" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update urllib3 to 1.26.4 to fix CVE-2021-28363</p></li> <li><p>Remove contextlib2.</p></li> <li><p>Upgrade idna to 3.1</p></li> <li><p>Upgrade pep517 to 0.10.0</p></li> <li><p>Upgrade vendored resolvelib to 0.7.0.</p></li> <li><p>Upgrade tenacity to 7.0.0</p></li> </ul> </section> <section id="id579"> <h3>Improved Documentation<a class="headerlink" href="#id579" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update “setuptools extras” link to match upstream. (<a class="reference external" href="https://github.com/pypa/pip/issues/4822829F-6A45-4202-87BA-A80482DF6D4E">#4822829F-6A45-4202-87BA-A80482DF6D4E</a>)</p></li> <li><p>Improve SSL Certificate Verification docs and <code class="docutils literal notranslate"><span class="pre">--cert</span></code> help text. (<a class="reference external" href="https://github.com/pypa/pip/issues/6720">#6720</a>)</p></li> <li><p>Add a section in the documentation to suggest solutions to the <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> permission denied issue. (<a class="reference external" href="https://github.com/pypa/pip/issues/8418">#8418</a>)</p></li> <li><p>Add warning about <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code> and dependency confusion (<a class="reference external" href="https://github.com/pypa/pip/issues/9647">#9647</a>)</p></li> <li><p>Describe <code class="docutils literal notranslate"><span class="pre">--upgrade-strategy</span></code> and direct requirements explicitly; add a brief example. (<a class="reference external" href="https://github.com/pypa/pip/issues/9692">#9692</a>)</p></li> </ul> </section> </section> <section id="v21-0-1"> <span id="id584"></span><h2>21.0.1 (2021-01-30)<a class="headerlink" href="#v21-0-1" title="Link to this heading">¶</a></h2> <section id="id585"> <h3>Bug Fixes<a class="headerlink" href="#id585" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>commands: debug: Use packaging.version.parse to compare between versions. (<a class="reference external" href="https://github.com/pypa/pip/issues/9461">#9461</a>)</p></li> <li><p>New resolver: Download and prepare a distribution only at the last possible moment to avoid unnecessary network access when the same version is already installed locally. (<a class="reference external" href="https://github.com/pypa/pip/issues/9516">#9516</a>)</p></li> </ul> </section> <section id="id588"> <h3>Vendored Libraries<a class="headerlink" href="#id588" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade packaging to 20.9</p></li> </ul> </section> </section> <section id="v21-0"> <span id="id589"></span><h2>21.0 (2021-01-23)<a class="headerlink" href="#v21-0" title="Link to this heading">¶</a></h2> <section id="id590"> <h3>Deprecations and Removals<a class="headerlink" href="#id590" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop support for Python 2. (<a class="reference external" href="https://github.com/pypa/pip/issues/6148">#6148</a>)</p></li> <li><p>Remove support for legacy wheel cache entries that were created with pip versions older than 20.0. (<a class="reference external" href="https://github.com/pypa/pip/issues/7502">#7502</a>)</p></li> <li><p>Remove support for VCS pseudo URLs editable requirements. It was emitting deprecation warning since version 20.0. (<a class="reference external" href="https://github.com/pypa/pip/issues/7554">#7554</a>)</p></li> <li><p>Modernise the codebase after Python 2. (<a class="reference external" href="https://github.com/pypa/pip/issues/8802">#8802</a>)</p></li> <li><p>Drop support for Python 3.5. (<a class="reference external" href="https://github.com/pypa/pip/issues/9189">#9189</a>)</p></li> <li><p>Remove the VCS export feature that was used only with editable VCS requirements and had correctness issues. (<a class="reference external" href="https://github.com/pypa/pip/issues/9338">#9338</a>)</p></li> </ul> </section> <section id="id597"> <h3>Features<a class="headerlink" href="#id597" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--ignore-requires-python</span></code> support to pip download. (<a class="reference external" href="https://github.com/pypa/pip/issues/1884">#1884</a>)</p></li> <li><p>New resolver: Error message shown when a wheel contains inconsistent metadata is made more helpful by including both values from the file name and internal metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/9186">#9186</a>)</p></li> </ul> </section> <section id="id600"> <h3>Bug Fixes<a class="headerlink" href="#id600" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a regression that made <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> do a VCS export instead of a VCS clone for editable requirements. This broke VCS requirements that need the VCS information to build correctly. (<a class="reference external" href="https://github.com/pypa/pip/issues/9273">#9273</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> of editable VCS requirements that need VCS information to build correctly. (<a class="reference external" href="https://github.com/pypa/pip/issues/9337">#9337</a>)</p></li> </ul> </section> <section id="id603"> <h3>Vendored Libraries<a class="headerlink" href="#id603" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade msgpack to 1.0.2.</p></li> <li><p>Upgrade requests to 2.25.1.</p></li> </ul> </section> <section id="id604"> <h3>Improved Documentation<a class="headerlink" href="#id604" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Render the unreleased pip version change notes on the news page in docs. (<a class="reference external" href="https://github.com/pypa/pip/issues/9172">#9172</a>)</p></li> <li><p>Fix broken email link in docs feedback banners. (<a class="reference external" href="https://github.com/pypa/pip/issues/9343">#9343</a>)</p></li> </ul> </section> </section> <section id="v20-3-4"> <span id="id607"></span><h2>20.3.4 (2021-01-23)<a class="headerlink" href="#v20-3-4" title="Link to this heading">¶</a></h2> <section id="id608"> <h3>Features<a class="headerlink" href="#id608" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> now verifies the built wheel contains valid metadata, and can be installed by a subsequent <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. This can be disabled with <code class="docutils literal notranslate"><span class="pre">--no-verify</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/9206">#9206</a>)</p></li> <li><p>Improve presentation of XMLRPC errors in pip search. (<a class="reference external" href="https://github.com/pypa/pip/issues/9315">#9315</a>)</p></li> </ul> </section> <section id="id611"> <h3>Bug Fixes<a class="headerlink" href="#id611" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fixed hanging VCS subprocess calls when the VCS outputs a large amount of data on stderr. Restored logging of VCS errors that was inadvertently removed in pip 20.2. (<a class="reference external" href="https://github.com/pypa/pip/issues/8876">#8876</a>)</p></li> <li><p>Fix error when an existing incompatibility is unable to be applied to a backtracked state. (<a class="reference external" href="https://github.com/pypa/pip/issues/9180">#9180</a>)</p></li> <li><p>New resolver: Discard a faulty distribution, instead of quitting outright. This implementation is taken from 20.2.2, with a fix that always makes the resolver iterate through candidates from indexes lazily, to avoid downloading candidates we do not need. (<a class="reference external" href="https://github.com/pypa/pip/issues/9203">#9203</a>)</p></li> <li><p>New resolver: Discard a source distribution if it fails to generate metadata, instead of quitting outright. This implementation is taken from 20.2.2, with a fix that always makes the resolver iterate through candidates from indexes lazily, to avoid downloading candidates we do not need. (<a class="reference external" href="https://github.com/pypa/pip/issues/9246">#9246</a>)</p></li> </ul> </section> <section id="id616"> <h3>Vendored Libraries<a class="headerlink" href="#id616" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade resolvelib to 0.5.4.</p></li> </ul> </section> </section> <section id="v20-3-3"> <span id="id617"></span><h2>20.3.3 (2020-12-15)<a class="headerlink" href="#v20-3-3" title="Link to this heading">¶</a></h2> <section id="id618"> <h3>Bug Fixes<a class="headerlink" href="#id618" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert “Skip candidate not providing valid metadata”, as that caused pip to be overeager about downloading from the package index. (<a class="reference external" href="https://github.com/pypa/pip/issues/9264">#9264</a>)</p></li> </ul> </section> </section> <section id="v20-3-2"> <span id="id620"></span><h2>20.3.2 (2020-12-15)<a class="headerlink" href="#v20-3-2" title="Link to this heading">¶</a></h2> <section id="id621"> <h3>Features<a class="headerlink" href="#id621" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: Resolve direct and pinned (<code class="docutils literal notranslate"><span class="pre">==</span></code> or <code class="docutils literal notranslate"><span class="pre">===</span></code>) requirements first to improve resolver performance. (<a class="reference external" href="https://github.com/pypa/pip/issues/9185">#9185</a>)</p></li> <li><p>Add a mechanism to delay resolving certain packages, and use it for setuptools. (<a class="reference external" href="https://github.com/pypa/pip/issues/9249">#9249</a>)</p></li> </ul> </section> <section id="id624"> <h3>Bug Fixes<a class="headerlink" href="#id624" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: The “Requirement already satisfied” log is not printed only once for each package during resolution. (<a class="reference external" href="https://github.com/pypa/pip/issues/9117">#9117</a>)</p></li> <li><p>Fix crash when logic for redacting authentication information from URLs in <code class="docutils literal notranslate"><span class="pre">--help</span></code> is given a list of strings, instead of a single string. (<a class="reference external" href="https://github.com/pypa/pip/issues/9191">#9191</a>)</p></li> <li><p>New resolver: Correctly implement PEP 592. Do not return yanked versions from an index, unless the version range can only be satisfied by yanked candidates. (<a class="reference external" href="https://github.com/pypa/pip/issues/9203">#9203</a>)</p></li> <li><p>New resolver: Make constraints also apply to package variants with extras, so the resolver correctly avoids backtracking on them. (<a class="reference external" href="https://github.com/pypa/pip/issues/9232">#9232</a>)</p></li> <li><p>New resolver: Discard a candidate if it fails to provide metadata from source, or if the provided metadata is inconsistent, instead of quitting outright. (<a class="reference external" href="https://github.com/pypa/pip/issues/9246">#9246</a>)</p></li> </ul> </section> <section id="id630"> <h3>Vendored Libraries<a class="headerlink" href="#id630" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update vendoring to 20.8</p></li> </ul> </section> <section id="id631"> <h3>Improved Documentation<a class="headerlink" href="#id631" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update documentation to reflect that pip still uses legacy resolver by default in Python 2 environments. (<a class="reference external" href="https://github.com/pypa/pip/issues/9269">#9269</a>)</p></li> </ul> </section> </section> <section id="v20-3-1"> <span id="id633"></span><h2>20.3.1 (2020-12-03)<a class="headerlink" href="#v20-3-1" title="Link to this heading">¶</a></h2> <section id="id634"> <h3>Deprecations and Removals<a class="headerlink" href="#id634" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>The --build-dir option has been restored as a no-op, to soften the transition for tools that still used it. (<a class="reference external" href="https://github.com/pypa/pip/issues/9193">#9193</a>)</p></li> </ul> </section> </section> <section id="v20-3"> <span id="id636"></span><h2>20.3 (2020-11-30)<a class="headerlink" href="#v20-3" title="Link to this heading">¶</a></h2> <section id="id637"> <h3>Deprecations and Removals<a class="headerlink" href="#id637" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove --unstable-feature flag as it has been deprecated. (<a class="reference external" href="https://github.com/pypa/pip/issues/9133">#9133</a>)</p></li> </ul> </section> <section id="id639"> <h3>Features<a class="headerlink" href="#id639" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add support for <span class="target" id="index-21"></span><a class="pep reference external" href="https://peps.python.org/pep-0600/"><strong>PEP 600</strong></a>: Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/9077">#9077</a>)</p></li> <li><p>The new resolver now resolves packages in a deterministic order. (<a class="reference external" href="https://github.com/pypa/pip/issues/9100">#9100</a>)</p></li> <li><p>Add support for MacOS Big Sur compatibility tags. (<a class="reference external" href="https://github.com/pypa/pip/issues/9138">#9138</a>)</p></li> </ul> </section> <section id="id643"> <h3>Bug Fixes<a class="headerlink" href="#id643" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New Resolver: Rework backtracking and state management, to avoid getting stuck in an infinite loop. (<a class="reference external" href="https://github.com/pypa/pip/issues/9011">#9011</a>)</p></li> <li><p>New resolver: Check version equality with <code class="docutils literal notranslate"><span class="pre">packaging.version</span></code> to avoid edge cases if a wheel used different version normalization logic in its filename and metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/9083">#9083</a>)</p></li> <li><p>New resolver: Show each requirement in the conflict error message only once to reduce cluttering. (<a class="reference external" href="https://github.com/pypa/pip/issues/9101">#9101</a>)</p></li> <li><p>Fix a regression that made <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> generate zip files of editable requirements in the wheel directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/9122">#9122</a>)</p></li> <li><p>Fix ResourceWarning in VCS subprocesses (<a class="reference external" href="https://github.com/pypa/pip/issues/9156">#9156</a>)</p></li> <li><p>Redact auth from URL in help message. (<a class="reference external" href="https://github.com/pypa/pip/issues/9160">#9160</a>)</p></li> <li><p>New Resolver: editable installations are done, regardless of whether the already-installed distribution is editable. (<a class="reference external" href="https://github.com/pypa/pip/issues/9169">#9169</a>)</p></li> </ul> </section> <section id="id651"> <h3>Vendored Libraries<a class="headerlink" href="#id651" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2020.11.8</p></li> <li><p>Upgrade colorama to 0.4.4</p></li> <li><p>Upgrade packaging to 20.7</p></li> <li><p>Upgrade pep517 to 0.9.1</p></li> <li><p>Upgrade requests to 2.25.0</p></li> <li><p>Upgrade resolvelib to 0.5.3</p></li> <li><p>Upgrade toml to 0.10.2</p></li> <li><p>Upgrade urllib3 to 1.26.2</p></li> </ul> </section> <section id="id652"> <h3>Improved Documentation<a class="headerlink" href="#id652" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add a section to the User Guide to cover backtracking during dependency resolution. (<a class="reference external" href="https://github.com/pypa/pip/issues/9039">#9039</a>)</p></li> <li><p>Reorder and revise installation instructions to make them easier to follow. (<a class="reference external" href="https://github.com/pypa/pip/issues/9131">#9131</a>)</p></li> </ul> </section> </section> <section id="b1-2020-10-31"> <span id="v20-3b1"></span><h2>20.3b1 (2020-10-31)<a class="headerlink" href="#b1-2020-10-31" title="Link to this heading">¶</a></h2> <section id="id655"> <h3>Deprecations and Removals<a class="headerlink" href="#id655" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> will stop filtering the <code class="docutils literal notranslate"><span class="pre">pip</span></code>, <code class="docutils literal notranslate"><span class="pre">setuptools</span></code>, <code class="docutils literal notranslate"><span class="pre">distribute</span></code> and <code class="docutils literal notranslate"><span class="pre">wheel</span></code> packages from <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> output in a future version. To keep the previous behavior, users should use the new <code class="docutils literal notranslate"><span class="pre">--exclude</span></code> option. (<a class="reference external" href="https://github.com/pypa/pip/issues/4256">#4256</a>)</p></li> <li><p>Deprecate support for Python 3.5 (<a class="reference external" href="https://github.com/pypa/pip/issues/8181">#8181</a>)</p></li> <li><p>Document that certain removals can be fast tracked. (<a class="reference external" href="https://github.com/pypa/pip/issues/8417">#8417</a>)</p></li> <li><p>Document that Python versions are generally supported until PyPI usage falls below 5%. (<a class="reference external" href="https://github.com/pypa/pip/issues/8927">#8927</a>)</p></li> <li><p>Deprecate <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> option in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/9069">#9069</a>)</p></li> </ul> </section> <section id="id661"> <h3>Features<a class="headerlink" href="#id661" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--exclude</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> commands to explicitly exclude packages from the output. (<a class="reference external" href="https://github.com/pypa/pip/issues/4256">#4256</a>)</p></li> <li><p>Allow multiple values for --abi and --platform. (<a class="reference external" href="https://github.com/pypa/pip/issues/6121">#6121</a>)</p></li> <li><p>Add option <code class="docutils literal notranslate"><span class="pre">--format</span></code> to subcommand <code class="docutils literal notranslate"><span class="pre">list</span></code> of <code class="docutils literal notranslate"><span class="pre">pip</span>  <span class="pre">cache</span></code>, with <code class="docutils literal notranslate"><span class="pre">abspath</span></code> choice to output the full path of a wheel file. (<a class="reference external" href="https://github.com/pypa/pip/issues/8355">#8355</a>)</p></li> <li><p>Improve error message friendliness when an environment has packages with corrupted metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/8676">#8676</a>)</p></li> <li><p>Make the <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> deprecation warning less noisy. We warn only when <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> succeeded and <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">bdist_wheel</span></code> failed, as situations where both fails are most probably irrelevant to this deprecation. (<a class="reference external" href="https://github.com/pypa/pip/issues/8752">#8752</a>)</p></li> <li><p>Check the download directory for existing wheels to possibly avoid fetching metadata when the <code class="docutils literal notranslate"><span class="pre">fast-deps</span></code> feature is used with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8804">#8804</a>)</p></li> <li><p>When installing a git URL that refers to a commit that is not available locally after git clone, attempt to fetch it from the remote. (<a class="reference external" href="https://github.com/pypa/pip/issues/8815">#8815</a>)</p></li> <li><p>Include http subdirectory in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">info</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">purge</span></code> commands. (<a class="reference external" href="https://github.com/pypa/pip/issues/8892">#8892</a>)</p></li> <li><p>Cache package listings on index packages so they are guaranteed to stay stable during a pip command session. This also improves performance when a index page is accessed multiple times during the command session. (<a class="reference external" href="https://github.com/pypa/pip/issues/8905">#8905</a>)</p></li> <li><p>New resolver: Tweak resolution logic to improve user experience when user-supplied requirements conflict. (<a class="reference external" href="https://github.com/pypa/pip/issues/8924">#8924</a>)</p></li> <li><p>Support Python 3.9. (<a class="reference external" href="https://github.com/pypa/pip/issues/8971">#8971</a>)</p></li> <li><p>Log an informational message when backtracking takes multiple rounds on a specific package. (<a class="reference external" href="https://github.com/pypa/pip/issues/8975">#8975</a>)</p></li> <li><p>Switch to the new dependency resolver by default. (<a class="reference external" href="https://github.com/pypa/pip/issues/9019">#9019</a>)</p></li> <li><p>Remove the <code class="docutils literal notranslate"><span class="pre">--build-dir</span></code> option, as per the deprecation. (<a class="reference external" href="https://github.com/pypa/pip/issues/9049">#9049</a>)</p></li> </ul> </section> <section id="id676"> <h3>Bug Fixes<a class="headerlink" href="#id676" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Propagate <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code> from requirements file properly to session auth, so that keyring auth will work as expected. (<a class="reference external" href="https://github.com/pypa/pip/issues/8103">#8103</a>)</p></li> <li><p>Allow specifying verbosity and quiet level via configuration files and environment variables. Previously these options were treated as boolean values when read from there while through CLI the level can be specified. (<a class="reference external" href="https://github.com/pypa/pip/issues/8578">#8578</a>)</p></li> <li><p>Only converts Windows path to unicode on Python 2 to avoid regressions when a POSIX environment does not configure the file system encoding correctly. (<a class="reference external" href="https://github.com/pypa/pip/issues/8658">#8658</a>)</p></li> <li><p>List downloaded distributions before exiting <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> when using the new resolver to make the behavior the same as that on the legacy resolver. (<a class="reference external" href="https://github.com/pypa/pip/issues/8696">#8696</a>)</p></li> <li><p>New resolver: Pick up hash declarations in constraints files and use them to filter available distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/8792">#8792</a>)</p></li> <li><p>Avoid polluting the destination directory by resolution artifacts when the new resolver is used for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> or <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8827">#8827</a>)</p></li> <li><p>New resolver: If a package appears multiple times in user specification with different <code class="docutils literal notranslate"><span class="pre">--hash</span></code> options, only hashes that present in all specifications should be allowed. (<a class="reference external" href="https://github.com/pypa/pip/issues/8839">#8839</a>)</p></li> <li><p>Tweak the output during dependency resolution in the new resolver. (<a class="reference external" href="https://github.com/pypa/pip/issues/8861">#8861</a>)</p></li> <li><p>Correctly search for installed distributions in new resolver logic in order to not miss packages (virtualenv packages from system-wide-packages for example) (<a class="reference external" href="https://github.com/pypa/pip/issues/8963">#8963</a>)</p></li> <li><p>Do not fail in pip freeze when encountering a <code class="docutils literal notranslate"><span class="pre">direct_url.json</span></code> metadata file with editable=True. Render it as a non-editable <code class="docutils literal notranslate"><span class="pre">file://</span></code> URL until modern editable installs are standardized and supported. (<a class="reference external" href="https://github.com/pypa/pip/issues/8996">#8996</a>)</p></li> </ul> </section> <section id="id687"> <h3>Vendored Libraries<a class="headerlink" href="#id687" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix devendoring instructions to explicitly state that <code class="docutils literal notranslate"><span class="pre">vendor.txt</span></code> should not be removed. It is mandatory for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">debug</span></code> command.</p></li> </ul> </section> <section id="id688"> <h3>Improved Documentation<a class="headerlink" href="#id688" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add documentation for ‘.netrc’ support. (<a class="reference external" href="https://github.com/pypa/pip/issues/7231">#7231</a>)</p></li> <li><p>Add OS tabs for OS-specific commands. (<a class="reference external" href="https://github.com/pypa/pip/issues/7311">#7311</a>)</p></li> <li><p>Add note and example on keyring support for index basic-auth (<a class="reference external" href="https://github.com/pypa/pip/issues/8636">#8636</a>)</p></li> <li><p>Added initial UX feedback widgets to docs. (<a class="reference external" href="https://github.com/pypa/pip/issues/8783">#8783</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/8848">#8848</a>)</p></li> <li><p>Add ux documentation (<a class="reference external" href="https://github.com/pypa/pip/issues/8807">#8807</a>)</p></li> <li><p>Update user docs to reflect new resolver as default in 20.3. (<a class="reference external" href="https://github.com/pypa/pip/issues/9044">#9044</a>)</p></li> <li><p>Improve migration guide to reflect changes in new resolver behavior. (<a class="reference external" href="https://github.com/pypa/pip/issues/9056">#9056</a>)</p></li> </ul> </section> </section> <section id="v20-2-4"> <span id="id697"></span><h2>20.2.4 (2020-10-16)<a class="headerlink" href="#v20-2-4" title="Link to this heading">¶</a></h2> <section id="id698"> <h3>Deprecations and Removals<a class="headerlink" href="#id698" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document that certain removals can be fast tracked. (<a class="reference external" href="https://github.com/pypa/pip/issues/8417">#8417</a>)</p></li> <li><p>Document that Python versions are generally supported until PyPI usage falls below 5%. (<a class="reference external" href="https://github.com/pypa/pip/issues/8927">#8927</a>)</p></li> </ul> </section> <section id="id701"> <h3>Features<a class="headerlink" href="#id701" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: Avoid accessing indexes when the installed candidate is preferred and considered good enough. (<a class="reference external" href="https://github.com/pypa/pip/issues/8023">#8023</a>)</p></li> <li><p>Improve error message friendliness when an environment has packages with corrupted metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/8676">#8676</a>)</p></li> <li><p>Cache package listings on index packages so they are guaranteed to stay stable during a pip command session. This also improves performance when a index page is accessed multiple times during the command session. (<a class="reference external" href="https://github.com/pypa/pip/issues/8905">#8905</a>)</p></li> <li><p>New resolver: Tweak resolution logic to improve user experience when user-supplied requirements conflict. (<a class="reference external" href="https://github.com/pypa/pip/issues/8924">#8924</a>)</p></li> </ul> </section> <section id="id706"> <h3>Bug Fixes<a class="headerlink" href="#id706" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>New resolver: Correctly respect <code class="docutils literal notranslate"><span class="pre">Requires-Python</span></code> metadata to reject incompatible packages in <code class="docutils literal notranslate"><span class="pre">--no-deps</span></code> mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/8758">#8758</a>)</p></li> <li><p>New resolver: Pick up hash declarations in constraints files and use them to filter available distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/8792">#8792</a>)</p></li> <li><p>New resolver: If a package appears multiple times in user specification with different <code class="docutils literal notranslate"><span class="pre">--hash</span></code> options, only hashes that present in all specifications should be allowed. (<a class="reference external" href="https://github.com/pypa/pip/issues/8839">#8839</a>)</p></li> </ul> </section> <section id="id710"> <h3>Improved Documentation<a class="headerlink" href="#id710" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add ux documentation (<a class="reference external" href="https://github.com/pypa/pip/issues/8807">#8807</a>)</p></li> </ul> </section> </section> <section id="v20-2-3"> <span id="id712"></span><h2>20.2.3 (2020-09-08)<a class="headerlink" href="#v20-2-3" title="Link to this heading">¶</a></h2> <section id="id713"> <h3>Deprecations and Removals<a class="headerlink" href="#id713" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate support for Python 3.5 (<a class="reference external" href="https://github.com/pypa/pip/issues/8181">#8181</a>)</p></li> </ul> </section> <section id="id715"> <h3>Features<a class="headerlink" href="#id715" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Make the <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> deprecation warning less noisy. We warn only when <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code> succeeded and <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">bdist_wheel</span></code> failed, as situations where both fails are most probably irrelevant to this deprecation. (<a class="reference external" href="https://github.com/pypa/pip/issues/8752">#8752</a>)</p></li> </ul> </section> </section> <section id="v20-2-2"> <span id="id717"></span><h2>20.2.2 (2020-08-11)<a class="headerlink" href="#v20-2-2" title="Link to this heading">¶</a></h2> <section id="id718"> <h3>Bug Fixes<a class="headerlink" href="#id718" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Only attempt to use the keyring once and if it fails, don’t try again. This prevents spamming users with several keyring unlock prompts when they cannot unlock or don’t want to do so. (<a class="reference external" href="https://github.com/pypa/pip/issues/8090">#8090</a>)</p></li> <li><p>Fix regression that distributions in system site-packages are not correctly found when a virtual environment is configured with <code class="docutils literal notranslate"><span class="pre">system-site-packages</span></code> on. (<a class="reference external" href="https://github.com/pypa/pip/issues/8695">#8695</a>)</p></li> <li><p>Disable caching for range requests, which causes corrupted wheels when pip tries to obtain metadata using the feature <code class="docutils literal notranslate"><span class="pre">fast-deps</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8701">#8701</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/8716">#8716</a>)</p></li> <li><p>Always use UTF-8 to read <code class="docutils literal notranslate"><span class="pre">pyvenv.cfg</span></code> to match the built-in <code class="docutils literal notranslate"><span class="pre">venv</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8717">#8717</a>)</p></li> <li><p>2020 Resolver: Correctly handle marker evaluation in constraints and exclude them if their markers do not match the current environment. (<a class="reference external" href="https://github.com/pypa/pip/issues/8724">#8724</a>)</p></li> </ul> </section> </section> <section id="v20-2-1"> <span id="id725"></span><h2>20.2.1 (2020-08-04)<a class="headerlink" href="#v20-2-1" title="Link to this heading">¶</a></h2> <section id="id726"> <h3>Features<a class="headerlink" href="#id726" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Ignore require-virtualenv in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/8603">#8603</a>)</p></li> </ul> </section> <section id="id728"> <h3>Bug Fixes<a class="headerlink" href="#id728" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Correctly find already-installed distributions with dot (<code class="docutils literal notranslate"><span class="pre">.</span></code>) in the name and uninstall them when needed. (<a class="reference external" href="https://github.com/pypa/pip/issues/8645">#8645</a>)</p></li> <li><p>Trace a better error message on installation failure due to invalid <code class="docutils literal notranslate"><span class="pre">.data</span></code> files in wheels. (<a class="reference external" href="https://github.com/pypa/pip/issues/8654">#8654</a>)</p></li> <li><p>Fix SVN version detection for alternative SVN distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/8665">#8665</a>)</p></li> <li><p>New resolver: Correctly include the base package when specified with extras in <code class="docutils literal notranslate"><span class="pre">--no-deps</span></code> mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/8677">#8677</a>)</p></li> <li><p>Use UTF-8 to handle ZIP archive entries on Python 2 according to PEP 427, so non-ASCII paths can be resolved as expected. (<a class="reference external" href="https://github.com/pypa/pip/issues/8684">#8684</a>)</p></li> </ul> </section> <section id="id734"> <h3>Improved Documentation<a class="headerlink" href="#id734" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add details on old resolver deprecation and removal to migration documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/8371">#8371</a>)</p></li> <li><p>Fix feature flag name in docs. (<a class="reference external" href="https://github.com/pypa/pip/issues/8660">#8660</a>)</p></li> </ul> </section> </section> <section id="v20-2"> <span id="id737"></span><h2>20.2 (2020-07-29)<a class="headerlink" href="#v20-2" title="Link to this heading">¶</a></h2> <section id="id738"> <h3>Deprecations and Removals<a class="headerlink" href="#id738" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate setup.py-based builds that do not generate an <code class="docutils literal notranslate"><span class="pre">.egg-info</span></code> directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/6998">#6998</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/8617">#8617</a>)</p></li> <li><p>Disallow passing install-location-related arguments in <code class="docutils literal notranslate"><span class="pre">--install-options</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7309">#7309</a>)</p></li> <li><p>Add deprecation warning for invalid requirements format “base>=1.0[extra]” (<a class="reference external" href="https://github.com/pypa/pip/issues/8288">#8288</a>)</p></li> <li><p>Deprecate legacy setup.py install when building a wheel failed for source distributions without pyproject.toml (<a class="reference external" href="https://github.com/pypa/pip/issues/8368">#8368</a>)</p></li> <li><p>Deprecate -b/--build/--build-dir/--build-directory. Its current behaviour is confusing and breaks in case different versions of the same distribution need to be built during the resolution process. Using the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean covers known use cases. (<a class="reference external" href="https://github.com/pypa/pip/issues/8372">#8372</a>)</p></li> <li><p>Remove undocumented and deprecated option <code class="docutils literal notranslate"><span class="pre">--always-unzip</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/8408">#8408</a>)</p></li> </ul> </section> <section id="id746"> <h3>Features<a class="headerlink" href="#id746" title="Link to this heading">¶</a></h3> <ul> <li><p>Log debugging information about pip, in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--verbose</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/3166">#3166</a>)</p></li> <li><p>Refine error messages to avoid showing Python tracebacks when an HTTP error occurs. (<a class="reference external" href="https://github.com/pypa/pip/issues/5380">#5380</a>)</p></li> <li><p>Install wheel files directly instead of extracting them to a temp directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/6030">#6030</a>)</p></li> <li><p>Add a beta version of pip’s next-generation dependency resolver.</p> <p>Move pip’s new resolver into beta, remove the <code class="docutils literal notranslate"><span class="pre">--unstable-feature=resolver</span></code> flag, and enable the <code class="docutils literal notranslate"><span class="pre">--use-feature=2020-resolver</span></code> flag. The new resolver is significantly stricter and more consistent when it receives incompatible instructions, and reduces support for certain kinds of <a class="reference internal" href="user_guide.html#constraints-files"><span class="std std-ref">Constraints Files</span></a>, so some workarounds and workflows may break. More details about how to test and migrate, and how to report issues, at <a class="reference internal" href="user_guide.html#resolver-changes-2020"><span class="std std-ref">Changes to the pip dependency resolver in 20.3 (2020)</span></a> . Maintainers are preparing to release pip 20.3, with the new resolver on by default, in October. (<a class="reference external" href="https://github.com/pypa/pip/issues/6536">#6536</a>)</p> </li> <li><p>Introduce a new ResolutionImpossible error, raised when pip encounters un-satisfiable dependency conflicts (<a class="reference external" href="https://github.com/pypa/pip/issues/8546">#8546</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/8377">#8377</a>)</p></li> <li><p>Add a subcommand <code class="docutils literal notranslate"><span class="pre">debug</span></code> to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span></code> to list available configuration sources and the key-value pairs defined in them. (<a class="reference external" href="https://github.com/pypa/pip/issues/6741">#6741</a>)</p></li> <li><p>Warn if index pages have unexpected content-type (<a class="reference external" href="https://github.com/pypa/pip/issues/6754">#6754</a>)</p></li> <li><p>Allow specifying <code class="docutils literal notranslate"><span class="pre">--prefer-binary</span></code> option in a requirements file (<a class="reference external" href="https://github.com/pypa/pip/issues/7693">#7693</a>)</p></li> <li><p>Generate PEP 376 REQUESTED metadata for user supplied requirements installed by pip. (<a class="reference external" href="https://github.com/pypa/pip/issues/7811">#7811</a>)</p></li> <li><p>Warn if package url is a vcs or an archive url with invalid scheme (<a class="reference external" href="https://github.com/pypa/pip/issues/8128">#8128</a>)</p></li> <li><p>Parallelize network operations in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8504">#8504</a>)</p></li> <li><p>Allow the new resolver to obtain dependency information through wheels lazily downloaded using HTTP range requests. To enable this feature, invoke <code class="docutils literal notranslate"><span class="pre">pip</span></code> with <code class="docutils literal notranslate"><span class="pre">--use-feature=fast-deps</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8588">#8588</a>)</p></li> <li><p>Support <code class="docutils literal notranslate"><span class="pre">--use-feature</span></code> in requirements files (<a class="reference external" href="https://github.com/pypa/pip/issues/8601">#8601</a>)</p></li> </ul> </section> <section id="id761"> <h3>Bug Fixes<a class="headerlink" href="#id761" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Use canonical package names while looking up already installed packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/5021">#5021</a>)</p></li> <li><p>Fix normalizing path on Windows when installing package on another logical disk. (<a class="reference external" href="https://github.com/pypa/pip/issues/7625">#7625</a>)</p></li> <li><p>The VCS commands run by pip as subprocesses don’t merge stdout and stderr anymore, improving the output parsing by subsequent commands. (<a class="reference external" href="https://github.com/pypa/pip/issues/7968">#7968</a>)</p></li> <li><p>Correctly treat non-ASCII entry point declarations in wheels so they can be installed on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/8342">#8342</a>)</p></li> <li><p>Update author email in config and tests to reflect decommissioning of pypa-dev list. (<a class="reference external" href="https://github.com/pypa/pip/issues/8454">#8454</a>)</p></li> <li><p>Headers provided by wheels in .data directories are now correctly installed into the user-provided locations, such as <code class="docutils literal notranslate"><span class="pre">--prefix</span></code>, instead of the virtual environment pip is running in. (<a class="reference external" href="https://github.com/pypa/pip/issues/8521">#8521</a>)</p></li> </ul> </section> <section id="id768"> <h3>Vendored Libraries<a class="headerlink" href="#id768" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Vendored htmlib5 no longer imports deprecated xml.etree.cElementTree on Python 3.</p></li> <li><p>Upgrade appdirs to 1.4.4</p></li> <li><p>Upgrade certifi to 2020.6.20</p></li> <li><p>Upgrade distlib to 0.3.1</p></li> <li><p>Upgrade html5lib to 1.1</p></li> <li><p>Upgrade idna to 2.10</p></li> <li><p>Upgrade packaging to 20.4</p></li> <li><p>Upgrade requests to 2.24.0</p></li> <li><p>Upgrade six to 1.15.0</p></li> <li><p>Upgrade toml to 0.10.1</p></li> <li><p>Upgrade urllib3 to 1.25.9</p></li> </ul> </section> <section id="id769"> <h3>Improved Documentation<a class="headerlink" href="#id769" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--no-input</span></code> option to pip docs (<a class="reference external" href="https://github.com/pypa/pip/issues/7688">#7688</a>)</p></li> <li><p>List of options supported in requirements file are extracted from source of truth, instead of being maintained manually. (<a class="reference external" href="https://github.com/pypa/pip/issues/7908">#7908</a>)</p></li> <li><p>Fix pip config docstring so that the subcommands render correctly in the docs (<a class="reference external" href="https://github.com/pypa/pip/issues/8072">#8072</a>)</p></li> <li><p>replace links to the old pypa-dev mailing list with <a class="reference external" href="https://mail.python.org/mailman3/lists/distutils-sig.python.org/">https://mail.python.org/mailman3/lists/distutils-sig.python.org/</a> (<a class="reference external" href="https://github.com/pypa/pip/issues/8353">#8353</a>)</p></li> <li><p>Fix example for defining multiple values for options which support them (<a class="reference external" href="https://github.com/pypa/pip/issues/8373">#8373</a>)</p></li> <li><p>Add documentation for the ResolutionImpossible error that helps the user fix dependency conflicts (<a class="reference external" href="https://github.com/pypa/pip/issues/8459">#8459</a>)</p></li> <li><p>Add feature flags to docs (<a class="reference external" href="https://github.com/pypa/pip/issues/8512">#8512</a>)</p></li> <li><p>Document how to install package extras from git branch and source distributions. (<a class="reference external" href="https://github.com/pypa/pip/issues/8576">#8576</a>)</p></li> </ul> </section> </section> <section id="b1-2020-05-21"> <span id="v20-2b1"></span><h2>20.2b1 (2020-05-21)<a class="headerlink" href="#b1-2020-05-21" title="Link to this heading">¶</a></h2> <section id="id778"> <h3>Bug Fixes<a class="headerlink" href="#id778" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Correctly treat wheels containing non-ASCII file contents so they can be installed on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/5712">#5712</a>)</p></li> <li><p>Prompt the user for password if the keyring backend doesn’t return one (<a class="reference external" href="https://github.com/pypa/pip/issues/7998">#7998</a>)</p></li> </ul> </section> <section id="id781"> <h3>Improved Documentation<a class="headerlink" href="#id781" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add GitHub issue template for reporting when the dependency resolver fails (<a class="reference external" href="https://github.com/pypa/pip/issues/8207">#8207</a>)</p></li> </ul> </section> </section> <section id="v20-1-1"> <span id="id783"></span><h2>20.1.1 (2020-05-19)<a class="headerlink" href="#v20-1-1" title="Link to this heading">¶</a></h2> <section id="id784"> <h3>Deprecations and Removals<a class="headerlink" href="#id784" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Revert building of local directories in place, restoring the pre-20.1 behaviour of copying to a temporary directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/7555">#7555</a>)</p></li> <li><p>Drop parallelization from <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/8167">#8167</a>)</p></li> </ul> </section> <section id="id787"> <h3>Bug Fixes<a class="headerlink" href="#id787" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix metadata permission issues when umask has the executable bit set. (<a class="reference external" href="https://github.com/pypa/pip/issues/8164">#8164</a>)</p></li> <li><p>Avoid unnecessary message about the wheel package not being installed when a wheel would not have been built. Additionally, clarify the message. (<a class="reference external" href="https://github.com/pypa/pip/issues/8178">#8178</a>)</p></li> </ul> </section> </section> <section id="v20-1"> <span id="id790"></span><h2>20.1 (2020-04-28)<a class="headerlink" href="#v20-1" title="Link to this heading">¶</a></h2> <section id="id791"> <h3>Process<a class="headerlink" href="#id791" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document that pip 21.0 will drop support for Python 2.7.</p></li> </ul> </section> <section id="id792"> <h3>Features<a class="headerlink" href="#id792" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span> <span class="pre">dir</span></code> to show the cache directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/7350">#7350</a>)</p></li> </ul> </section> <section id="id794"> <h3>Bug Fixes<a class="headerlink" href="#id794" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Abort pip cache commands early when cache is disabled. (<a class="reference external" href="https://github.com/pypa/pip/issues/8124">#8124</a>)</p></li> <li><p>Correctly set permissions on metadata files during wheel installation, to permit non-privileged users to read from system site-packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/8139">#8139</a>)</p></li> </ul> </section> </section> <section id="b1-2020-04-21"> <span id="v20-1b1"></span><h2>20.1b1 (2020-04-21)<a class="headerlink" href="#b1-2020-04-21" title="Link to this heading">¶</a></h2> <section id="id797"> <h3>Deprecations and Removals<a class="headerlink" href="#id797" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove emails from AUTHORS.txt to prevent usage for spamming, and only populate names in AUTHORS.txt at time of release (<a class="reference external" href="https://github.com/pypa/pip/issues/5979">#5979</a>)</p></li> <li><p>Remove deprecated <code class="docutils literal notranslate"><span class="pre">--skip-requirements-regex</span></code> option. (<a class="reference external" href="https://github.com/pypa/pip/issues/7297">#7297</a>)</p></li> <li><p>Building of local directories is now done in place, instead of a temporary location containing a copy of the directory tree. (<a class="reference external" href="https://github.com/pypa/pip/issues/7555">#7555</a>)</p></li> <li><p>Remove unused <code class="docutils literal notranslate"><span class="pre">tests/scripts/test_all_pip.py</span></code> test script and the <code class="docutils literal notranslate"><span class="pre">tests/scripts</span></code> folder. (<a class="reference external" href="https://github.com/pypa/pip/issues/7680">#7680</a>)</p></li> </ul> </section> <section id="id802"> <h3>Features<a class="headerlink" href="#id802" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>pip now implements PEP 610, so <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> has better fidelity in presence of distributions installed from Direct URL requirements. (<a class="reference external" href="https://github.com/pypa/pip/issues/609">#609</a>)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">cache</span></code> command for inspecting/managing pip’s wheel cache. (<a class="reference external" href="https://github.com/pypa/pip/issues/6391">#6391</a>)</p></li> <li><p>Raise error if <code class="docutils literal notranslate"><span class="pre">--user</span></code> and <code class="docutils literal notranslate"><span class="pre">--target</span></code> are used together in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/7249">#7249</a>)</p></li> <li><p>Significantly improve performance when <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> points to a very large HTML page. (<a class="reference external" href="https://github.com/pypa/pip/issues/7729">#7729</a>)</p></li> <li><p>Indicate when wheel building is skipped, due to lack of the <code class="docutils literal notranslate"><span class="pre">wheel</span></code> package. (<a class="reference external" href="https://github.com/pypa/pip/issues/7768">#7768</a>)</p></li> <li><p>Change default behaviour to always cache responses from trusted-host source. (<a class="reference external" href="https://github.com/pypa/pip/issues/7847">#7847</a>)</p></li> <li><p>An alpha version of a new resolver is available via <code class="docutils literal notranslate"><span class="pre">--unstable-feature=resolver</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/988">#988</a>)</p></li> </ul> </section> <section id="id810"> <h3>Bug Fixes<a class="headerlink" href="#id810" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Correctly freeze a VCS editable package when it is nested inside another VCS repository. (<a class="reference external" href="https://github.com/pypa/pip/issues/3988">#3988</a>)</p></li> <li><p>Correctly handle <code class="docutils literal notranslate"><span class="pre">%2F</span></code> in URL parameters to avoid accidentally unescape them into <code class="docutils literal notranslate"><span class="pre">/</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6446">#6446</a>)</p></li> <li><p>Reject VCS URLs with an empty revision. (<a class="reference external" href="https://github.com/pypa/pip/issues/7402">#7402</a>)</p></li> <li><p>Warn when an invalid URL is passed with <code class="docutils literal notranslate"><span class="pre">--index-url</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/7430">#7430</a>)</p></li> <li><p>Use better mechanism for handling temporary files, when recording metadata about installed files (RECORD) and the installer (INSTALLER). (<a class="reference external" href="https://github.com/pypa/pip/issues/7699">#7699</a>)</p></li> <li><p>Correctly detect global site-packages availability of virtual environments created by PyPA’s virtualenv>=20.0. (<a class="reference external" href="https://github.com/pypa/pip/issues/7718">#7718</a>)</p></li> <li><p>Remove current directory from <code class="docutils literal notranslate"><span class="pre">sys.path</span></code> when invoked as <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">pip</span> <span class="pre"><command></span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/7731">#7731</a>)</p></li> <li><p>Stop failing uninstallation, when trying to remove non-existent files. (<a class="reference external" href="https://github.com/pypa/pip/issues/7856">#7856</a>)</p></li> <li><p>Prevent an infinite recursion with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> when <code class="docutils literal notranslate"><span class="pre">$TMPDIR</span></code> is within the source directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/7872">#7872</a>)</p></li> <li><p>Significantly speedup <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span></code> by parallelizing index interaction. (<a class="reference external" href="https://github.com/pypa/pip/issues/7962">#7962</a>)</p></li> <li><p>Improve Windows compatibility when detecting writability in folder. (<a class="reference external" href="https://github.com/pypa/pip/issues/8013">#8013</a>)</p></li> </ul> </section> <section id="id822"> <h3>Vendored Libraries<a class="headerlink" href="#id822" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update semi-supported debundling script to reflect that appdirs is vendored.</p></li> <li><p>Add ResolveLib as a vendored dependency.</p></li> <li><p>Upgrade certifi to 2020.04.05.1</p></li> <li><p>Upgrade contextlib2 to 0.6.0.post1</p></li> <li><p>Upgrade distro to 1.5.0.</p></li> <li><p>Upgrade idna to 2.9.</p></li> <li><p>Upgrade msgpack to 1.0.0.</p></li> <li><p>Upgrade packaging to 20.3.</p></li> <li><p>Upgrade pep517 to 0.8.2.</p></li> <li><p>Upgrade pyparsing to 2.4.7.</p></li> <li><p>Remove pytoml as a vendored dependency.</p></li> <li><p>Upgrade requests to 2.23.0.</p></li> <li><p>Add toml as a vendored dependency.</p></li> <li><p>Upgrade urllib3 to 1.25.8.</p></li> </ul> </section> <section id="id823"> <h3>Improved Documentation<a class="headerlink" href="#id823" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Emphasize that VCS URLs using git, git+git and git+http are insecure due to lack of authentication and encryption (<a class="reference external" href="https://github.com/pypa/pip/issues/1983">#1983</a>)</p></li> <li><p>Clarify the usage of --no-binary command. (<a class="reference external" href="https://github.com/pypa/pip/issues/3191">#3191</a>)</p></li> <li><p>Clarify the usage of freeze command in the example of Using pip in your program (<a class="reference external" href="https://github.com/pypa/pip/issues/7008">#7008</a>)</p></li> <li><p>Add a “Copyright” page. (<a class="reference external" href="https://github.com/pypa/pip/issues/7767">#7767</a>)</p></li> <li><p>Added example of defining multiple values for options which support them (<a class="reference external" href="https://github.com/pypa/pip/issues/7803">#7803</a>)</p></li> </ul> </section> </section> <section id="v20-0-2"> <span id="id829"></span><h2>20.0.2 (2020-01-24)<a class="headerlink" href="#v20-0-2" title="Link to this heading">¶</a></h2> <section id="id830"> <h3>Bug Fixes<a class="headerlink" href="#id830" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a regression in generation of compatibility tags. (<a class="reference external" href="https://github.com/pypa/pip/issues/7626">#7626</a>)</p></li> </ul> </section> <section id="id832"> <h3>Vendored Libraries<a class="headerlink" href="#id832" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade packaging to 20.1</p></li> </ul> </section> </section> <section id="v20-0-1"> <span id="id833"></span><h2>20.0.1 (2020-01-21)<a class="headerlink" href="#v20-0-1" title="Link to this heading">¶</a></h2> <section id="id834"> <h3>Bug Fixes<a class="headerlink" href="#id834" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Rename an internal module, to avoid ImportErrors due to improper uninstallation. (<a class="reference external" href="https://github.com/pypa/pip/issues/7621">#7621</a>)</p></li> </ul> </section> </section> <section id="v20-0"> <span id="id836"></span><h2>20.0 (2020-01-21)<a class="headerlink" href="#v20-0" title="Link to this heading">¶</a></h2> <section id="id837"> <h3>Process<a class="headerlink" href="#id837" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Switch to a dedicated CLI tool for vendoring dependencies.</p></li> </ul> </section> <section id="id838"> <h3>Deprecations and Removals<a class="headerlink" href="#id838" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove wheel tag calculation from pip and use <code class="docutils literal notranslate"><span class="pre">packaging.tags</span></code>. This should provide more tags ordered better than in prior releases. (<a class="reference external" href="https://github.com/pypa/pip/issues/6908">#6908</a>)</p></li> <li><p>Deprecate setup.py-based builds that do not generate an <code class="docutils literal notranslate"><span class="pre">.egg-info</span></code> directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/6998">#6998</a>)</p></li> <li><p>The pip>=20 wheel cache is not retro-compatible with previous versions. Until pip 21.0, pip will continue to take advantage of existing legacy cache entries. (<a class="reference external" href="https://github.com/pypa/pip/issues/7296">#7296</a>)</p></li> <li><p>Deprecate undocumented <code class="docutils literal notranslate"><span class="pre">--skip-requirements-regex</span></code> option. (<a class="reference external" href="https://github.com/pypa/pip/issues/7297">#7297</a>)</p></li> <li><p>Deprecate passing install-location-related options via <code class="docutils literal notranslate"><span class="pre">--install-option</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7309">#7309</a>)</p></li> <li><p>Use literal “abi3” for wheel tag on CPython 3.x, to align with PEP 384 which only defines it for this platform. (<a class="reference external" href="https://github.com/pypa/pip/issues/7327">#7327</a>)</p></li> <li><p>Remove interpreter-specific major version tag e.g. <code class="docutils literal notranslate"><span class="pre">cp3-none-any</span></code> from consideration. This behavior was not documented strictly, and this tag in particular is <a class="reference external" href="https://snarky.ca/the-challenges-in-designing-a-library-for-pep-425/">not useful</a>. Anyone with a use case can create an issue with pypa/packaging. (<a class="reference external" href="https://github.com/pypa/pip/issues/7355">#7355</a>)</p></li> <li><p>Wheel processing no longer permits wheels containing more than one top-level .dist-info directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/7487">#7487</a>)</p></li> <li><p>Support for the <code class="docutils literal notranslate"><span class="pre">git+git@</span></code> form of VCS requirement is being deprecated and will be removed in pip 21.0. Switch to <code class="docutils literal notranslate"><span class="pre">git+https://</span></code> or <code class="docutils literal notranslate"><span class="pre">git+ssh://</span></code>. <code class="docutils literal notranslate"><span class="pre">git+git://</span></code> also works but its use is discouraged as it is insecure. (<a class="reference external" href="https://github.com/pypa/pip/issues/7543">#7543</a>)</p></li> </ul> </section> <section id="id848"> <h3>Features<a class="headerlink" href="#id848" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Default to doing a user install (as if <code class="docutils literal notranslate"><span class="pre">--user</span></code> was passed) when the main site-packages directory is not writeable and user site-packages are enabled. (<a class="reference external" href="https://github.com/pypa/pip/issues/1668">#1668</a>)</p></li> <li><p>Warn if a path in PATH starts with tilde during <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6414">#6414</a>)</p></li> <li><p>Cache wheels built from Git requirements that are considered immutable, because they point to a commit hash. (<a class="reference external" href="https://github.com/pypa/pip/issues/6640">#6640</a>)</p></li> <li><p>Add option <code class="docutils literal notranslate"><span class="pre">--no-python-version-warning</span></code> to silence warnings related to deprecation of Python versions. (<a class="reference external" href="https://github.com/pypa/pip/issues/6673">#6673</a>)</p></li> <li><p>Cache wheels that <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> built locally, matching what <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> does. This particularly helps performance in workflows where <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> is used for <a class="reference external" href="https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages">building before installing</a>. Users desiring the original behavior can use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span> <span class="pre">--no-cache-dir</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6852">#6852</a>)</p></li> <li><p>Display CA information in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">debug</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7146">#7146</a>)</p></li> <li><p>Show only the filename (instead of full URL), when downloading from PyPI. (<a class="reference external" href="https://github.com/pypa/pip/issues/7225">#7225</a>)</p></li> <li><p>Suggest a more robust command to upgrade pip itself to avoid confusion when the current pip command is not available as <code class="docutils literal notranslate"><span class="pre">pip</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7376">#7376</a>)</p></li> <li><p>Define all old pip console script entrypoints to prevent import issues in stale wrapper scripts. (<a class="reference external" href="https://github.com/pypa/pip/issues/7498">#7498</a>)</p></li> <li><p>The build step of <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> now builds all wheels to a cache first, then copies them to the wheel directory all at once. Before, it built them to a temporary directory and moved them to the wheel directory one by one. (<a class="reference external" href="https://github.com/pypa/pip/issues/7517">#7517</a>)</p></li> <li><p>Expand <code class="docutils literal notranslate"><span class="pre">~</span></code> prefix to user directory in path options, configs, and environment variables. Values that may be either URL or path are not currently supported, to avoid ambiguity:</p> <ul> <li><p><code class="docutils literal notranslate"><span class="pre">--find-links</span></code></p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--constraint</span></code>, <code class="docutils literal notranslate"><span class="pre">-c</span></code></p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--requirement</span></code>, <code class="docutils literal notranslate"><span class="pre">-r</span></code></p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--editable</span></code>, <code class="docutils literal notranslate"><span class="pre">-e</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/980">#980</a>)</p></li> </ul> </li> </ul> </section> <section id="id860"> <h3>Bug Fixes<a class="headerlink" href="#id860" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Correctly handle system site-packages, in virtual environments created with venv (PEP 405). (<a class="reference external" href="https://github.com/pypa/pip/issues/5702">#5702</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/7155">#7155</a>)</p></li> <li><p>Fix case sensitive comparison of pip freeze when used with -r option. (<a class="reference external" href="https://github.com/pypa/pip/issues/5716">#5716</a>)</p></li> <li><p>Enforce PEP 508 requirement format in <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> <code class="docutils literal notranslate"><span class="pre">build-system.requires</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6410">#6410</a>)</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">ensure_dir()</span></code> also ignore <code class="docutils literal notranslate"><span class="pre">ENOTEMPTY</span></code> as seen on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/6426">#6426</a>)</p></li> <li><p>Fix building packages which specify <code class="docutils literal notranslate"><span class="pre">backend-path</span></code> in pyproject.toml. (<a class="reference external" href="https://github.com/pypa/pip/issues/6599">#6599</a>)</p></li> <li><p>Do not attempt to run <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">clean</span></code> after a <code class="docutils literal notranslate"><span class="pre">pep517</span></code> build error, since a <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> may not exist in that case. (<a class="reference external" href="https://github.com/pypa/pip/issues/6642">#6642</a>)</p></li> <li><p>Fix passwords being visible in the index-url in “Downloading <url>” message. (<a class="reference external" href="https://github.com/pypa/pip/issues/6783">#6783</a>)</p></li> <li><p>Change method from shutil.remove to shutil.rmtree in noxfile.py. (<a class="reference external" href="https://github.com/pypa/pip/issues/7191">#7191</a>)</p></li> <li><p>Skip running tests which require subversion, when svn isn’t installed (<a class="reference external" href="https://github.com/pypa/pip/issues/7193">#7193</a>)</p></li> <li><p>Fix not sending client certificates when using <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7207">#7207</a>)</p></li> <li><p>Make sure <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> never outputs pure python wheels with a python implementation tag. Better fix/workaround for <a class="reference external" href="https://github.com/pypa/pip/issues/3025">#3025</a> by using a per-implementation wheel cache instead of caching pure python wheels with an implementation tag in their name. (<a class="reference external" href="https://github.com/pypa/pip/issues/7296">#7296</a>)</p></li> <li><p>Include <code class="docutils literal notranslate"><span class="pre">subdirectory</span></code> URL fragments in cache keys. (<a class="reference external" href="https://github.com/pypa/pip/issues/7333">#7333</a>)</p></li> <li><p>Fix typo in warning message when any of <code class="docutils literal notranslate"><span class="pre">--build-option</span></code>, <code class="docutils literal notranslate"><span class="pre">--global-option</span></code> and <code class="docutils literal notranslate"><span class="pre">--install-option</span></code> is used in requirements.txt (<a class="reference external" href="https://github.com/pypa/pip/issues/7340">#7340</a>)</p></li> <li><p>Fix the logging of cached HTTP response shown as downloading. (<a class="reference external" href="https://github.com/pypa/pip/issues/7393">#7393</a>)</p></li> <li><p>Effectively disable the wheel cache when it is not writable, as is the case with the http cache. (<a class="reference external" href="https://github.com/pypa/pip/issues/7488">#7488</a>)</p></li> <li><p>Correctly handle relative cache directory provided via --cache-dir. (<a class="reference external" href="https://github.com/pypa/pip/issues/7541">#7541</a>)</p></li> </ul> </section> <section id="id879"> <h3>Vendored Libraries<a class="headerlink" href="#id879" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade CacheControl to 0.12.5</p></li> <li><p>Upgrade certifi to 2019.9.11</p></li> <li><p>Upgrade colorama to 0.4.1</p></li> <li><p>Upgrade distlib to 0.2.9.post0</p></li> <li><p>Upgrade ipaddress to 1.0.22</p></li> <li><p>Update packaging to 20.0.</p></li> <li><p>Upgrade pkg_resources (via setuptools) to 44.0.0</p></li> <li><p>Upgrade pyparsing to 2.4.2</p></li> <li><p>Upgrade six to 1.12.0</p></li> <li><p>Upgrade urllib3 to 1.25.6</p></li> </ul> </section> <section id="id880"> <h3>Improved Documentation<a class="headerlink" href="#id880" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document that “coding: utf-8” is supported in requirements.txt (<a class="reference external" href="https://github.com/pypa/pip/issues/7182">#7182</a>)</p></li> <li><p>Explain how to get pip’s source code in <a class="reference external" href="https://pip.pypa.io/en/stable/development/getting-started/">Getting Started</a> (<a class="reference external" href="https://github.com/pypa/pip/issues/7197">#7197</a>)</p></li> <li><p>Describe how basic authentication credentials in URLs work. (<a class="reference external" href="https://github.com/pypa/pip/issues/7201">#7201</a>)</p></li> <li><p>Add more clear installation instructions (<a class="reference external" href="https://github.com/pypa/pip/issues/7222">#7222</a>)</p></li> <li><p>Fix documentation links for index options (<a class="reference external" href="https://github.com/pypa/pip/issues/7347">#7347</a>)</p></li> <li><p>Better document the requirements file format (<a class="reference external" href="https://github.com/pypa/pip/issues/7385">#7385</a>)</p></li> </ul> </section> </section> <section id="v19-3-1"> <span id="id887"></span><h2>19.3.1 (2019-10-17)<a class="headerlink" href="#v19-3-1" title="Link to this heading">¶</a></h2> <section id="id888"> <h3>Features<a class="headerlink" href="#id888" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document Python 3.8 support. (<a class="reference external" href="https://github.com/pypa/pip/issues/7219">#7219</a>)</p></li> </ul> </section> <section id="id890"> <h3>Bug Fixes<a class="headerlink" href="#id890" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix bug that prevented installation of PEP 517 packages without <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6606">#6606</a>)</p></li> </ul> </section> </section> <section id="v19-3"> <span id="id892"></span><h2>19.3 (2019-10-14)<a class="headerlink" href="#v19-3" title="Link to this heading">¶</a></h2> <section id="id893"> <h3>Deprecations and Removals<a class="headerlink" href="#id893" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Remove undocumented support for un-prefixed URL requirements pointing to SVN repositories. Users relying on this can get the original behavior by prefixing their URL with <code class="docutils literal notranslate"><span class="pre">svn+</span></code> (which is backwards-compatible). (<a class="reference external" href="https://github.com/pypa/pip/issues/7037">#7037</a>)</p></li> <li><p>Remove the deprecated <code class="docutils literal notranslate"><span class="pre">--venv</span></code> option from <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7163">#7163</a>)</p></li> </ul> </section> <section id="id896"> <h3>Features<a class="headerlink" href="#id896" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Print a better error message when <code class="docutils literal notranslate"><span class="pre">--no-binary</span></code> or <code class="docutils literal notranslate"><span class="pre">--only-binary</span></code> is given an argument starting with <code class="docutils literal notranslate"><span class="pre">-</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/3191">#3191</a>)</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> warn about packages not found. (<a class="reference external" href="https://github.com/pypa/pip/issues/6858">#6858</a>)</p></li> <li><p>Support including a port number in <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> for both HTTP and HTTPS. (<a class="reference external" href="https://github.com/pypa/pip/issues/6886">#6886</a>)</p></li> <li><p>Redact single-part login credentials from URLs in log messages. (<a class="reference external" href="https://github.com/pypa/pip/issues/6891">#6891</a>)</p></li> <li><p>Implement manylinux2014 platform tag support. manylinux2014 is the successor to manylinux2010. It allows carefully compiled binary wheels to be installed on compatible Linux platforms. The manylinux2014 platform tag definition can be found in <a class="reference external" href="https://www.python.org/dev/peps/pep-0599/">PEP599</a>. (<a class="reference external" href="https://github.com/pypa/pip/issues/7102">#7102</a>)</p></li> </ul> </section> <section id="id902"> <h3>Bug Fixes<a class="headerlink" href="#id902" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Abort installation if any archive contains a file which would be placed outside the extraction location. (<a class="reference external" href="https://github.com/pypa/pip/issues/3907">#3907</a>)</p></li> <li><p>pip’s CLI completion code no longer prints a Traceback if it is interrupted. (<a class="reference external" href="https://github.com/pypa/pip/issues/3942">#3942</a>)</p></li> <li><p>Correct inconsistency related to the <code class="docutils literal notranslate"><span class="pre">hg+file</span></code> scheme. (<a class="reference external" href="https://github.com/pypa/pip/issues/4358">#4358</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">rmtree_errorhandler</span></code> to skip non-existing directories. (<a class="reference external" href="https://github.com/pypa/pip/issues/4910">#4910</a>)</p></li> <li><p>Ignore errors copying socket files for local source installs (in Python 3). (<a class="reference external" href="https://github.com/pypa/pip/issues/5306">#5306</a>)</p></li> <li><p>Fix requirement line parser to correctly handle PEP 440 requirements with a URL pointing to an archive file. (<a class="reference external" href="https://github.com/pypa/pip/issues/6202">#6202</a>)</p></li> <li><p>The <code class="docutils literal notranslate"><span class="pre">pip-wheel-metadata</span></code> directory does not need to persist between invocations of pip, use a temporary directory instead of the current <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/6213">#6213</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> processing under HTTPS to trust any port number used with the host. (<a class="reference external" href="https://github.com/pypa/pip/issues/6705">#6705</a>)</p></li> <li><p>Switch to new <code class="docutils literal notranslate"><span class="pre">distlib</span></code> wheel script template. This should be functionally equivalent for end users. (<a class="reference external" href="https://github.com/pypa/pip/issues/6763">#6763</a>)</p></li> <li><p>Skip copying .tox and .nox directories to temporary build directories (<a class="reference external" href="https://github.com/pypa/pip/issues/6770">#6770</a>)</p></li> <li><p>Fix handling of tokens (single part credentials) in URLs. (<a class="reference external" href="https://github.com/pypa/pip/issues/6795">#6795</a>)</p></li> <li><p>Fix a regression that caused <code class="docutils literal notranslate"><span class="pre">~</span></code> expansion not to occur in <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> paths. (<a class="reference external" href="https://github.com/pypa/pip/issues/6804">#6804</a>)</p></li> <li><p>Fix bypassed pip upgrade warning on Windows. (<a class="reference external" href="https://github.com/pypa/pip/issues/6841">#6841</a>)</p></li> <li><p>Fix ‘m’ flag erroneously being appended to ABI tag in Python 3.8 on platforms that do not provide SOABI (<a class="reference external" href="https://github.com/pypa/pip/issues/6885">#6885</a>)</p></li> <li><p>Hide security-sensitive strings like passwords in log messages related to version control system (aka VCS) command invocations. (<a class="reference external" href="https://github.com/pypa/pip/issues/6890">#6890</a>)</p></li> <li><p>Correctly uninstall symlinks that were installed in a virtualenv, by tools such as <code class="docutils literal notranslate"><span class="pre">flit</span> <span class="pre">install</span> <span class="pre">--symlink</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6892">#6892</a>)</p></li> <li><p>Don’t fail installation using pip.exe on Windows when pip wouldn’t be upgraded. (<a class="reference external" href="https://github.com/pypa/pip/issues/6924">#6924</a>)</p></li> <li><p>Use canonical distribution names when computing <code class="docutils literal notranslate"><span class="pre">Required-By</span></code> in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6947">#6947</a>)</p></li> <li><p>Don’t use hardlinks for locking selfcheck state file. (<a class="reference external" href="https://github.com/pypa/pip/issues/6954">#6954</a>)</p></li> <li><p>Ignore “require_virtualenv” in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">config</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/6991">#6991</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> not showing correct entry for mercurial packages that use subdirectories. (<a class="reference external" href="https://github.com/pypa/pip/issues/7071">#7071</a>)</p></li> <li><p>Fix a crash when <code class="docutils literal notranslate"><span class="pre">sys.stdin</span></code> is set to <code class="docutils literal notranslate"><span class="pre">None</span></code>, such as on AWS Lambda. (<a class="reference external" href="https://github.com/pypa/pip/issues/7118">#7118</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/7119">#7119</a>)</p></li> </ul> </section> <section id="id926"> <h3>Vendored Libraries<a class="headerlink" href="#id926" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2019.9.11</p></li> <li><p>Add contextlib2 0.6.0 as a vendored dependency.</p></li> <li><p>Remove Lockfile as a vendored dependency.</p></li> <li><p>Upgrade msgpack to 0.6.2</p></li> <li><p>Upgrade packaging to 19.2</p></li> <li><p>Upgrade pep517 to 0.7.0</p></li> <li><p>Upgrade pyparsing to 2.4.2</p></li> <li><p>Upgrade pytoml to 0.1.21</p></li> <li><p>Upgrade setuptools to 41.4.0</p></li> <li><p>Upgrade urllib3 to 1.25.6</p></li> </ul> </section> <section id="id927"> <h3>Improved Documentation<a class="headerlink" href="#id927" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document caveats for UNC paths in uninstall and add .pth unit tests. (<a class="reference external" href="https://github.com/pypa/pip/issues/6516">#6516</a>)</p></li> <li><p>Add architectural overview documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/6637">#6637</a>)</p></li> <li><p>Document that <code class="docutils literal notranslate"><span class="pre">--ignore-installed</span></code> is dangerous. (<a class="reference external" href="https://github.com/pypa/pip/issues/6794">#6794</a>)</p></li> </ul> </section> </section> <section id="v19-2-3"> <span id="id931"></span><h2>19.2.3 (2019-08-25)<a class="headerlink" href="#v19-2-3" title="Link to this heading">¶</a></h2> <section id="id932"> <h3>Bug Fixes<a class="headerlink" href="#id932" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix ‘m’ flag erroneously being appended to ABI tag in Python 3.8 on platforms that do not provide SOABI (<a class="reference external" href="https://github.com/pypa/pip/issues/6885">#6885</a>)</p></li> </ul> </section> </section> <section id="v19-2-2"> <span id="id934"></span><h2>19.2.2 (2019-08-11)<a class="headerlink" href="#v19-2-2" title="Link to this heading">¶</a></h2> <section id="id935"> <h3>Bug Fixes<a class="headerlink" href="#id935" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix handling of tokens (single part credentials) in URLs. (<a class="reference external" href="https://github.com/pypa/pip/issues/6795">#6795</a>)</p></li> <li><p>Fix a regression that caused <code class="docutils literal notranslate"><span class="pre">~</span></code> expansion not to occur in <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> paths. (<a class="reference external" href="https://github.com/pypa/pip/issues/6804">#6804</a>)</p></li> </ul> </section> </section> <section id="v19-2-1"> <span id="id938"></span><h2>19.2.1 (2019-07-23)<a class="headerlink" href="#v19-2-1" title="Link to this heading">¶</a></h2> <section id="id939"> <h3>Bug Fixes<a class="headerlink" href="#id939" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a <code class="docutils literal notranslate"><span class="pre">NoneType</span></code> <code class="docutils literal notranslate"><span class="pre">AttributeError</span></code> when evaluating hashes and no hashes are provided. (<a class="reference external" href="https://github.com/pypa/pip/issues/6772">#6772</a>)</p></li> </ul> </section> </section> <section id="v19-2"> <span id="id941"></span><h2>19.2 (2019-07-22)<a class="headerlink" href="#v19-2" title="Link to this heading">¶</a></h2> <section id="id942"> <h3>Deprecations and Removals<a class="headerlink" href="#id942" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Drop support for EOL Python 3.4. (<a class="reference external" href="https://github.com/pypa/pip/issues/6685">#6685</a>)</p></li> <li><p>Improve deprecation messages to include the version in which the functionality will be removed. (<a class="reference external" href="https://github.com/pypa/pip/issues/6549">#6549</a>)</p></li> </ul> </section> <section id="id945"> <h3>Features<a class="headerlink" href="#id945" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Credentials will now be loaded using <cite>keyring</cite> when installed. (<a class="reference external" href="https://github.com/pypa/pip/issues/5948">#5948</a>)</p></li> <li><p>Fully support using <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> inside requirements files. (<a class="reference external" href="https://github.com/pypa/pip/issues/3799">#3799</a>)</p></li> <li><p>Update timestamps in pip’s <code class="docutils literal notranslate"><span class="pre">--log</span></code> file to include milliseconds. (<a class="reference external" href="https://github.com/pypa/pip/issues/6587">#6587</a>)</p></li> <li><p>Respect whether a file has been marked as “yanked” from a simple repository (see <a class="reference external" href="https://www.python.org/dev/peps/pep-0592/">PEP 592</a> for details). (<a class="reference external" href="https://github.com/pypa/pip/issues/6633">#6633</a>)</p></li> <li><p>When choosing candidates to install, prefer candidates with a hash matching one of the user-provided hashes. (<a class="reference external" href="https://github.com/pypa/pip/issues/5874">#5874</a>)</p></li> <li><p>Improve the error message when <code class="docutils literal notranslate"><span class="pre">METADATA</span></code> or <code class="docutils literal notranslate"><span class="pre">PKG-INFO</span></code> is None when accessing metadata. (<a class="reference external" href="https://github.com/pypa/pip/issues/5082">#5082</a>)</p></li> <li><p>Add a new command <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">debug</span></code> that can display e.g. the list of compatible tags for the current Python. (<a class="reference external" href="https://github.com/pypa/pip/issues/6638">#6638</a>)</p></li> <li><p>Display hint on installing with --pre when search results include pre-release versions. (<a class="reference external" href="https://github.com/pypa/pip/issues/5169">#5169</a>)</p></li> <li><p>Report to Warehouse that pip is running under CI if the <code class="docutils literal notranslate"><span class="pre">PIP_IS_CI</span></code> environment variable is set. (<a class="reference external" href="https://github.com/pypa/pip/issues/5499">#5499</a>)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--python-version</span></code> to be passed as a dotted version string (e.g. <code class="docutils literal notranslate"><span class="pre">3.7</span></code> or <code class="docutils literal notranslate"><span class="pre">3.7.3</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/6585">#6585</a>)</p></li> <li><p>Log the final filename and SHA256 of a <code class="docutils literal notranslate"><span class="pre">.whl</span></code> file when done building a wheel. (<a class="reference external" href="https://github.com/pypa/pip/issues/5908">#5908</a>)</p></li> <li><p>Include the wheel’s tags in the log message explanation when a candidate wheel link is found incompatible. (<a class="reference external" href="https://github.com/pypa/pip/issues/6121">#6121</a>)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--path</span></code> argument to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> to support <code class="docutils literal notranslate"><span class="pre">--target</span></code> installations. (<a class="reference external" href="https://github.com/pypa/pip/issues/6404">#6404</a>)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--path</span></code> argument to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> to support <code class="docutils literal notranslate"><span class="pre">--target</span></code> installations. (<a class="reference external" href="https://github.com/pypa/pip/issues/6551">#6551</a>)</p></li> </ul> </section> <section id="id960"> <h3>Bug Fixes<a class="headerlink" href="#id960" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Set <code class="docutils literal notranslate"><span class="pre">sys.argv[0]</span></code> to the underlying <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> when invoking <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> via the setuptools shim so setuptools doesn’t think the path is <code class="docutils literal notranslate"><span class="pre">-c</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/1890">#1890</a>)</p></li> <li><p>Update <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> to respect the given <code class="docutils literal notranslate"><span class="pre">--python-version</span></code> when checking <code class="docutils literal notranslate"><span class="pre">"Requires-Python"</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5369">#5369</a>)</p></li> <li><p>Respect <code class="docutils literal notranslate"><span class="pre">--global-option</span></code> and <code class="docutils literal notranslate"><span class="pre">--install-option</span></code> when installing from a version control url (e.g. <code class="docutils literal notranslate"><span class="pre">git</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/5518">#5518</a>)</p></li> <li><p>Make the “ascii” progress bar really be “ascii” and not Unicode. (<a class="reference external" href="https://github.com/pypa/pip/issues/5671">#5671</a>)</p></li> <li><p>Fail elegantly when trying to set an incorrectly formatted key in config. (<a class="reference external" href="https://github.com/pypa/pip/issues/5963">#5963</a>)</p></li> <li><p>Prevent DistutilsOptionError when prefix is indicated in the global environment and <cite>--target</cite> is used. (<a class="reference external" href="https://github.com/pypa/pip/issues/6008">#6008</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> to respect <code class="docutils literal notranslate"><span class="pre">--ignore-requires-python</span></code> when evaluating links. (<a class="reference external" href="https://github.com/pypa/pip/issues/6371">#6371</a>)</p></li> <li><p>Fix a debug log message when freezing an editable, non-version controlled requirement. (<a class="reference external" href="https://github.com/pypa/pip/issues/6383">#6383</a>)</p></li> <li><p>Extend to Subversion 1.8+ the behavior of calling Subversion in interactive mode when pip is run interactively. (<a class="reference external" href="https://github.com/pypa/pip/issues/6386">#6386</a>)</p></li> <li><p>Prevent <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre"><url></span></code> from permitting directory traversal if e.g. a malicious server sends a <code class="docutils literal notranslate"><span class="pre">Content-Disposition</span></code> header with a filename containing <code class="docutils literal notranslate"><span class="pre">../</span></code> or <code class="docutils literal notranslate"><span class="pre">..\\</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6413">#6413</a>)</p></li> <li><p>Hide passwords in output when using <code class="docutils literal notranslate"><span class="pre">--find-links</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6489">#6489</a>)</p></li> <li><p>Include more details in the log message if <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> can’t generate a requirement string for a particular distribution. (<a class="reference external" href="https://github.com/pypa/pip/issues/6513">#6513</a>)</p></li> <li><p>Add the line number and file location to the error message when reading an invalid requirements file in certain situations. (<a class="reference external" href="https://github.com/pypa/pip/issues/6527">#6527</a>)</p></li> <li><p>Prefer <code class="docutils literal notranslate"><span class="pre">os.confstr</span></code> to <code class="docutils literal notranslate"><span class="pre">ctypes</span></code> when extracting glibc version info. (<a class="reference external" href="https://github.com/pypa/pip/issues/6543">#6543</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/6675">#6675</a>)</p></li> <li><p>Improve error message printed when an invalid editable requirement is provided. (<a class="reference external" href="https://github.com/pypa/pip/issues/6648">#6648</a>)</p></li> <li><p>Improve error message formatting when a command errors out in a subprocess. (<a class="reference external" href="https://github.com/pypa/pip/issues/6651">#6651</a>)</p></li> </ul> </section> <section id="id978"> <h3>Vendored Libraries<a class="headerlink" href="#id978" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2019.6.16</p></li> <li><p>Upgrade distlib to 0.2.9.post0</p></li> <li><p>Upgrade msgpack to 0.6.1</p></li> <li><p>Upgrade requests to 2.22.0</p></li> <li><p>Upgrade urllib3 to 1.25.3</p></li> <li><p>Patch vendored html5lib, to prefer using <cite>collections.abc</cite> where possible.</p></li> </ul> </section> <section id="id979"> <h3>Improved Documentation<a class="headerlink" href="#id979" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document how Python 2.7 support will be maintained. (<a class="reference external" href="https://github.com/pypa/pip/issues/6726">#6726</a>)</p></li> <li><p>Upgrade Sphinx version used to build documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/6471">#6471</a>)</p></li> <li><p>Fix generation of subcommand manpages. (<a class="reference external" href="https://github.com/pypa/pip/issues/6724">#6724</a>)</p></li> <li><p>Mention that pip can install from git refs. (<a class="reference external" href="https://github.com/pypa/pip/issues/6512">#6512</a>)</p></li> <li><p>Replace a failing example of pip installs with extras with a working one. (<a class="reference external" href="https://github.com/pypa/pip/issues/4733">#4733</a>)</p></li> </ul> </section> </section> <section id="v19-1-1"> <span id="id985"></span><h2>19.1.1 (2019-05-06)<a class="headerlink" href="#v19-1-1" title="Link to this heading">¶</a></h2> <section id="id986"> <h3>Features<a class="headerlink" href="#id986" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Restore <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> handling to how it was with pip 19.0.3 to prevent the need to add <code class="docutils literal notranslate"><span class="pre">--no-use-pep517</span></code> when installing in editable mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/6434">#6434</a>)</p></li> </ul> </section> <section id="id988"> <h3>Bug Fixes<a class="headerlink" href="#id988" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a regression that caused <cite>@</cite> to be quoted in pypiserver links. This interfered with parsing the revision string from VCS urls. (<a class="reference external" href="https://github.com/pypa/pip/issues/6440">#6440</a>)</p></li> </ul> </section> </section> <section id="v19-1"> <span id="id990"></span><h2>19.1 (2019-04-23)<a class="headerlink" href="#v19-1" title="Link to this heading">¶</a></h2> <section id="id991"> <h3>Features<a class="headerlink" href="#id991" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Configuration files may now also be stored under <code class="docutils literal notranslate"><span class="pre">sys.prefix</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/5060">#5060</a>)</p></li> <li><p>Avoid creating an unnecessary local clone of a Bazaar branch when exporting. (<a class="reference external" href="https://github.com/pypa/pip/issues/5443">#5443</a>)</p></li> <li><p>Include in pip’s User-Agent string whether it looks like pip is running under CI. (<a class="reference external" href="https://github.com/pypa/pip/issues/5499">#5499</a>)</p></li> <li><p>A custom (JSON-encoded) string can now be added to pip’s User-Agent using the <code class="docutils literal notranslate"><span class="pre">PIP_USER_AGENT_USER_DATA</span></code> environment variable. (<a class="reference external" href="https://github.com/pypa/pip/issues/5549">#5549</a>)</p></li> <li><p>For consistency, passing <code class="docutils literal notranslate"><span class="pre">--no-cache-dir</span></code> no longer affects whether wheels will be built. In this case, a temporary directory is used. (<a class="reference external" href="https://github.com/pypa/pip/issues/5749">#5749</a>)</p></li> <li><p>Command arguments in <code class="docutils literal notranslate"><span class="pre">subprocess</span></code> log messages are now quoted using <code class="docutils literal notranslate"><span class="pre">shlex.quote()</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6290">#6290</a>)</p></li> <li><p>Prefix warning and error messages in log output with <cite>WARNING</cite> and <cite>ERROR</cite>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6298">#6298</a>)</p></li> <li><p>Using <code class="docutils literal notranslate"><span class="pre">--build-options</span></code> in a PEP 517 build now fails with an error, rather than silently ignoring the option. (<a class="reference external" href="https://github.com/pypa/pip/issues/6305">#6305</a>)</p></li> <li><p>Error out with an informative message if one tries to install a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>-style (PEP 517) source tree using <code class="docutils literal notranslate"><span class="pre">--editable</span></code> mode. (<a class="reference external" href="https://github.com/pypa/pip/issues/6314">#6314</a>)</p></li> <li><p>When downloading a package, the ETA and average speed now only update once per second for better legibility. (<a class="reference external" href="https://github.com/pypa/pip/issues/6319">#6319</a>)</p></li> </ul> </section> <section id="id1002"> <h3>Bug Fixes<a class="headerlink" href="#id1002" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>The stdout and stderr from VCS commands run by pip as subprocesses (e.g. <code class="docutils literal notranslate"><span class="pre">git</span></code>, <code class="docutils literal notranslate"><span class="pre">hg</span></code>, etc.) no longer pollute pip’s stdout. (<a class="reference external" href="https://github.com/pypa/pip/issues/1219">#1219</a>)</p></li> <li><p>Fix handling of requests exceptions when dependencies are debundled. (<a class="reference external" href="https://github.com/pypa/pip/issues/4195">#4195</a>)</p></li> <li><p>Make pip’s self version check avoid recommending upgrades to prereleases if the currently-installed version is stable. (<a class="reference external" href="https://github.com/pypa/pip/issues/5175">#5175</a>)</p></li> <li><p>Fixed crash when installing a requirement from a URL that comes from a dependency without a URL. (<a class="reference external" href="https://github.com/pypa/pip/issues/5889">#5889</a>)</p></li> <li><p>Improve handling of file URIs: correctly handle <cite>file://localhost/…</cite> and don’t try to use UNC paths on Unix. (<a class="reference external" href="https://github.com/pypa/pip/issues/5892">#5892</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">utils.encoding.auto_decode()</span></code> <code class="docutils literal notranslate"><span class="pre">LookupError</span></code> with invalid encodings. <code class="docutils literal notranslate"><span class="pre">utils.encoding.auto_decode()</span></code> was broken when decoding Big Endian BOM byte-strings on Little Endian or vice versa. (<a class="reference external" href="https://github.com/pypa/pip/issues/6054">#6054</a>)</p></li> <li><p>Fix incorrect URL quoting of IPv6 addresses. (<a class="reference external" href="https://github.com/pypa/pip/issues/6285">#6285</a>)</p></li> <li><p>Redact the password from the extra index URL when using <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">-v</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6295">#6295</a>)</p></li> <li><p>The spinner no longer displays a completion message after subprocess calls not needing a spinner. It also no longer incorrectly reports an error after certain subprocess calls to Git that succeeded. (<a class="reference external" href="https://github.com/pypa/pip/issues/6312">#6312</a>)</p></li> <li><p>Fix the handling of editable mode during installs when <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> is present but PEP 517 doesn’t require the source tree to be treated as <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code>-style. (<a class="reference external" href="https://github.com/pypa/pip/issues/6370">#6370</a>)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">NameError</span></code> when handling an invalid requirement. (<a class="reference external" href="https://github.com/pypa/pip/issues/6419">#6419</a>)</p></li> </ul> </section> <section id="id1014"> <h3>Vendored Libraries<a class="headerlink" href="#id1014" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Updated certifi to 2019.3.9</p></li> <li><p>Updated distro to 1.4.0</p></li> <li><p>Update progress to 1.5</p></li> <li><p>Updated pyparsing to 2.4.0</p></li> <li><p>Updated pkg_resources to 41.0.1 (via setuptools)</p></li> </ul> </section> <section id="id1015"> <h3>Improved Documentation<a class="headerlink" href="#id1015" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Make dashes render correctly when displaying long options like <code class="docutils literal notranslate"><span class="pre">--find-links</span></code> in the text. (<a class="reference external" href="https://github.com/pypa/pip/issues/6422">#6422</a>)</p></li> </ul> </section> </section> <section id="v19-0-3"> <span id="id1017"></span><h2>19.0.3 (2019-02-20)<a class="headerlink" href="#v19-0-3" title="Link to this heading">¶</a></h2> <section id="id1018"> <h3>Bug Fixes<a class="headerlink" href="#id1018" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix an <code class="docutils literal notranslate"><span class="pre">IndexError</span></code> crash when a legacy build of a wheel fails. (<a class="reference external" href="https://github.com/pypa/pip/issues/6252">#6252</a>)</p></li> <li><p>Fix a regression introduced in 19.0.2 where the filename in a RECORD file of an installed file would not be updated when installing a wheel. (<a class="reference external" href="https://github.com/pypa/pip/issues/6266">#6266</a>)</p></li> </ul> </section> </section> <section id="v19-0-2"> <span id="id1021"></span><h2>19.0.2 (2019-02-09)<a class="headerlink" href="#v19-0-2" title="Link to this heading">¶</a></h2> <section id="id1022"> <h3>Bug Fixes<a class="headerlink" href="#id1022" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a crash where PEP 517-based builds using <code class="docutils literal notranslate"><span class="pre">--no-cache-dir</span></code> would fail in some circumstances with an <code class="docutils literal notranslate"><span class="pre">AssertionError</span></code> due to not finalizing a build directory internally. (<a class="reference external" href="https://github.com/pypa/pip/issues/6197">#6197</a>)</p></li> <li><p>Provide a better error message if attempting an editable install of a directory with a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> but no <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/6170">#6170</a>)</p></li> <li><p>The implicit default backend used for projects that provide a <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> file without explicitly specifying <code class="docutils literal notranslate"><span class="pre">build-backend</span></code> now behaves more like direct execution of <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>, and hence should restore compatibility with projects that were unable to be installed with <code class="docutils literal notranslate"><span class="pre">pip</span></code> 19.0. This raised the minimum required version of <code class="docutils literal notranslate"><span class="pre">setuptools</span></code> for such builds to 40.8.0. (<a class="reference external" href="https://github.com/pypa/pip/issues/6163">#6163</a>)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">RECORD</span></code> lines with more than three elements, and display a warning. (<a class="reference external" href="https://github.com/pypa/pip/issues/6165">#6165</a>)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">AdjacentTempDirectory</span></code> fails on unwritable directory instead of locking up the uninstall command. (<a class="reference external" href="https://github.com/pypa/pip/issues/6169">#6169</a>)</p></li> <li><p>Make failed uninstalls roll back more reliably and better at avoiding naming conflicts. (<a class="reference external" href="https://github.com/pypa/pip/issues/6194">#6194</a>)</p></li> <li><p>Ensure the correct wheel file is copied when building PEP 517 distribution is built. (<a class="reference external" href="https://github.com/pypa/pip/issues/6196">#6196</a>)</p></li> <li><p>The Python 2 end of life warning now only shows on CPython, which is the implementation that has announced end of life plans. (<a class="reference external" href="https://github.com/pypa/pip/issues/6207">#6207</a>)</p></li> </ul> </section> <section id="id1031"> <h3>Improved Documentation<a class="headerlink" href="#id1031" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Re-write README and documentation index (<a class="reference external" href="https://github.com/pypa/pip/issues/5815">#5815</a>)</p></li> </ul> </section> </section> <section id="v19-0-1"> <span id="id1033"></span><h2>19.0.1 (2019-01-23)<a class="headerlink" href="#v19-0-1" title="Link to this heading">¶</a></h2> <section id="id1034"> <h3>Bug Fixes<a class="headerlink" href="#id1034" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a crash when using --no-cache-dir with PEP 517 distributions (<a class="reference external" href="https://github.com/pypa/pip/issues/6158">#6158</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/6171">#6171</a>)</p></li> </ul> </section> </section> <section id="v19-0"> <span id="id1037"></span><h2>19.0 (2019-01-22)<a class="headerlink" href="#v19-0" title="Link to this heading">¶</a></h2> <section id="id1038"> <h3>Deprecations and Removals<a class="headerlink" href="#id1038" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Deprecate support for Python 3.4 (<a class="reference external" href="https://github.com/pypa/pip/issues/6106">#6106</a>)</p></li> <li><p>Start printing a warning for Python 2.7 to warn of impending Python 2.7 End-of-life and prompt users to start migrating to Python 3. (<a class="reference external" href="https://github.com/pypa/pip/issues/6148">#6148</a>)</p></li> <li><p>Remove the deprecated <code class="docutils literal notranslate"><span class="pre">--process-dependency-links</span></code> option. (<a class="reference external" href="https://github.com/pypa/pip/issues/6060">#6060</a>)</p></li> <li><p>Remove the deprecated SVN editable detection based on dependency links during freeze. (<a class="reference external" href="https://github.com/pypa/pip/issues/5866">#5866</a>)</p></li> </ul> </section> <section id="id1043"> <h3>Features<a class="headerlink" href="#id1043" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Implement PEP 517 (allow projects to specify a build backend via pyproject.toml). (<a class="reference external" href="https://github.com/pypa/pip/issues/5743">#5743</a>)</p></li> <li><p>Implement manylinux2010 platform tag support. manylinux2010 is the successor to manylinux1. It allows carefully compiled binary wheels to be installed on compatible Linux platforms. (<a class="reference external" href="https://github.com/pypa/pip/issues/5008">#5008</a>)</p></li> <li><p>Improve build isolation: handle <code class="docutils literal notranslate"><span class="pre">.pth</span></code> files, so namespace packages are correctly supported under Python 3.2 and earlier. (<a class="reference external" href="https://github.com/pypa/pip/issues/5656">#5656</a>)</p></li> <li><p>Include the package name in a freeze warning if the package is not installed. (<a class="reference external" href="https://github.com/pypa/pip/issues/5943">#5943</a>)</p></li> <li><p>Warn when dropping an <code class="docutils literal notranslate"><span class="pre">--[extra-]index-url</span></code> value that points to an existing local directory. (<a class="reference external" href="https://github.com/pypa/pip/issues/5827">#5827</a>)</p></li> <li><p>Prefix pip’s <code class="docutils literal notranslate"><span class="pre">--log</span></code> file lines with their timestamp. (<a class="reference external" href="https://github.com/pypa/pip/issues/6141">#6141</a>)</p></li> </ul> </section> <section id="id1050"> <h3>Bug Fixes<a class="headerlink" href="#id1050" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Avoid creating excessively long temporary paths when uninstalling packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/3055">#3055</a>)</p></li> <li><p>Redact the password from the URL in various log messages. (<a class="reference external" href="https://github.com/pypa/pip/issues/4746">#4746</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/6124">#6124</a>)</p></li> <li><p>Avoid creating excessively long temporary paths when uninstalling packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/3055">#3055</a>)</p></li> <li><p>Avoid printing a stack trace when given an invalid requirement. (<a class="reference external" href="https://github.com/pypa/pip/issues/5147">#5147</a>)</p></li> <li><p>Present 401 warning if username/password do not work for URL (<a class="reference external" href="https://github.com/pypa/pip/issues/4833">#4833</a>)</p></li> <li><p>Handle <code class="docutils literal notranslate"><span class="pre">requests.exceptions.RetryError</span></code> raised in <code class="docutils literal notranslate"><span class="pre">PackageFinder</span></code> that was causing pip to fail silently when some indexes were unreachable. (<a class="reference external" href="https://github.com/pypa/pip/issues/5270">#5270</a>, <a class="reference external" href="https://github.com/pypa/pip/issues/5483">#5483</a>)</p></li> <li><p>Handle a broken stdout pipe more gracefully (e.g. when running <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">|</span> <span class="pre">head</span></code>). (<a class="reference external" href="https://github.com/pypa/pip/issues/4170">#4170</a>)</p></li> <li><p>Fix crash from setting <code class="docutils literal notranslate"><span class="pre">PIP_NO_CACHE_DIR=yes</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5385">#5385</a>)</p></li> <li><p>Fix crash from unparsable requirements when checking installed packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/5839">#5839</a>)</p></li> <li><p>Fix content type detection if a directory named like an archive is used as a package source. (<a class="reference external" href="https://github.com/pypa/pip/issues/5838">#5838</a>)</p></li> <li><p>Fix listing of outdated packages that are not dependencies of installed packages in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span> <span class="pre">--not-required</span></code> (<a class="reference external" href="https://github.com/pypa/pip/issues/5737">#5737</a>)</p></li> <li><p>Fix sorting <code class="docutils literal notranslate"><span class="pre">TypeError</span></code> in <code class="docutils literal notranslate"><span class="pre">move_wheel_files()</span></code> when installing some packages. (<a class="reference external" href="https://github.com/pypa/pip/issues/5868">#5868</a>)</p></li> <li><p>Fix support for invoking pip using <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">src/pip</span> <span class="pre">...</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5841">#5841</a>)</p></li> <li><p>Greatly reduce memory usage when installing wheels containing large files. (<a class="reference external" href="https://github.com/pypa/pip/issues/5848">#5848</a>)</p></li> <li><p>Editable non-VCS installs now freeze as editable. (<a class="reference external" href="https://github.com/pypa/pip/issues/5031">#5031</a>)</p></li> <li><p>Editable Git installs without a remote now freeze as editable. (<a class="reference external" href="https://github.com/pypa/pip/issues/4759">#4759</a>)</p></li> <li><p>Canonicalize sdist file names so they can be matched to a canonicalized package name passed to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5870">#5870</a>)</p></li> <li><p>Properly decode special characters in SVN URL credentials. (<a class="reference external" href="https://github.com/pypa/pip/issues/5968">#5968</a>)</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">PIP_NO_CACHE_DIR</span></code> disable the cache also for truthy values like <code class="docutils literal notranslate"><span class="pre">"true"</span></code>, <code class="docutils literal notranslate"><span class="pre">"yes"</span></code>, <code class="docutils literal notranslate"><span class="pre">"1"</span></code>, etc. (<a class="reference external" href="https://github.com/pypa/pip/issues/5735">#5735</a>)</p></li> </ul> </section> <section id="id1072"> <h3>Vendored Libraries<a class="headerlink" href="#id1072" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Include license text of vendored 3rd party libraries. (<a class="reference external" href="https://github.com/pypa/pip/issues/5213">#5213</a>)</p></li> <li><p>Update certifi to 2018.11.29</p></li> <li><p>Update colorama to 0.4.1</p></li> <li><p>Update distlib to 0.2.8</p></li> <li><p>Update idna to 2.8</p></li> <li><p>Update packaging to 19.0</p></li> <li><p>Update pep517 to 0.5.0</p></li> <li><p>Update pkg_resources to 40.6.3 (via setuptools)</p></li> <li><p>Update pyparsing to 2.3.1</p></li> <li><p>Update pytoml to 0.1.20</p></li> <li><p>Update requests to 2.21.0</p></li> <li><p>Update six to 1.12.0</p></li> <li><p>Update urllib3 to 1.24.1</p></li> </ul> </section> <section id="id1074"> <h3>Improved Documentation<a class="headerlink" href="#id1074" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Include the Vendoring Policy in the documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/5958">#5958</a>)</p></li> <li><p>Add instructions for running pip from source to Development documentation. (<a class="reference external" href="https://github.com/pypa/pip/issues/5949">#5949</a>)</p></li> <li><p>Remove references to removed <code class="docutils literal notranslate"><span class="pre">#egg=<name>-<version></span></code> functionality (<a class="reference external" href="https://github.com/pypa/pip/issues/5888">#5888</a>)</p></li> <li><p>Fix omission of command name in HTML usage documentation (<a class="reference external" href="https://github.com/pypa/pip/issues/5984">#5984</a>)</p></li> </ul> </section> </section> <section id="v18-1"> <span id="id1079"></span><h2>18.1 (2018-10-05)<a class="headerlink" href="#v18-1" title="Link to this heading">¶</a></h2> <section id="id1080"> <h3>Features<a class="headerlink" href="#id1080" title="Link to this heading">¶</a></h3> <ul> <li><p>Allow PEP 508 URL requirements to be used as dependencies.</p> <p>As a security measure, pip will raise an exception when installing packages from PyPI if those packages depend on packages not also hosted on PyPI. In the future, PyPI will block uploading packages with such external URL dependencies directly. (<a class="reference external" href="https://github.com/pypa/pip/issues/4187">#4187</a>)</p> </li> <li><p>Allows dist options (--abi, --python-version, --platform, --implementation) when installing with --target (<a class="reference external" href="https://github.com/pypa/pip/issues/5355">#5355</a>)</p></li> <li><p>Support passing <code class="docutils literal notranslate"><span class="pre">svn+ssh</span></code> URLs with a username to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-e</span></code>. (<a class="reference external" href="https://github.com/pypa/pip/issues/5375">#5375</a>)</p></li> <li><p>pip now ensures that the RECORD file is sorted when installing from a wheel file. (<a class="reference external" href="https://github.com/pypa/pip/issues/5525">#5525</a>)</p></li> <li><p>Add support for Python 3.7. (<a class="reference external" href="https://github.com/pypa/pip/issues/5561">#5561</a>)</p></li> <li><p>Malformed configuration files now show helpful error messages, instead of tracebacks. (<a class="reference external" href="https://github.com/pypa/pip/issues/5798">#5798</a>)</p></li> </ul> </section> <section id="id1087"> <h3>Bug Fixes<a class="headerlink" href="#id1087" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Checkout the correct branch when doing an editable Git install. (<a class="reference external" href="https://github.com/pypa/pip/issues/2037">#2037</a>)</p></li> <li><p>Run self-version-check only on commands that may access the index, instead of trying on every run and failing to do so due to missing options. (<a class="reference external" href="https://github.com/pypa/pip/issues/5433">#5433</a>)</p></li> <li><p>Allow a Git ref to be installed over an existing installation. (<a class="reference external" href="https://github.com/pypa/pip/issues/5624">#5624</a>)</p></li> <li><p>Show a better error message when a configuration option has an invalid value. (<a class="reference external" href="https://github.com/pypa/pip/issues/5644">#5644</a>)</p></li> <li><p>Always revalidate cached simple API pages instead of blindly caching them for up to 10 minutes. (<a class="reference external" href="https://github.com/pypa/pip/issues/5670">#5670</a>)</p></li> <li><p>Avoid caching self-version-check information when cache is disabled. (<a class="reference external" href="https://github.com/pypa/pip/issues/5679">#5679</a>)</p></li> <li><p>Avoid traceback printing on autocomplete after flags in the CLI. (<a class="reference external" href="https://github.com/pypa/pip/issues/5751">#5751</a>)</p></li> <li><p>Fix incorrect parsing of egg names if pip needs to guess the package name. (<a class="reference external" href="https://github.com/pypa/pip/issues/5819">#5819</a>)</p></li> </ul> </section> <section id="id1096"> <h3>Vendored Libraries<a class="headerlink" href="#id1096" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade certifi to 2018.8.24</p></li> <li><p>Upgrade packaging to 18.0</p></li> <li><p>Upgrade pyparsing to 2.2.1</p></li> <li><p>Add pep517 version 0.2</p></li> <li><p>Upgrade pytoml to 0.1.19</p></li> <li><p>Upgrade pkg_resources to 40.4.3 (via setuptools)</p></li> </ul> </section> <section id="id1097"> <h3>Improved Documentation<a class="headerlink" href="#id1097" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix “Requirements Files” reference in User Guide (<a class="reference external" href="https://github.com/pypa/pip/issues/user_guide_fix_requirements_file_ref">#user_guide_fix_requirements_file_ref</a>)</p></li> </ul> </section> </section> <section id="v18-0"> <span id="id1098"></span><h2>18.0 (2018-07-22)<a class="headerlink" href="#v18-0" title="Link to this heading">¶</a></h2> <section id="id1099"> <h3>Process<a class="headerlink" href="#id1099" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Switch to a Calendar based versioning scheme.</p></li> <li><p>Formally document our deprecation process as a minimum of 6 months of deprecation warnings.</p></li> <li><p>Adopt and document NEWS fragment writing style.</p></li> <li><p>Switch to releasing a new, non-bug fix version of pip every 3 months.</p></li> </ul> </section> <section id="id1100"> <h3>Deprecations and Removals<a class="headerlink" href="#id1100" title="Link to this heading">¶</a></h3> <ul> <li><p>Remove the legacy format from pip list. (#3651, #3654)</p></li> <li><p>Dropped support for Python 3.3. (#3796)</p></li> <li><p>Remove support for cleaning up #egg fragment postfixes. (#4174)</p></li> <li><p>Remove the shim for the old get-pip.py location. (#5520)</p> <p>For the past 2 years, it’s only been redirecting users to use the newer <a class="reference external" href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a> location.</p> </li> </ul> </section> <section id="id1101"> <h3>Features<a class="headerlink" href="#id1101" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Introduce a new --prefer-binary flag, to prefer older wheels over newer source packages. (#3785)</p></li> <li><p>Improve autocompletion function on file name completion after options which have <code class="docutils literal notranslate"><span class="pre"><file></span></code>, <code class="docutils literal notranslate"><span class="pre"><dir></span></code> or <code class="docutils literal notranslate"><span class="pre"><path></span></code> as metavar. (#4842, #5125)</p></li> <li><p>Add support for installing PEP 518 build dependencies from source. (#5229)</p></li> <li><p>Improve status message when upgrade is skipped due to only-if-needed strategy. (#5319)</p></li> </ul> </section> <section id="id1102"> <h3>Bug Fixes<a class="headerlink" href="#id1102" title="Link to this heading">¶</a></h3> <ul> <li><p>Update pip’s self-check logic to not use a virtualenv specific file and honor cache-dir. (#3905)</p></li> <li><p>Remove compiled pyo files for wheel packages. (#4471)</p></li> <li><p>Speed up printing of newly installed package versions. (#5127)</p></li> <li><p>Restrict install time dependency warnings to directly-dependant packages. (#5196, #5457)</p> <p>Warning about the entire package set has resulted in users getting confused as to why pip is printing these warnings.</p> </li> <li><p>Improve handling of PEP 518 build requirements: support environment markers and extras. (#5230, #5265)</p></li> <li><p>Remove username/password from log message when using index with basic auth. (#5249)</p></li> <li><p>Remove trailing os.sep from PATH directories to avoid false negatives. (#5293)</p></li> <li><p>Fix “pip wheel pip” being blocked by the “don’t use pip to modify itself” check. (#5311, #5312)</p></li> <li><p>Disable pip’s version check (and upgrade message) when installed by a different package manager. (#5346)</p> <p>This works better with Linux distributions where pip’s upgrade message may result in users running pip in a manner that modifies files that should be managed by the OS’s package manager.</p> </li> <li><p>Check for file existence and unlink first when clobbering existing files during a wheel install. (#5366)</p></li> <li><p>Improve error message to be more specific when no files are found as listed in as listed in PKG-INFO. (#5381)</p></li> <li><p>Always read <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> as UTF-8. This fixes Unicode handling on Windows and Python 2. (#5482)</p></li> <li><p>Fix a crash that occurs when PATH not set, while generating script location warning. (#5558)</p></li> <li><p>Disallow packages with <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> files that have an empty build-system table. (#5627)</p></li> </ul> </section> <section id="id1103"> <h3>Vendored Libraries<a class="headerlink" href="#id1103" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Update CacheControl to 0.12.5.</p></li> <li><p>Update certifi to 2018.4.16.</p></li> <li><p>Update distro to 1.3.0.</p></li> <li><p>Update idna to 2.7.</p></li> <li><p>Update ipaddress to 1.0.22.</p></li> <li><p>Update pkg_resources to 39.2.0 (via setuptools).</p></li> <li><p>Update progress to 1.4.</p></li> <li><p>Update pytoml to 0.1.16.</p></li> <li><p>Update requests to 2.19.1.</p></li> <li><p>Update urllib3 to 1.23.</p></li> </ul> </section> <section id="id1104"> <h3>Improved Documentation<a class="headerlink" href="#id1104" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Document how to use pip with a proxy server. (#512, #5574)</p></li> <li><p>Document that the output of pip show is in RFC-compliant mail header format. (#5261)</p></li> </ul> </section> </section> <section id="v10-0-1"> <span id="id1105"></span><h2>10.0.1 (2018-04-19)<a class="headerlink" href="#v10-0-1" title="Link to this heading">¶</a></h2> <section id="id1106"> <h3>Features<a class="headerlink" href="#id1106" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Switch the default repository to the new “PyPI 2.0” running at <a class="reference external" href="https://pypi.org/">https://pypi.org/</a>. (#5214)</p></li> </ul> </section> <section id="id1107"> <h3>Bug Fixes<a class="headerlink" href="#id1107" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fix a bug that made get-pip.py unusable on Windows without renaming. (#5219)</p></li> <li><p>Fix a TypeError when loading the cache on older versions of Python 2.7. (#5231)</p></li> <li><p>Fix and improve error message when EnvironmentError occurs during installation. (#5237)</p></li> <li><p>A crash when reinstalling from VCS requirements has been fixed. (#5251)</p></li> <li><p>Fix PEP 518 support when pip is installed in the user site. (#5524)</p></li> </ul> </section> <section id="id1108"> <h3>Vendored Libraries<a class="headerlink" href="#id1108" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgrade distlib to 0.2.7</p></li> </ul> </section> </section> <section id="v10-0-0"> <span id="id1109"></span><h2>10.0.0 (2018-04-14)<a class="headerlink" href="#v10-0-0" title="Link to this heading">¶</a></h2> <section id="id1110"> <h3>Bug Fixes<a class="headerlink" href="#id1110" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Prevent false-positive installation warnings due to incomplete name normalization. (#5134)</p></li> <li><p>Fix issue where installing from Git with a short SHA would fail. (#5140)</p></li> <li><p>Accept pre-release versions when checking for conflicts with pip check or pip install. (#5141)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">ioctl(fd,</span> <span class="pre">termios.TIOCGWINSZ,</span> <span class="pre">...)</span></code> needs 8 bytes of data (#5150)</p></li> <li><p>Do not warn about script location when installing to the directory containing sys.executable. This is the case when ‘pip install’ing without activating a virtualenv. (#5157)</p></li> <li><p>Fix PEP 518 support. (#5188)</p></li> <li><p>Don’t warn about script locations if <code class="docutils literal notranslate"><span class="pre">--target</span></code> is specified. (#5203)</p></li> </ul> </section> </section> <section id="b2-2018-04-02"> <span id="v10-0-0b2"></span><h2>10.0.0b2 (2018-04-02)<a class="headerlink" href="#b2-2018-04-02" title="Link to this heading">¶</a></h2> <section id="id1111"> <h3>Bug Fixes<a class="headerlink" href="#id1111" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Fixed line endings in CA Bundle - 10.0.0b1 was inadvertently released with Windows line endings. (#5131)</p></li> </ul> </section> </section> <section id="b1-2018-03-31"> <span id="v10-0-0b1"></span><h2>10.0.0b1 (2018-03-31)<a class="headerlink" href="#b1-2018-03-31" title="Link to this heading">¶</a></h2> <section id="id1112"> <h3>Deprecations and Removals<a class="headerlink" href="#id1112" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--egg</span></code> parameter to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (#1749)</p></li> <li><p>Removed support for uninstalling projects which have been installed using distutils. distutils installed projects do not include metadata indicating what files belong to that install and thus it is impossible to <em>actually</em> uninstall them rather than just remove the metadata saying they’ve been installed while leaving all of the actual files behind. (#2386)</p></li> <li><p>Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--download</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>. (#2643)</p></li> <li><p>Removed the deprecated --(no-)use-wheel flags to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code>. (#2699)</p></li> <li><p>Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--allow-external</span></code>, <code class="docutils literal notranslate"><span class="pre">--allow-all-external</span></code>, and <code class="docutils literal notranslate"><span class="pre">--allow-unverified</span></code> options. (#3070)</p></li> <li><p>Switch the default for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> to the columns format, and deprecate the legacy format. (#3654, #3686)</p></li> <li><p>Deprecate support for Python 3.3. (#3796)</p></li> <li><p>Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--default-vcs</span></code> option. (#4052)</p></li> <li><p>Removed the <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">test</span></code> support from our sdist as it wasn’t being maintained as a supported means to run our tests. (#4203)</p></li> <li><p>Dropped support for Python 2.6. (#4343)</p></li> <li><p>Removed the --editable flag from pip download, as it did not make sense (#4362)</p></li> <li><p>Deprecate SVN detection based on dependency links in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>. (#4449)</p></li> <li><p>Move all of pip’s APIs into the pip._internal package, properly reflecting the fact that pip does not currently have any public APIs. (#4696, #4700)</p></li> </ul> </section> <section id="id1113"> <h3>Features<a class="headerlink" href="#id1113" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Add <cite>--progress-bar <progress_bar></cite> to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code>, <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> commands, to allow selecting a specific progress indicator or, to completely suppress, (for example in a CI environment) use <code class="docutils literal notranslate"><span class="pre">--progress-bar</span> <span class="pre">off`</span></code>. (#2369, #2756)</p></li> <li><p>Add <cite>--no-color</cite> to <cite>pip</cite>. All colored output is disabled if this flag is detected. (#2449)</p></li> <li><p>pip uninstall now ignores the absence of a requirement and prints a warning. (#3016, #4642)</p></li> <li><p>Improved the memory and disk efficiency of the HTTP cache. (#3515)</p></li> <li><p>Support for packages specifying build dependencies in pyproject.toml (see <a class="reference external" href="https://www.python.org/dev/peps/pep-0518/">PEP 518</a>). Packages which specify one or more build dependencies this way will be built into wheels in an isolated environment with those dependencies installed. (#3691)</p></li> <li><p>pip now supports environment variable expansion in requirement files using only <code class="docutils literal notranslate"><span class="pre">${VARIABLE}</span></code> syntax on all platforms. (#3728)</p></li> <li><p>Allowed combinations of -q and -v to act sanely. Then we don’t need warnings mentioned in the issue. (#4008)</p></li> <li><p>Add <cite>--exclude-editable</cite> to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> to exclude editable packages from installed package list. (#4015, #4016)</p></li> <li><p>Improve the error message for the common <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">./requirements.txt</span></code> case. (#4127)</p></li> <li><p>Add support for the new <code class="docutils literal notranslate"><span class="pre">@</span> <span class="pre">url</span></code> syntax from PEP 508. (#4175)</p></li> <li><p>Add setuptools version to the statistics sent to BigQuery. (#4209)</p></li> <li><p>Report the line which caused the hash error when using requirement files. (#4227)</p></li> <li><p>Add a pip config command for managing configuration files. (#4240)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> to be used with a specific platform when <code class="docutils literal notranslate"><span class="pre">--no-deps</span></code> is set. (#4289)</p></li> <li><p>Support build-numbers in wheel versions and support sorting with build-numbers. (#4299)</p></li> <li><p>Change pip outdated to use PackageFinder in order to do the version lookup so that local mirrors in Environments that do not have Internet connections can be used as the Source of Truth for latest version. (#4336)</p></li> <li><p>pip now retries on more HTTP status codes, for intermittent failures. Previously, it only retried on the standard 503. Now, it also retries on 500 (transient failures on AWS S3), 520 and 527 (transient failures on Cloudflare). (#4473)</p></li> <li><p>pip now displays where it is looking for packages, if non-default locations are used. (#4483)</p></li> <li><p>Display a message to run the right command for modifying pip on Windows (#4490)</p></li> <li><p>Add Man Pages for pip (#4491)</p></li> <li><p>Make uninstall command less verbose by default (#4493)</p></li> <li><p>Switch the default upgrade strategy to be ‘only-if-needed’ (#4500)</p></li> <li><p>Installing from a local directory or a VCS URL now builds a wheel to install, rather than running <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code>. Wheels from these sources are not cached. (#4501)</p></li> <li><p>Don’t log a warning when installing a dependency from Git if the name looks like a commit hash. (#4507)</p></li> <li><p>pip now displays a warning when it installs scripts from a wheel outside the PATH. These warnings can be suppressed using a new --no-warn-script-location option. (#4553)</p></li> <li><p>Local Packages can now be referenced using forward slashes on Windows. (#4563)</p></li> <li><p>pip show learnt a new Required-by field that lists currently installed packages that depend on the shown package (#4564)</p></li> <li><p>The command-line autocompletion engine <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> now autocompletes installed distribution names. (#4749)</p></li> <li><p>Change documentation theme to be in line with Python Documentation (#4758)</p></li> <li><p>Add auto completion of short options. (#4954)</p></li> <li><p>Run ‘setup.py develop’ inside pep518 build environment. (#4999)</p></li> <li><p>pip install now prints an error message when it installs an incompatible version of a dependency. (#5000)</p></li> <li><p>Added a way to distinguish between pip installed packages and those from the system package manager in ‘pip list’. Specifically, ‘pip list -v’ also shows the installer of package if it has that meta data. (#949)</p></li> <li><p>Show install locations when list command ran with “-v” option. (#979)</p></li> </ul> </section> <section id="id1114"> <h3>Bug Fixes<a class="headerlink" href="#id1114" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Allow pip to work if the <code class="docutils literal notranslate"><span class="pre">GIT_DIR</span></code> and <code class="docutils literal notranslate"><span class="pre">GIT_WORK_TREE</span></code> environment variables are set. (#1130)</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--force-reinstall</span></code> not require passing <code class="docutils literal notranslate"><span class="pre">--upgrade</span></code>. (#1139)</p></li> <li><p>Return a failing exit status when <cite>pip install</cite>, <cite>pip download</cite>, or <cite>pip wheel</cite> is called with no requirements. (#2720)</p></li> <li><p>Interactive setup.py files will no longer hang indefinitely. (#2732, #4982)</p></li> <li><p>Correctly reset the terminal if an exception occurs while a progress bar is being shown. (#3015)</p></li> <li><p>“Support URL-encoded characters in URL credentials.” (#3236)</p></li> <li><p>Don’t assume sys.__stderr__.encoding exists (#3356)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">uninstall</span></code> when <code class="docutils literal notranslate"><span class="pre">easy-install.pth</span></code> lacks a trailing newline. (#3741)</p></li> <li><p>Keep install options in requirements.txt from leaking. (#3763)</p></li> <li><p>pip no longer passes global options from one package to later packages in the same requirement file. (#3830)</p></li> <li><p>Support installing from Git refs (#3876)</p></li> <li><p>Use pkg_resources to parse the entry points file to allow names with colons. (#3901)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-q</span></code> specified once correctly sets logging level to WARNING, instead of CRITICAL. Use <cite>-qqq</cite> to have the previous behavior back. (#3994)</p></li> <li><p>Shell completion scripts now use correct executable names (e.g., <code class="docutils literal notranslate"><span class="pre">pip3</span></code> instead of <code class="docutils literal notranslate"><span class="pre">pip</span></code>) (#3997)</p></li> <li><p>Changed vendored encodings from <code class="docutils literal notranslate"><span class="pre">utf8</span></code> to <code class="docutils literal notranslate"><span class="pre">utf-8</span></code>. (#4076)</p></li> <li><p>Fixes destination directory of data_files when <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--target</span></code> is used. (#4092)</p></li> <li><p>Limit the disabling of requests’ pyopenssl to Windows only. Fixes “SNIMissingWarning / InsecurePlatformWarning not fixable with pip 9.0 / 9.0.1” (for non-Windows) (#4098)</p></li> <li><p>Support the installation of wheels with non-PEP 440 version in their filenames. (#4169)</p></li> <li><p>Fall back to sys.getdefaultencoding() if locale.getpreferredencoding() returns None in <cite>pip.utils.encoding.auto_decode</cite>. (#4184)</p></li> <li><p>Fix a bug where <cite>SETUPTOOLS_SHIM</cite> got called incorrectly for relative path requirements by converting relative paths to absolute paths prior to calling the shim. (#4208)</p></li> <li><p>Return the latest version number in search results. (#4219)</p></li> <li><p>Improve error message on permission errors (#4233)</p></li> <li><p>Fail gracefully when <code class="docutils literal notranslate"><span class="pre">/etc/image_version</span></code> (or another distro version file) appears to exists but is not readable. (#4249)</p></li> <li><p>Avoid importing setuptools in the parent pip process, to avoid a race condition when upgrading one of setuptools dependencies. (#4264)</p></li> <li><p>Fix for an incorrect <code class="docutils literal notranslate"><span class="pre">freeze</span></code> warning message due to a package being included in multiple requirements files that were passed to <code class="docutils literal notranslate"><span class="pre">freeze</span></code>. Instead of warning incorrectly that the package is not installed, pip now warns that the package was declared multiple times and lists the name of each requirements file that contains the package in question. (#4293)</p></li> <li><p>Generalize help text for <code class="docutils literal notranslate"><span class="pre">compile</span></code>/<code class="docutils literal notranslate"><span class="pre">no-compile</span></code> flags. (#4316)</p></li> <li><p>Handle the case when <code class="docutils literal notranslate"><span class="pre">/etc</span></code> is not readable by the current user by using a hardcoded list of possible names of release files. (#4320)</p></li> <li><p>Fixed a <code class="docutils literal notranslate"><span class="pre">NameError</span></code> when attempting to catch <code class="docutils literal notranslate"><span class="pre">FileNotFoundError</span></code> on Python 2.7. (#4322)</p></li> <li><p>Ensure USER_SITE is correctly initialised. (#4437)</p></li> <li><p>Reinstalling an editable package from Git no longer assumes that the <code class="docutils literal notranslate"><span class="pre">master</span></code> branch exists. (#4448)</p></li> <li><p>This fixes an issue where when someone who tries to use git with pip but pip can’t because git is not in the path environment variable. This clarifies the error given to suggest to the user what might be wrong. (#4461)</p></li> <li><p>Improve handling of text output from build tools (avoid Unicode errors) (#4486)</p></li> <li><p>Fix a “No such file or directory” error when using --prefix. (#4495)</p></li> <li><p>Allow commands to opt out of --require-venv. This allows pip help to work even when the environment variable PIP_REQUIRE_VIRTUALENV is set. (#4496)</p></li> <li><p>Fix warning message on mismatched versions during installation. (#4655)</p></li> <li><p>pip now records installed files in a deterministic manner improving reproducibility. (#4667)</p></li> <li><p>Fix an issue where <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-e</span></code> on a Git url would fail to update if a branch or tag name is specified that happens to match the prefix of the current <code class="docutils literal notranslate"><span class="pre">HEAD</span></code> commit hash. (#4675)</p></li> <li><p>Fix an issue where a variable assigned in a try clause was accessed in the except clause, resulting in an undefined variable error in the except clause. (#4811)</p></li> <li><p>Use log level <cite>info</cite> instead of <cite>warning</cite> when ignoring packages due to environment markers. (#4876)</p></li> <li><p>Replaced typo mistake in subversion support. (#4908)</p></li> <li><p>Terminal size is now correctly inferred when using Python 3 on Windows. (#4966)</p></li> <li><p>Abort if reading configuration causes encoding errors. (#4976)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--no-user</span></code> option and use it when installing build dependencies. (#5085)</p></li> </ul> </section> <section id="id1115"> <h3>Vendored Libraries<a class="headerlink" href="#id1115" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Upgraded appdirs to 1.4.3.</p></li> <li><p>Upgraded CacheControl to 0.12.3.</p></li> <li><p>Vendored certifi at 2017.7.27.1.</p></li> <li><p>Vendored chardet at 3.0.4.</p></li> <li><p>Upgraded colorama to 0.3.9.</p></li> <li><p>Upgraded distlib to 0.2.6.</p></li> <li><p>Upgraded distro to 1.2.0.</p></li> <li><p>Vendored idna at idna==2.6.</p></li> <li><p>Upgraded ipaddress to 1.0.18.</p></li> <li><p>Vendored msgpack-python at 0.4.8.</p></li> <li><p>Removed the vendored ordereddict.</p></li> <li><p>Upgraded progress to 1.3.</p></li> <li><p>Upgraded pyparsing to 2.2.0.</p></li> <li><p>Upgraded pytoml to 0.1.14.</p></li> <li><p>Upgraded requests to 2.18.4.</p></li> <li><p>Upgraded pkg_resources (via setuptools) to 36.6.0.</p></li> <li><p>Upgraded six to 1.11.0.</p></li> <li><p>Vendored urllib3 at 1.22.</p></li> <li><p>Upgraded webencodings to 0.5.1.</p></li> </ul> </section> <section id="id1116"> <h3>Improved Documentation<a class="headerlink" href="#id1116" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p>Added documentation on usage of --build command line option (#4262)</p></li> <li><p>(#4358)</p></li> <li><p>Document how to call pip from your code, including the fact that we do not provide a Python API. (#4743)</p></li> </ul> </section> </section> <section id="v9-0-3"> <span id="id1117"></span><h2>9.0.3 (2018-03-21)<a class="headerlink" href="#v9-0-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix an error where the vendored requests was not correctly containing itself to only the internal vendored prefix.</p></li> <li><p>Restore compatibility with 2.6.</p></li> </ul> </section> <section id="v9-0-2"> <span id="id1118"></span><h2>9.0.2 (2018-03-16)<a class="headerlink" href="#v9-0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fallback to using SecureTransport on macOS when the linked OpenSSL is too old to support TLSv1.2.</p></li> </ul> </section> <section id="v9-0-1"> <span id="id1119"></span><h2>9.0.1 (2016-11-06)<a class="headerlink" href="#v9-0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Correct the deprecation message when not specifying a --format so that it uses the correct setting name (<code class="docutils literal notranslate"><span class="pre">format</span></code>) rather than the incorrect one (<code class="docutils literal notranslate"><span class="pre">list_format</span></code>). (#4058)</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">check</span></code> to check all available distributions and not just the local ones. (#4083)</p></li> <li><p>Fix a crash on non ASCII characters from <cite>lsb_release</cite>. (#4062)</p></li> <li><p>Fix an SyntaxError in an unused module of a vendored dependency. (#4059)</p></li> <li><p>Fix UNC paths on Windows. (#4064)</p></li> </ul> </section> <section id="v9-0-0"> <span id="id1120"></span><h2>9.0.0 (2016-11-02)<a class="headerlink" href="#v9-0-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Remove the attempted autodetection of requirement names from URLs, URLs must include a name via <code class="docutils literal notranslate"><span class="pre">#egg=</span></code>.</p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--egg</span></code> have been deprecated and will be removed in the future. This “feature” has a long list of drawbacks which break nearly all of pip’s other features in subtle and hard-to-diagnose ways.</p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">--default-vcs</span></code> option. (#4052)</p></li> <li><p><strong>WARNING</strong> pip 9 cache can break forward compatibility with previous pip versions if your package repository allows chunked responses. (#4078)</p></li> <li><p>Add an <code class="docutils literal notranslate"><span class="pre">--upgrade-strategy</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code>, to control how dependency upgrades are managed. (#3972)</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">check</span></code> command to check installed packages dependencies. (#3750)</p></li> <li><p>Add option allowing user to abort pip operation if file/directory exists</p></li> <li><p>Add Appveyor CI</p></li> <li><p>Uninstall existing packages when performing an editable installation of the same packages. (#1548)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> is less verbose by default. <code class="docutils literal notranslate"><span class="pre">--verbose</span></code> prints multiline fields. (#3858)</p></li> <li><p>Add optional column formatting to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>. (#3651)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--not-required</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>, which lists packages that are not dependencies of other packages.</p></li> <li><p>Fix builds on systems with symlinked <code class="docutils literal notranslate"><span class="pre">/tmp</span></code> directory for custom builds such as numpy. (#3701)</p></li> <li><p>Fix regression in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>: when there is more than one git remote, priority is given to the remote named <code class="docutils literal notranslate"><span class="pre">origin</span></code>. (#3708, #3616).</p></li> <li><p>Fix crash when calling <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> with invalid requirement installed. (#3704, #3681)</p></li> <li><p>Allow multiple <code class="docutils literal notranslate"><span class="pre">--requirement</span></code> files in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>. (#3703)</p></li> <li><p>Implementation of pep-503 <code class="docutils literal notranslate"><span class="pre">data-requires-python</span></code>. When this field is present for a release link, pip will ignore the download when installing to a Python version that doesn’t satisfy the requirement.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> now works on editable packages too (it was only working on editable dependencies before); this allows running <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> on the result of <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> in presence of editable requirements. (#3695, #3291)</p></li> <li><p>Load credentials from <code class="docutils literal notranslate"><span class="pre">.netrc</span></code> files. (#3715, #3569)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--platform</span></code>, <code class="docutils literal notranslate"><span class="pre">--python-version</span></code>, <code class="docutils literal notranslate"><span class="pre">--implementation</span></code> and <code class="docutils literal notranslate"><span class="pre">--abi</span></code> parameters to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code>. These allow utilities and advanced users to gather distributions for interpreters other than the one pip is being run on. (#3760)</p></li> <li><p>Skip scanning virtual environments, even when venv/bin/python is a dangling symlink.</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">completion</span></code> support for the <code class="docutils literal notranslate"><span class="pre">fish</span></code> shell.</p></li> <li><p>Fix problems on Windows on Python 2 when username or hostname contains non-ASCII characters. (#3463, #3970, #4000)</p></li> <li><p>Use <code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">fetch</span> <span class="pre">--tags</span></code> to fetch tags in addition to everything else that is normally fetched; this is necessary in case a git requirement url points to a tag or commit that is not on a branch. (#3791)</p></li> <li><p>Normalize package names before using in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code> (#3976)</p></li> <li><p>Raise when Requires-Python do not match the running version and add <code class="docutils literal notranslate"><span class="pre">--ignore-requires-python</span></code> option as escape hatch. (#3846)</p></li> <li><p>Report the correct installed version when performing an upgrade in some corner cases. (#2382</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">-i</span></code> shorthand for <code class="docutils literal notranslate"><span class="pre">--index</span></code> flag in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">search</span></code>.</p></li> <li><p>Do not optionally load C dependencies in requests. (#1840, #2930, #3024)</p></li> <li><p>Strip authentication from SVN url prior to passing it to <code class="docutils literal notranslate"><span class="pre">svn</span></code>. (#3697, #3209)</p></li> <li><p>Also install in platlib with <code class="docutils literal notranslate"><span class="pre">--target</span></code> option. (#3694, #3682)</p></li> <li><p>Restore the ability to use inline comments in requirements files passed to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>. (#3680)</p></li> </ul> </section> <section id="v8-1-2"> <span id="id1121"></span><h2>8.1.2 (2016-05-10)<a class="headerlink" href="#v8-1-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix a regression on systems with uninitialized locale. (#3575)</p></li> <li><p>Use environment markers to filter packages before determining if a required wheel is supported. (#3254)</p></li> <li><p>Make glibc parsing for <cite>manylinux1</cite> support more robust for the variety of glibc versions found in the wild. (#3588)</p></li> <li><p>Update environment marker support to fully support legacy and PEP 508 style environment markers. (#3624)</p></li> <li><p>Always use debug logging to the <code class="docutils literal notranslate"><span class="pre">--log</span></code> file. (#3351)</p></li> <li><p>Don’t attempt to wrap search results for extremely narrow terminal windows. (#3655)</p></li> </ul> </section> <section id="v8-1-1"> <span id="id1122"></span><h2>8.1.1 (2016-03-17)<a class="headerlink" href="#v8-1-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix regression with non-ascii requirement files on Python 2 and add support for encoding headers in requirement files. (#3548, #3547)</p></li> </ul> </section> <section id="v8-1-0"> <span id="id1123"></span><h2>8.1.0 (2016-03-05)<a class="headerlink" href="#v8-1-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Implement PEP 513, which adds support for the manylinux1 platform tag, allowing carefully compiled binary wheels to be installed on compatible Linux platforms.</p></li> <li><p>Allow wheels which are not specific to a particular Python interpreter but which are specific to a particular platform. (#3202)</p></li> <li><p>Fixed an issue where <code class="docutils literal notranslate"><span class="pre">call_subprocess</span></code> would crash trying to print debug data on child process failure. (#3521, #3522)</p></li> <li><p>Exclude the wheel package from the <cite>pip freeze</cite> output (like pip and setuptools). (#2989)</p></li> <li><p>Allow installing modules from a subdirectory of a vcs repository in non-editable mode. (#3217, #3466)</p></li> <li><p>Make pip wheel and pip download work with vcs urls with subdirectory option. (#3466)</p></li> <li><p>Show classifiers in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code>.</p></li> <li><p>Show PEP376 Installer in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">show</span></code>. (#3517)</p></li> <li><p>Unhide completion command. (#1810)</p></li> <li><p>Show latest version number in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">search</span></code> results. (#1415)</p></li> <li><p>Decode requirement files according to their BOM if present. (#3485, #2865)</p></li> <li><p>Fix and deprecate package name detection from url path. (#3523, #3495)</p></li> <li><p>Correct the behavior where interpreter specific tags (such as cp34) were being used on later versions of the same interpreter instead of only for that specific interpreter. (#3472)</p></li> <li><p>Fix an issue where pip would erroneously install a 64 bit wheel on a 32 bit Python running on a 64 bit macOS machine.</p></li> <li><p>Do not assume that all git repositories have an origin remote.</p></li> <li><p>Correctly display the line to add to a requirements.txt for an URL based dependency when <code class="docutils literal notranslate"><span class="pre">--require-hashes</span></code> is enabled.</p></li> </ul> </section> <section id="v8-0-3"> <span id="id1124"></span><h2>8.0.3 (2016-02-25)<a class="headerlink" href="#v8-0-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Make <code class="docutils literal notranslate"><span class="pre">install</span> <span class="pre">--quiet</span></code> really quiet. (#3418)</p></li> <li><p>Fix a bug when removing packages in python 3: disable INI-style parsing of the entry_point.txt file to allow entry point names with colons. (#3434)</p></li> <li><p>Normalize generated script files path in RECORD files. (#3448)</p></li> <li><p>Fix bug introduced in 8.0.0 where subcommand output was not shown, even when the user specified <code class="docutils literal notranslate"><span class="pre">-v</span></code> / <code class="docutils literal notranslate"><span class="pre">--verbose</span></code>. (#3486)</p></li> <li><p>Enable python -W with respect to PipDeprecationWarning. (#3455)</p></li> <li><p>Upgrade distlib to 0.2.2.</p></li> <li><p>Improved support for Jython when quoting executables in output scripts. (#3467)</p></li> <li><p>Add a <cite>--all</cite> option to <cite>pip freeze</cite> to include usually skipped package (like pip, setuptools and wheel) to the freeze output. (#1610)</p></li> </ul> </section> <section id="v8-0-2"> <span id="id1125"></span><h2>8.0.2 (2016-01-21)<a class="headerlink" href="#v8-0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Stop attempting to trust the system CA trust store because it’s extremely common for them to be broken, often in incompatible ways. (#3416)</p></li> </ul> </section> <section id="v8-0-1"> <span id="id1126"></span><h2>8.0.1 (2016-01-21)<a class="headerlink" href="#v8-0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Detect CAPaths in addition to CAFiles on platforms that provide them.</p></li> <li><p>Installing argparse or wsgiref will no longer warn or error - pip will allow the installation even though it may be useless (since the installed thing will be shadowed by the standard library).</p></li> <li><p>Upgrading a distutils installed item that is installed outside of a virtual environment, while inside of a virtual environment will no longer warn or error.</p></li> <li><p>Fix a bug where pre-releases were showing up in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span></code> without the <code class="docutils literal notranslate"><span class="pre">--pre</span></code> flag.</p></li> <li><p>Switch the SOABI emulation from using RuntimeWarnings to debug logging.</p></li> <li><p>Rollback the removal of the ability to uninstall distutils installed items until a future date.</p></li> </ul> </section> <section id="v8-0-0"> <span id="id1127"></span><h2>8.0.0 (2016-01-19)<a class="headerlink" href="#v8-0-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Drop support for Python 3.2.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Remove the ability to find any files other than the ones directly linked from the index or find-links pages.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Remove the <code class="docutils literal notranslate"><span class="pre">--download-cache</span></code> which had been deprecated and no-op’d in 6.0.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Remove the <code class="docutils literal notranslate"><span class="pre">--log-explicit-levels</span></code> which had been deprecated in 6.0.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Change pip wheel --wheel-dir default path from <cwd>/wheelhouse to <cwd>.</p></li> <li><p>Deprecate and no-op the <code class="docutils literal notranslate"><span class="pre">--allow-external</span></code>, <code class="docutils literal notranslate"><span class="pre">--allow-all-external</span></code>, and <code class="docutils literal notranslate"><span class="pre">--allow-unverified</span></code> functionality that was added as part of PEP 438. With changes made to the repository protocol made in PEP 470, these options are no longer functional.</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> within a requirements file. (#2822)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--process-dependency-links</span></code> within a requirements file. (#1274)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--pre</span></code> within a requirements file. (#1273)</p></li> <li><p>Allow repository URLs with secure transports to count as trusted. (E.g., “git+ssh” is okay.) (#2811)</p></li> <li><p>Implement a top-level <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">download</span></code> command and deprecate <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--download</span></code>.</p></li> <li><p>When uninstalling, look for the case of paths containing symlinked directories (#3141, #3154)</p></li> <li><p>When installing, if building a wheel fails, clear up the build directory before falling back to a source install. (#3047)</p></li> <li><p>Fix user directory expansion when <code class="docutils literal notranslate"><span class="pre">HOME=/</span></code>. Workaround for Python bug <a class="reference external" href="https://bugs.python.org/issue14768">https://bugs.python.org/issue14768</a>. (#2996)</p></li> <li><p>Correct reporting of requirements file line numbers. (#3009, #3125)</p></li> <li><p>Fixed Exception(IOError) for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> commands with subversion >= 1.7. (#1062, #3346)</p></li> <li><p>Provide a spinner showing that progress is happening when installing or building a package via <code class="docutils literal notranslate"><span class="pre">setup.py</span></code>. This will alleviate concerns that projects with unusually long build times have with pip appearing to stall.</p></li> <li><p>Include the functionality of <code class="docutils literal notranslate"><span class="pre">peep</span></code> into pip, allowing hashes to be baked into a requirements file and ensuring that the packages being downloaded match one of those hashes. This is an additional, opt-in security measure that, when used, removes the need to trust the repository.</p></li> <li><p>Fix a bug causing pip to not select a wheel compiled against an OSX SDK later than what Python itself was compiled against when running on a newer version of OSX.</p></li> <li><p>Add a new <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> option for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> that supports wheels and sdists. (#3252)</p></li> <li><p>Fixed issue regarding wheel building with setup.py using a different encoding than the system. (#2042)</p></li> <li><p>Drop PasteScript specific egg_info hack. (#3270)</p></li> <li><p>Allow combination of pip list options --editable with --outdated/--uptodate. (#933)</p></li> <li><p>Gives VCS implementations control over saying whether a project is under their control. (#3258)</p></li> <li><p>Git detection now works when <code class="docutils literal notranslate"><span class="pre">setup.py</span></code> is not at the Git repo root and when <code class="docutils literal notranslate"><span class="pre">package_dir</span></code> is used, so <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> works in more cases. (#3258)</p></li> <li><p>Correctly freeze Git develop packages in presence of the &subdirectory option (#3258)</p></li> <li><p>The detection of editable packages now relies on the presence of <code class="docutils literal notranslate"><span class="pre">.egg-link</span></code> instead of looking for a VCS, so <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">-e</span></code> is more reliable. (#3258)</p></li> <li><p>Add the <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> flag to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> which allows specifying a root prefix to use instead of <code class="docutils literal notranslate"><span class="pre">sys.prefix</span></code>. (#3252)</p></li> <li><p>Allow duplicate specifications in the case that only the extras differ, and union all specified extras together. (#3198)</p></li> <li><p>Fix the detection of the user’s current platform on OSX when determining the OSX SDK version. (#3232)</p></li> <li><p>Prevent the automatically built wheels from mistakenly being used across multiple versions of Python when they may not be correctly configured for that by making the wheel specific to a specific version of Python and specific interpreter. (#3225)</p></li> <li><p>Emulate the SOABI support in wheels from Python 2.x on Python 2.x as closely as we can with the information available within the interpreter. (#3075)</p></li> <li><p>Don’t roundtrip to the network when git is pinned to a specific commit hash and that hash already exists locally. (#3066)</p></li> <li><p>Prefer wheels built against a newer SDK to wheels built against an older SDK on OSX. (#3163)</p></li> <li><p>Show entry points for projects installed via wheel. (#3122)</p></li> <li><p>Improve message when an unexisting path is passed to --find-links option. (#2968)</p></li> <li><p>pip freeze does not add the VCS branch/tag name in the #egg=… fragment anymore. (#3312)</p></li> <li><p>Warn on installation of editable if the provided #egg=name part does not match the metadata produced by <cite>setup.py egg_info</cite>. (#3143)</p></li> <li><p>Add support for .xz files for python versions supporting them (>= 3.3). (#722)</p></li> </ul> </section> <section id="v7-1-2"> <span id="id1128"></span><h2>7.1.2 (2015-08-22)<a class="headerlink" href="#v7-1-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Don’t raise an error if pip is not installed when checking for the latest pip version.</p></li> </ul> </section> <section id="v7-1-1"> <span id="id1129"></span><h2>7.1.1 (2015-08-20)<a class="headerlink" href="#v7-1-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Check that the wheel cache directory is writable before we attempt to write cached files to them.</p></li> <li><p>Move the pip version check until <em>after</em> any installs have been performed, thus removing the extraneous warning when upgrading pip.</p></li> <li><p>Added debug logging when using a cached wheel.</p></li> <li><p>Respect platlib by default on platforms that have it separated from purelib.</p></li> <li><p>Upgrade packaging to 15.3. - Normalize post-release spellings for rev/r prefixes.</p></li> <li><p>Upgrade distlib to 0.2.1. - Updated launchers to decode shebangs using UTF-8. This allows non-ASCII pathnames to be correctly handled. - Ensured that the executable written to shebangs is normcased. - Changed ScriptMaker to work better under Jython.</p></li> <li><p>Upgrade ipaddress to 1.0.13.</p></li> </ul> </section> <section id="v7-1-0"> <span id="id1130"></span><h2>7.1.0 (2015-06-30)<a class="headerlink" href="#v7-1-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Allow constraining versions globally without having to know exactly what will be installed by the pip command. (#2731)</p></li> <li><p>Accept --no-binary and --only-binary via pip.conf. (#2867)</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--allow-all-external</span></code> within a requirements file.</p></li> <li><p>Fixed an issue where <code class="docutils literal notranslate"><span class="pre">--user</span></code> could not be used when <code class="docutils literal notranslate"><span class="pre">--prefix</span></code> was used in a distutils configuration file.</p></li> <li><p>Fixed an issue where the SOABI tags were not correctly being generated on Python 3.5.</p></li> <li><p>Fixed an issue where we were advising windows users to upgrade by directly executing pip, when that would always fail on Windows.</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">~</span></code> to be expanded within a cache directory in all situations.</p></li> </ul> </section> <section id="v7-0-3"> <span id="id1131"></span><h2>7.0.3 (2015-06-01)<a class="headerlink" href="#v7-0-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed a regression where <code class="docutils literal notranslate"><span class="pre">--no-cache-dir</span></code> would raise an exception. (#2855)</p></li> </ul> </section> <section id="v7-0-2"> <span id="id1132"></span><h2>7.0.2 (2015-06-01)<a class="headerlink" href="#v7-0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Revert the change (released in v7.0.0) that required quoting in requirements files around specifiers containing environment markers. (#2841)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Revert the accidental introduction of support for options interleaved with requirements, version specifiers etc in <code class="docutils literal notranslate"><span class="pre">requirements</span></code> files. (#2841)</p></li> <li><p>Expand <code class="docutils literal notranslate"><span class="pre">~</span></code> in the cache directory when caching wheels. (#2816)</p></li> <li><p>Use <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">pip</span></code> instead of <code class="docutils literal notranslate"><span class="pre">pip</span></code> when recommending an upgrade command to Windows users.</p></li> </ul> </section> <section id="v7-0-1"> <span id="id1133"></span><h2>7.0.1 (2015-05-22)<a class="headerlink" href="#v7-0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Don’t build and cache wheels for non-editable installations from VCSs.</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">--allow-all-external</span></code> inside of a requirements.txt file, fixing a regression in 7.0.</p></li> </ul> </section> <section id="v7-0-0"> <span id="id1134"></span><h2>7.0.0 (2015-05-21)<a class="headerlink" href="#v7-0-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--mirror</span></code>, <code class="docutils literal notranslate"><span class="pre">--use-mirrors</span></code>, and <code class="docutils literal notranslate"><span class="pre">-M</span></code> options.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Removed the deprecated <code class="docutils literal notranslate"><span class="pre">zip</span></code> and <code class="docutils literal notranslate"><span class="pre">unzip</span></code> commands.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Removed the deprecated <code class="docutils literal notranslate"><span class="pre">--no-install</span></code> and <code class="docutils literal notranslate"><span class="pre">--no-download</span></code> options.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> No longer implicitly support an insecure origin origin, and instead require insecure origins be explicitly trusted with the <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> option.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Removed the deprecated link scraping that attempted to parse HTML comments for a specially formatted comment.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Requirements in requirements files containing markers must now be quoted due to parser changes. For example, use <code class="docutils literal notranslate"><span class="pre">"SomeProject;</span> <span class="pre">python_version</span> <span class="pre"><</span> <span class="pre">'2.7'"</span></code>, not simply <code class="docutils literal notranslate"><span class="pre">SomeProject;</span> <span class="pre">python_version</span> <span class="pre"><</span> <span class="pre">'2.7'</span></code> (#2697, #2725)</p></li> <li><p><cite>get-pip.py</cite> now installs the “wheel” package, when it’s not already installed. (#2800)</p></li> <li><p>Ignores bz2 archives if Python wasn’t compiled with bz2 support. (#497)</p></li> <li><p>Support <code class="docutils literal notranslate"><span class="pre">--install-option</span></code> and <code class="docutils literal notranslate"><span class="pre">--global-option</span></code> per requirement in requirement files. (#2537)</p></li> <li><p>Build Wheels prior to installing from sdist, caching them in the pip cache directory to speed up subsequent installs. (#2618)</p></li> <li><p>Allow fine grained control over the use of wheels and source builds. (#2699)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--no-use-wheel</span></code> and <code class="docutils literal notranslate"><span class="pre">--use-wheel</span></code> are deprecated in favour of new options <code class="docutils literal notranslate"><span class="pre">--no-binary</span></code> and <code class="docutils literal notranslate"><span class="pre">--only-binary</span></code>. The equivalent of <code class="docutils literal notranslate"><span class="pre">--no-use-wheel</span></code> is <code class="docutils literal notranslate"><span class="pre">--no-binary=:all:</span></code>. (#2699)</p></li> <li><p>The use of <code class="docutils literal notranslate"><span class="pre">--install-option</span></code>, <code class="docutils literal notranslate"><span class="pre">--global-option</span></code> or <code class="docutils literal notranslate"><span class="pre">--build-option</span></code> disable the use of wheels, and the autobuilding of wheels. (#2711, #2677)</p></li> <li><p>Improve logging when a requirement marker doesn’t match your environment. (#2735)</p></li> <li><p>Removed the temporary modifications (that began in pip v1.4 when distribute and setuptools merged) that allowed distribute to be considered a conflict to setuptools. <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-U</span> <span class="pre">setuptools</span></code> will no longer upgrade “distribute” to “setuptools”. Instead, use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-U</span> <span class="pre">distribute</span></code>. (#2767)</p></li> <li><p>Only display a warning to upgrade pip when the newest version is a final release and it is not a post release of the version we already have installed. (#2766)</p></li> <li><p>Display a warning when attempting to access a repository that uses HTTPS when we don’t have Python compiled with SSL support. (#2761)</p></li> <li><p>Allowing using extras when installing from a file path without requiring the use of an editable. (#2785)</p></li> <li><p>Fix an infinite loop when the cache directory is stored on a file system which does not support hard links. (#2796)</p></li> <li><p>Remove the implicit debug log that was written on every invocation, instead users will need to use <code class="docutils literal notranslate"><span class="pre">--log</span></code> if they wish to have one. (#2798)</p></li> </ul> </section> <section id="v6-1-1"> <span id="id1135"></span><h2>6.1.1 (2015-04-07)<a class="headerlink" href="#v6-1-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>No longer ignore dependencies which have been added to the standard library, instead continue to install them.</p></li> </ul> </section> <section id="v6-1-0"> <span id="id1136"></span><h2>6.1.0 (2015-04-07)<a class="headerlink" href="#v6-1-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixes upgrades failing when no potential links were found for dependencies other than the current installation. (#2538, #2502)</p></li> <li><p>Use a smoother progress bar when the terminal is capable of handling it, otherwise fallback to the original ASCII based progress bar.</p></li> <li><p>Display much less output when <cite>pip install</cite> succeeds, because on success, users probably don’t care about all the nitty gritty details of compiling and installing. When <cite>pip install</cite> fails, display the failed install output once instead of twice, because once is enough. (#2487)</p></li> <li><p>Upgrade the bundled copy of requests to 2.6.0, fixing CVE-2015-2296.</p></li> <li><p>Display format of latest package when using <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span> <span class="pre">--outdated</span></code>. (#2475)</p></li> <li><p>Don’t use pywin32 as ctypes should always be available on Windows, using pywin32 prevented uninstallation of pywin32 on Windows. (<a class="reference external" href="https://github.com/pypa/pip/pull/2467">#2467</a>)</p></li> <li><p>Normalize the <code class="docutils literal notranslate"><span class="pre">--wheel-dir</span></code> option, expanding out constructs such as <code class="docutils literal notranslate"><span class="pre">~</span></code> when used. (#2441)</p></li> <li><p>Display a warning when an undefined extra has been requested. (#2142)</p></li> <li><p>Speed up installing a directory in certain cases by creating a sdist instead of copying the entire directory. (#2535)</p></li> <li><p>Don’t follow symlinks when uninstalling files (#2552)</p></li> <li><p>Upgrade the bundled copy of cachecontrol from 0.11.1 to 0.11.2. (#2481, #2595)</p></li> <li><p>Attempt to more smartly choose the order of installation to try and install dependencies before the projects that depend on them. (#2616)</p></li> <li><p>Skip trying to install libraries which are part of the standard library. (#2636, #2602)</p></li> <li><p>Support arch specific wheels that are not tied to a specific Python ABI. (#2561)</p></li> <li><p>Output warnings and errors to stderr instead of stdout. (#2543)</p></li> <li><p>Adjust the cache dir file checks to only check ownership if the effective user is root. (#2396)</p></li> <li><p>Install headers into a per project name directory instead of all of them into the root directory when inside of a virtual environment. (#2421)</p></li> </ul> </section> <section id="v6-0-8"> <span id="id1137"></span><h2>6.0.8 (2015-02-04)<a class="headerlink" href="#v6-0-8" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix an issue where the <code class="docutils literal notranslate"><span class="pre">--download</span></code> flag would cause pip to no longer use randomized build directories.</p></li> <li><p>Fix an issue where pip did not properly unquote quoted URLs which contain characters like PEP 440’s epoch separator (<code class="docutils literal notranslate"><span class="pre">!</span></code>).</p></li> <li><p>Fix an issue where distutils installed projects were not actually uninstalled and deprecate attempting to uninstall them altogether.</p></li> <li><p>Retry deleting directories in case a process like an antivirus is holding the directory open temporarily.</p></li> <li><p>Fix an issue where pip would hide the cursor on Windows but would not reshow it.</p></li> </ul> </section> <section id="v6-0-7"> <span id="id1138"></span><h2>6.0.7 (2015-01-28)<a class="headerlink" href="#v6-0-7" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix a regression where Numpy requires a build path without symlinks to properly build.</p></li> <li><p>Fix a broken log message when running <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> without a requirement.</p></li> <li><p>Don’t mask network errors while downloading the file as a hash failure.</p></li> <li><p>Properly create the state file for the pip version check so it only happens once a week.</p></li> <li><p>Fix an issue where switching between Python 3 and Python 2 would evict cached items.</p></li> <li><p>Fix a regression where pip would be unable to successfully uninstall a project without a normalized version.</p></li> </ul> </section> <section id="v6-0-6"> <span id="id1139"></span><h2>6.0.6 (2015-01-03)<a class="headerlink" href="#v6-0-6" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Continue the regression fix from 6.0.5 which was not a complete fix.</p></li> </ul> </section> <section id="v6-0-5"> <span id="id1140"></span><h2>6.0.5 (2015-01-03)<a class="headerlink" href="#v6-0-5" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix a regression with 6.0.4 under Windows where most commands would raise an exception due to Windows not having the <code class="docutils literal notranslate"><span class="pre">os.geteuid()</span></code> function.</p></li> </ul> </section> <section id="v6-0-4"> <span id="id1141"></span><h2>6.0.4 (2015-01-03)<a class="headerlink" href="#v6-0-4" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix an issue where ANSI escape codes would be used on Windows even though the Windows shell does not support them, causing odd characters to appear with the progress bar.</p></li> <li><p>Fix an issue where using -v would cause an exception saying <code class="docutils literal notranslate"><span class="pre">TypeError:</span> <span class="pre">not</span> <span class="pre">all</span> <span class="pre">arguments</span> <span class="pre">converted</span> <span class="pre">during</span> <span class="pre">string</span> <span class="pre">formatting</span></code>.</p></li> <li><p>Fix an issue where using -v with dependency links would cause an exception saying <code class="docutils literal notranslate"><span class="pre">TypeError:</span> <span class="pre">'InstallationCandidate'</span> <span class="pre">object</span> <span class="pre">is</span> <span class="pre">not</span> <span class="pre">iterable</span></code>.</p></li> <li><p>Fix an issue where upgrading distribute would cause an exception saying <code class="docutils literal notranslate"><span class="pre">TypeError:</span> <span class="pre">expected</span> <span class="pre">string</span> <span class="pre">or</span> <span class="pre">buffer</span></code>.</p></li> <li><p>Show a warning and disable the use of the cache directory when the cache directory is not owned by the current user, commonly caused by using <code class="docutils literal notranslate"><span class="pre">sudo</span></code> without the <code class="docutils literal notranslate"><span class="pre">-H</span></code> flag.</p></li> <li><p>Update PEP 440 support to handle the latest changes to PEP 440, particularly the changes to <code class="docutils literal notranslate"><span class="pre">>V</span></code> and <code class="docutils literal notranslate"><span class="pre"><V</span></code> so that they no longer imply <code class="docutils literal notranslate"><span class="pre">!=V.*</span></code>.</p></li> <li><p>Document the default cache directories for each operating system.</p></li> <li><p>Create the cache directory when the pip version check needs to save to it instead of silently logging an error.</p></li> <li><p>Fix a regression where the <code class="docutils literal notranslate"><span class="pre">-q</span></code> flag would not properly suppress the display of the progress bars.</p></li> </ul> </section> <section id="v6-0-3"> <span id="id1142"></span><h2>6.0.3 (2014-12-23)<a class="headerlink" href="#v6-0-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix an issue where the implicit version check new in pip 6.0 could cause pip to block for up to 75 seconds if PyPI was not accessible.</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">--no-index</span></code> imply <code class="docutils literal notranslate"><span class="pre">--disable-pip-version-check</span></code>.</p></li> </ul> </section> <section id="v6-0-2"> <span id="id1143"></span><h2>6.0.2 (2014-12-23)<a class="headerlink" href="#v6-0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix an issue where the output saying that a package was installed would report the old version instead of the new version during an upgrade.</p></li> <li><p>Fix left over merge conflict markers in the documentation.</p></li> <li><p>Document the backwards incompatible PEP 440 change in the 6.0.0 changelog.</p></li> </ul> </section> <section id="v6-0-1"> <span id="id1144"></span><h2>6.0.1 (2014-12-22)<a class="headerlink" href="#v6-0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fix executable file permissions for Wheel files when using the distutils scripts option.</p></li> <li><p>Fix a confusing error message when an exceptions was raised at certain points in pip’s execution.</p></li> <li><p>Fix the missing list of versions when a version cannot be found that matches the specifiers.</p></li> <li><p>Add a warning about the possibly problematic use of > when the given specifier doesn’t match anything.</p></li> <li><p>Fix an issue where installing from a directory would not copy over certain directories which were being excluded, however some build systems rely on them.</p></li> </ul> </section> <section id="v6-0"> <span id="id1145"></span><h2>6.0 (2014-12-22)<a class="headerlink" href="#v6-0" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>PROCESS</strong> Version numbers are now simply <code class="docutils literal notranslate"><span class="pre">X.Y</span></code> where the leading <code class="docutils literal notranslate"><span class="pre">1</span></code> has been dropped.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Dropped support for Python 3.1.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Removed the bundle support which was deprecated in 1.4. (#1806)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> File lists generated by <cite>pip show -f</cite> are now rooted at the location reported by show, rather than one (unstated) directory lower. (#1933)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> The ability to install files over the FTP protocol was accidentally lost in pip 1.5 and it has now been decided to not restore that ability.</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> PEP 440 is now fully implemented, this means that in some cases versions will sort differently or version specifiers will be interpreted differently than previously. The common cases should all function similarly to before.</p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--download-cache</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span> <span class="pre">--download-cache</span></code> command line flags have been deprecated and the functionality removed. Since pip now automatically configures and uses it’s internal HTTP cache which supplants the <code class="docutils literal notranslate"><span class="pre">--download-cache</span></code> the existing options have been made non functional but will still be accepted until their removal in pip v8.0. For more information please see <a class="reference external" href="https://pip.pypa.io/en/stable/reference/pip_install.html#caching">https://pip.pypa.io/en/stable/reference/pip_install.html#caching</a></p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--build</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--no-clean</span></code> are now <em>NOT</em> deprecated. This reverses the deprecation that occurred in v1.5.3. (#906)</p></li> <li><p><strong>DEPRECATION</strong> Implicitly accessing URLs which point to an origin which is not a secure origin, instead requiring an opt-in for each host using the new <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> flag (<code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--trusted-host</span> <span class="pre">example.com</span> <span class="pre">foo</span></code>).</p></li> <li><p>Allow the new <code class="docutils literal notranslate"><span class="pre">--trusted-host</span></code> flag to also disable TLS verification for a particular hostname.</p></li> <li><p>Added a <code class="docutils literal notranslate"><span class="pre">--user</span></code> flag to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code> to check the user site directory only.</p></li> <li><p>Silence byte compile errors when installation succeed. (#1873)</p></li> <li><p>Added a virtualenv-specific configuration file. (#1364)</p></li> <li><p>Added site-wide configuration files. (1978)</p></li> <li><p>Added an automatic check to warn if there is an updated version of pip available. (#2049)</p></li> <li><p><cite>wsgiref</cite> and <cite>argparse</cite> (for >py26) are now excluded from <cite>pip list</cite> and <cite>pip freeze</cite>. (#1606, #1369)</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--client-cert</span></code> option for SSL client certificates. (#1424)</p></li> <li><p><cite>pip show --files</cite> was broken for wheel installs. (#1635, #1484)</p></li> <li><p>install_lib should take precedence when reading distutils config. (#1642, #1641)</p></li> <li><p>Send <cite>Accept-Encoding: identity</cite> when downloading files in an attempt to convince some servers who double compress the downloaded file to stop doing so. (#1688)</p></li> <li><p>Stop breaking when given pip commands in uppercase (#1559, #1725)</p></li> <li><p>pip no longer adds duplicate logging consumers, so it won’t create duplicate output when being called multiple times. (#1618, #1723)</p></li> <li><p><cite>pip wheel</cite> now returns an error code if any wheels fail to build. (#1769)</p></li> <li><p><cite>pip wheel</cite> wasn’t building wheels for dependencies of editable requirements. (#1775)</p></li> <li><p>Allow the use of <code class="docutils literal notranslate"><span class="pre">--no-use-wheel</span></code> within a requirements file. (#1859)</p></li> <li><p>Attempt to locate system TLS certificates to use instead of the included CA Bundle if possible. (#1680, #1866)</p></li> <li><p>Allow use of Zip64 extension in Wheels and other zip files. (#1319, #1868)</p></li> <li><p>Properly handle an index or --find-links target which has a <base> without a href attribute. (#1101, #1869)</p></li> <li><p>Properly handle extras when a project is installed via Wheel. (#1885, #1896)</p></li> <li><p>Added support to respect proxies in <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">search</span></code>. (#1180, #932, #1104, #1902)</p></li> <li><p><cite>pip install --download</cite> works with vcs links. (#798, #1060, #1926)</p></li> <li><p>Disabled warning about insecure index host when using localhost. Based off of Guy Rozendorn’s work in #1718. (#1456, #1967)</p></li> <li><p>Allow the use of OS standard user configuration files instead of ones simply based around <code class="docutils literal notranslate"><span class="pre">$HOME</span></code>. (#2021)</p></li> <li><p>When installing directly from wheel paths or urls, previous versions were not uninstalled. (#1825, #804, #1838)</p></li> <li><p>Detect the location of the <code class="docutils literal notranslate"><span class="pre">.egg-info</span></code> directory by looking for any file located inside of it instead of relying on the record file listing a directory. (#2075, #2076)</p></li> <li><p>Use a randomized and secure default build directory when possible. (#1964, #1935, #676, #2122, CVE-2014-8991)</p></li> <li><p>Support environment markers in requirements.txt files. (#1433, #2134)</p></li> <li><p>Automatically retry failed HTTP requests by default. (#1444, #2147)</p></li> <li><p>Handle HTML Encoding better using a method that is more similar to how browsers handle it. (#1100, #1874)</p></li> <li><p>Reduce the verbosity of the pip command by default. (#2175, #2177, #2178)</p></li> <li><p>Fixed <a class="reference external" href="https://github.com/pypa/pip/issues/2031">#2031</a> - Respect sys.executable on OSX when installing from Wheels.</p></li> <li><p>Display the entire URL of the file that is being downloaded when downloading from a non PyPI repository. (#2183)</p></li> <li><p>Support setuptools style environment markers in a source distribution. (#2153)</p></li> </ul> </section> <section id="v1-5-6"> <span id="id1146"></span><h2>1.5.6 (2014-05-16)<a class="headerlink" href="#v1-5-6" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Upgrade requests to 2.3.0 to fix an issue with proxies on Python 3.4.1. (#1821)</p></li> </ul> </section> <section id="v1-5-5"> <span id="id1147"></span><h2>1.5.5 (2014-05-03)<a class="headerlink" href="#v1-5-5" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Uninstall issues on debianized pypy, specifically issues with setuptools upgrades. (#1632, #1743)</p></li> <li><p>Update documentation to point at <a class="reference external" href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a> for bootstrapping pip.</p></li> <li><p>Update docs to point to <a class="reference external" href="https://pip.pypa.io/">https://pip.pypa.io/</a></p></li> <li><p>Upgrade the bundled projects (distlib==0.1.8, html5lib==1.0b3, six==1.6.1, colorama==0.3.1, setuptools==3.4.4).</p></li> </ul> </section> <section id="v1-5-4"> <span id="id1148"></span><h2>1.5.4 (2014-02-21)<a class="headerlink" href="#v1-5-4" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Correct deprecation warning for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--build</span></code> to only notify when the <cite>--build</cite> value is different than the default.</p></li> </ul> </section> <section id="v1-5-3"> <span id="id1149"></span><h2>1.5.3 (2014-02-20)<a class="headerlink" href="#v1-5-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--build</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--no-clean</span></code> are now deprecated. (#906)</p></li> <li><p>Fixed being unable to download directly from wheel paths/urls, and when wheel downloads did occur using requirement specifiers, dependencies weren’t downloaded. (#1112, #1527)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">wheel</span></code> was not downloading wheels that already existed. (#1320, #1524)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--download</span></code> was failing using local <code class="docutils literal notranslate"><span class="pre">--find-links</span></code>. (#1111, #1524)</p></li> <li><p>Workaround for Python bug <a class="reference external" href="https://bugs.python.org/issue20053">https://bugs.python.org/issue20053</a>. (#1544)</p></li> <li><p>Don’t pass a unicode __file__ to setup.py on Python 2.x. (#1583)</p></li> <li><p>Verify that the Wheel version is compatible with this pip. (#1569)</p></li> </ul> </section> <section id="v1-5-2"> <span id="id1150"></span><h2>1.5.2 (2014-01-26)<a class="headerlink" href="#v1-5-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Upgraded the vendored <code class="docutils literal notranslate"><span class="pre">pkg_resources</span></code> and <code class="docutils literal notranslate"><span class="pre">_markerlib</span></code> to setuptools 2.1.</p></li> <li><p>Fixed an error that prevented accessing PyPI when pyopenssl, ndg-httpsclient, and pyasn1 are installed.</p></li> <li><p>Fixed an issue that caused trailing comments to be incorrectly included as part of the URL in a requirements file.</p></li> </ul> </section> <section id="v1-5-1"> <span id="id1151"></span><h2>1.5.1 (2014-01-20)<a class="headerlink" href="#v1-5-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>pip now only requires setuptools (any setuptools, not a certain version) when installing distributions from src (i.e. not from wheel). (#1434)</p></li> <li><p><cite>get-pip.py</cite> now installs setuptools, when it’s not already installed. (#1475)</p></li> <li><p>Don’t decode downloaded files that have a <code class="docutils literal notranslate"><span class="pre">Content-Encoding</span></code> header. (#1435)</p></li> <li><p>Fix to correctly parse wheel filenames with single digit versions. (#1445)</p></li> <li><p>If <cite>--allow-unverified</cite> is used assume it also means <cite>--allow-external</cite>. (#1457)</p></li> </ul> </section> <section id="v1-5"> <span id="id1152"></span><h2>1.5 (2014-01-01)<a class="headerlink" href="#v1-5" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> pip no longer supports the <code class="docutils literal notranslate"><span class="pre">--use-mirrors</span></code>, <code class="docutils literal notranslate"><span class="pre">-M</span></code>, and <code class="docutils literal notranslate"><span class="pre">--mirrors</span></code> flags. The mirroring support has been removed. In order to use a mirror specify it as the primary index with <code class="docutils literal notranslate"><span class="pre">-i</span></code> or <code class="docutils literal notranslate"><span class="pre">--index-url</span></code>, or as an additional index with <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code>. (#1098, CVE-2013-5123)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> pip no longer will scrape insecure external urls by default nor will it install externally hosted files by default. Users may opt into installing externally hosted or insecure files or urls using <code class="docutils literal notranslate"><span class="pre">--allow-external</span> <span class="pre">PROJECT</span></code> and <code class="docutils literal notranslate"><span class="pre">--allow-unverified</span> <span class="pre">PROJECT</span></code>. (#1055)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> pip no longer respects dependency links by default. Users may opt into respecting them again using <code class="docutils literal notranslate"><span class="pre">--process-dependency-links</span></code>.</p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--no-install</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--no-download</span></code> are now formally deprecated. See #906 for discussion on possible alternatives, or lack thereof, in future releases.</p></li> <li><p><strong>DEPRECATION</strong> <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">zip</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">unzip</span></code> are now formally deprecated.</p></li> <li><p>pip will now install Mac OSX platform wheels from PyPI. (<a class="reference external" href="https://github.com/pypa/pip/pull/1278">#1278</a>)</p></li> <li><p>pip now generates the appropriate platform-specific console scripts when installing wheels. (#1251)</p></li> <li><p>pip now confirms a wheel is supported when installing directly from a path or url. (#1315)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--ignore-installed</span></code> now behaves again as designed, after it was unintentionally broke in v0.8.3 when fixing #14. (#1097, #1352)</p></li> <li><p>Fixed a bug where global scripts were being removed when uninstalling --user installed packages. (#1353)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--user</span></code> wasn’t being respected when installing scripts from wheels. (#1163, #1176)</p></li> <li><p>Assume ‘_’ means ‘-’ in versions from wheel filenames. (#1150, #1158)</p></li> <li><p>Error when using --log with a failed install. (#219, #1205)</p></li> <li><p>Fixed logging being buffered and choppy in Python 3. (#1131)</p></li> <li><p>Don’t ignore --timeout. (#70, #1202)</p></li> <li><p>Fixed an error when setting PIP_EXISTS_ACTION. (#772, #1201)</p></li> <li><p>Added colors to the logging output in order to draw attention to important warnings and errors. (#1109)</p></li> <li><p>Added warnings when using an insecure index, find-link, or dependency link. (#1121)</p></li> <li><p>Added support for installing packages from a subdirectory using the <code class="docutils literal notranslate"><span class="pre">subdirectory</span></code> editable option. (#1082)</p></li> <li><p>Fixed “TypeError: bad operand type for unary” in some cases when installing wheels using --find-links. (#1192, #1218)</p></li> <li><p>Archive contents are now written based on system defaults and umask (i.e. permissions are not preserved), except that regular files with any execute permissions have the equivalent of “chmod +x” applied after being written. (#1133, #317, #1146)</p></li> <li><p>PreviousBuildDirError now returns a non-zero exit code and prevents the previous build dir from being cleaned in all cases. (#1162)</p></li> <li><p>Renamed --allow-insecure to --allow-unverified, however the old name will continue to work for a period of time. (#1257)</p></li> <li><p>Fixed an error when installing local projects with symlinks in Python 3. (#1006, #1311)</p></li> <li><p>The previously hidden <code class="docutils literal notranslate"><span class="pre">--log-file</span></code> option, is now shown as a general option. (#1316)</p></li> </ul> </section> <section id="v1-4-1"> <span id="id1153"></span><h2>1.4.1 (2013-08-07)<a class="headerlink" href="#v1-4-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>New Signing Key</strong> Release 1.4.1 is using a different key than normal with fingerprint: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA</p></li> <li><p>Fixed issues with installing from pybundle files. (#1116)</p></li> <li><p>Fixed error when sysconfig module throws an exception. (#1095)</p></li> <li><p>Don’t ignore already installed pre-releases. (#1076)</p></li> <li><p>Fixes related to upgrading setuptools. (#1092)</p></li> <li><p>Fixes so that --download works with wheel archives. (#1113)</p></li> <li><p>Fixes related to recognizing and cleaning global build dirs. (#1080)</p></li> </ul> </section> <section id="v1-4"> <span id="id1154"></span><h2>1.4 (2013-07-23)<a class="headerlink" href="#v1-4" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>BACKWARD INCOMPATIBLE</strong> pip now only installs stable versions by default, and offers a new <code class="docutils literal notranslate"><span class="pre">--pre</span></code> option to also find pre-release and development versions. (#834)</p></li> <li><p><strong>BACKWARD INCOMPATIBLE</strong> Dropped support for Python 2.5. The minimum supported Python version for pip 1.4 is Python 2.6.</p></li> <li><p>Added support for installing and building wheel archives. Thanks Daniel Holth, Marcus Smith, Paul Moore, and Michele Lacchia (#845)</p></li> <li><p>Applied security patch to pip’s ssl support related to certificate DNS wildcard matching (<a class="reference external" href="https://bugs.python.org/issue17980">https://bugs.python.org/issue17980</a>).</p></li> <li><p>To satisfy pip’s setuptools requirement, pip now recommends setuptools>=0.8, not distribute. setuptools and distribute are now merged into one project called ‘setuptools’. (#1003)</p></li> <li><p>pip will now warn when installing a file that is either hosted externally to the index or cannot be verified with a hash. In the future pip will default to not installing them and will require the flags --allow-external NAME, and --allow-insecure NAME respectively. (#985)</p></li> <li><p>If an already-downloaded or cached file has a bad hash, re-download it rather than erroring out. (#963)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">bundle</span></code> and support for installing from pybundle files is now considered deprecated and will be removed in pip v1.5.</p></li> <li><p>Fix a number of issues related to cleaning up and not reusing build directories. (#413, #709, #634, #602, #939, #865, #948)</p></li> <li><p>Added a User Agent so that pip is identifiable in logs. (#901)</p></li> <li><p>Added ssl and --user support to get-pip.py. Thanks Gabriel de Perthuis. (#895)</p></li> <li><p>Fixed the proxy support, which was broken in pip 1.3.x (#840)</p></li> <li><p>Fixed pip failing when server does not send content-type header. Thanks Hugo Lopes Tavares and Kelsey Hightower. (#32, #872)</p></li> <li><p>“Vendorized” distlib as pip.vendor.distlib (<a class="reference external" href="https://distlib.readthedocs.io/">https://distlib.readthedocs.io/</a>).</p></li> <li><p>Fixed git VCS backend with git 1.8.3. (#967)</p></li> </ul> </section> <section id="v1-3-1"> <span id="id1155"></span><h2>1.3.1 (2013-03-08)<a class="headerlink" href="#v1-3-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed a major backward incompatible change of parsing URLs to externally hosted packages that got accidentally included in 1.3.</p></li> </ul> </section> <section id="v1-3"> <span id="id1156"></span><h2>1.3 (2013-03-07)<a class="headerlink" href="#v1-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>SSL Cert Verification; Make https the default for PyPI access. Thanks James Cleveland, Giovanni Bajo, Marcus Smith and many others. (#791, CVE-2013-1629)</p></li> <li><p>Added “pip list” for listing installed packages and the latest version available. Thanks Rafael Caricio, Miguel Araujo, Dmitry Gladkov. (#752)</p></li> <li><p>Fixed security issues with pip’s use of temp build directories. Thanks David (d1b) and Thomas Guttler. (#780, CVE-2013-1888)</p></li> <li><p>Improvements to sphinx docs and cli help. (#773)</p></li> <li><p>Fixed an issue dealing with macOS temp dir handling, which was causing global NumPy installs to fail. (#707, #768)</p></li> <li><p>Split help output into general vs command-specific option groups. Thanks Georgi Valkov. (#744, #721)</p></li> <li><p>Fixed dependency resolution when installing from archives with uppercase project names. (#724)</p></li> <li><p>Fixed problem where re-installs always occurred when using <a class="reference external" href="file://">file://</a> find-links. (#683, #702)</p></li> <li><p>“pip install -v” now shows the full download url, not just the archive name. Thanks Marc Abramowitz (#687)</p></li> <li><p>Fix to prevent unnecessary PyPI redirects. Thanks Alex Gronholm (#695)</p></li> <li><p>Fixed an install failure under Python 3 when the same version of a package is found under 2 different URLs. Thanks Paul Moore (#670, #671)</p></li> <li><p>Fix git submodule recursive updates. Thanks Roey Berman. (#674)</p></li> <li><p>Explicitly ignore rel=’download’ links while looking for html pages. Thanks Maxime R. (#677)</p></li> <li><p>--user/--upgrade install options now work together. Thanks ‘eevee’ for discovering the problem. (#705)</p></li> <li><p>Added check in <code class="docutils literal notranslate"><span class="pre">install</span> <span class="pre">--download</span></code> to prevent re-downloading if the target file already exists. Thanks Andrey Bulgakov. (#669)</p></li> <li><p>Added support for bare paths (including relative paths) as argument to <cite>--find-links</cite>. Thanks Paul Moore for draft patch.</p></li> <li><p>Added support for --no-index in requirements files.</p></li> <li><p>Added “pip show” command to get information about an installed package. Thanks Kelsey Hightower and Rafael Caricio. (#131)</p></li> <li><p>Added <cite>--root</cite> option for “pip install” to specify root directory. Behaves like the same option in distutils but also plays nice with pip’s egg-info. Thanks Przemek Wrzos. (#253, #693)</p></li> </ul> </section> <section id="v1-2-1"> <span id="id1157"></span><h2>1.2.1 (2012-09-06)<a class="headerlink" href="#v1-2-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed a regression introduced in 1.2 about raising an exception when not finding any files to uninstall in the current environment. Thanks for the fix, Marcus Smith.</p></li> </ul> </section> <section id="v1-2"> <span id="id1158"></span><h2>1.2 (2012-09-01)<a class="headerlink" href="#v1-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p><strong>Dropped support for Python 2.4</strong> The minimum supported Python version is now Python 2.5.</p></li> <li><p>Fixed PyPI mirror support being broken on some DNS responses. Thanks philwhin. (#605)</p></li> <li><p>Fixed pip uninstall removing files it didn’t install. Thanks pjdelport. (#355)</p></li> <li><p>Fixed a number of issues related to improving support for the user installation scheme. Thanks Marcus Smith. (#493, #494, #440, #573)</p></li> <li><p>Write failure log to temp file if default location is not writable. Thanks andreigc.</p></li> <li><p>Pull in submodules for git editable checkouts. Thanks Hsiaoming Yang and Markus Hametner. (#289, #421)</p></li> <li><p>Use a temporary directory as the default build location outside of a virtualenv. Thanks Ben Rosser. (#339, #381)</p></li> <li><p>Added support for specifying extras with local editables. Thanks Nick Stenning.</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">--egg</span></code> flag to request egg-style rather than flat installation. Thanks Kamal Bin Mustafa. (#3)</p></li> <li><p>Prevent e.g. <code class="docutils literal notranslate"><span class="pre">gmpy2-2.0.tar.gz</span></code> from matching a request to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">gmpy</span></code>; sdist filename must begin with full project name followed by a dash. Thanks casevh for the report. (#510)</p></li> <li><p>Allow package URLS to have querystrings. Thanks W. Trevor King. (#504)</p></li> <li><p>pip freeze now falls back to non-editable format rather than blowing up if it can’t determine the origin repository of an editable. Thanks Rory McCann. (#58)</p></li> <li><p>Added a <cite>__main__.py</cite> file to enable <cite>python -m pip</cite> on Python versions that support it. Thanks Alexey Luchko.</p></li> <li><p>Fixed upgrading from VCS url of project that does exist on index. Thanks Andrew Knapp for the report. (#487)</p></li> <li><p>Fix upgrade from VCS url of project with no distribution on index. Thanks Andrew Knapp for the report. (#486)</p></li> <li><p>Add a clearer error message on a malformed VCS url. Thanks Thomas Fenzl. (#427)</p></li> <li><p>Added support for using any of the built in guaranteed algorithms in <code class="docutils literal notranslate"><span class="pre">hashlib</span></code> as a checksum hash.</p></li> <li><p>Raise an exception if current working directory can’t be found or accessed. (#321)</p></li> <li><p>Removed special casing of the user directory and use the Python default instead. (#82)</p></li> <li><p>Only warn about version conflicts if there is actually one. This re-enables using <code class="docutils literal notranslate"><span class="pre">==dev</span></code> in requirements files. (#436)</p></li> <li><p>Moved tests to be run on Travis CI: <a class="reference external" href="https://travis-ci.org/pypa/pip">https://travis-ci.org/pypa/pip</a></p></li> <li><p>Added a better help formatter.</p></li> </ul> </section> <section id="v1-1"> <span id="id1159"></span><h2>1.1 (2012-02-16)<a class="headerlink" href="#v1-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Don’t crash when a package’s setup.py emits UTF-8 and then fails. Thanks Marc Abramowitz. (#326)</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">--target</span></code> option for installing directly to arbitrary directory. Thanks Stavros Korokithakis.</p></li> <li><p>Added support for authentication with Subversion repositories. Thanks Qiangning Hong.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">--download</span></code> now downloads dependencies as well. Thanks Qiangning Hong. (#315)</p></li> <li><p>Errors from subprocesses will display the current working directory. Thanks Antti Kaihola.</p></li> <li><p>Fixed compatibility with Subversion 1.7. Thanks Qiangning Hong. Note that setuptools remains incompatible with Subversion 1.7; to get the benefits of pip’s support you must use Distribute rather than setuptools. (#369)</p></li> <li><p>Ignore py2app-generated macOS mpkg zip files in finder. Thanks Rene Dudfield. (#57)</p></li> <li><p>Log to ~/Library/Logs/ by default on macOS framework installs. Thanks Dan Callahan for report and patch. (#182)</p></li> <li><p>Understand version tags without minor version (“py3”) in sdist filenames. Thanks Stuart Andrews for report and Olivier Girardot for patch. (#310)</p></li> <li><p>pip now supports optionally installing setuptools “extras” dependencies; e.g. “pip install Paste[openid]”. Thanks Matt Maker and Olivier Girardot. (#7)</p></li> <li><p>freeze no longer borks on requirements files with --index-url or --find-links. Thanks Herbert Pfennig. (#391)</p></li> <li><p>Handle symlinks properly. Thanks lebedov for the patch. (#288)</p></li> <li><p>pip install -U no longer reinstalls the same versions of packages. Thanks iguananaut for the pull request. (#49)</p></li> <li><p>Removed <code class="docutils literal notranslate"><span class="pre">-E</span></code>/<code class="docutils literal notranslate"><span class="pre">--environment</span></code> option and <code class="docutils literal notranslate"><span class="pre">PIP_RESPECT_VIRTUALENV</span></code>; both use a restart-in-venv mechanism that’s broken, and neither one is useful since every virtualenv now has pip inside it. Replace <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">-E</span> <span class="pre">path/to/venv</span> <span class="pre">install</span> <span class="pre">Foo</span></code> with <code class="docutils literal notranslate"><span class="pre">virtualenv</span> <span class="pre">path/to/venv</span> <span class="pre">&&</span> <span class="pre">path/to/venv/pip</span> <span class="pre">install</span> <span class="pre">Foo</span></code>.</p></li> <li><p>Fixed pip throwing an IndexError when it calls <cite>scraped_rel_links</cite>. (#366)</p></li> <li><p>pip search should set and return a useful shell status code. (#22)</p></li> <li><p>Added global <code class="docutils literal notranslate"><span class="pre">--exists-action</span></code> command line option to easier script file exists conflicts, e.g. from editable requirements from VCS that have a changed repo URL. (#351, #365)</p></li> </ul> </section> <section id="v1-0-2"> <span id="id1160"></span><h2>1.0.2 (2011-07-16)<a class="headerlink" href="#v1-0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed docs issues.</p></li> <li><p>Reinstall a package when using the <code class="docutils literal notranslate"><span class="pre">install</span> <span class="pre">-I</span></code> option. (#295)</p></li> <li><p>Finds a Git tag pointing to same commit as origin/master. (#283)</p></li> <li><p>Use absolute path for path to docs in setup.py. (#279)</p></li> <li><p>Correctly handle exceptions on Python3. (#314)</p></li> <li><p>Correctly parse <code class="docutils literal notranslate"><span class="pre">--editable</span></code> lines in requirements files. (#320)</p></li> </ul> </section> <section id="v1-0-1"> <span id="id1161"></span><h2>1.0.1 (2011-04-30)<a class="headerlink" href="#v1-0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Start to use git-flow.</p></li> <li><p><cite>find_command</cite> should not raise AttributeError. (#274)</p></li> <li><p>Respect Content-Disposition header. Thanks Bradley Ayers. (#273)</p></li> <li><p>pathext handling on Windows. (#233)</p></li> <li><p>svn+svn protocol. (#252)</p></li> <li><p>multiple CLI searches. (#44)</p></li> <li><p>Current working directory when running setup.py clean. (#266)</p></li> </ul> </section> <section id="v1-0"> <span id="id1162"></span><h2>1.0 (2011-04-04)<a class="headerlink" href="#v1-0" title="Link to this heading">¶</a></h2> <ul> <li><p>Added Python 3 support! Huge thanks to Vinay Sajip, Vitaly Babiy, Kelsey Hightower, and Alex Gronholm, among others.</p></li> <li><p>Download progress only shown on a real TTY. Thanks Alex Morega.</p></li> <li><p>Fixed finding of VCS binaries to not be fooled by same-named directories. Thanks Alex Morega.</p></li> <li><p>Fixed uninstall of packages from system Python for users of Debian/Ubuntu python-setuptools package (workaround until fixed in Debian and Ubuntu).</p></li> <li><p>Added <a class="reference external" href="https://raw.github.com/pypa/pip/master/contrib/get-pip.py">get-pip.py</a> installer. Simply download and execute it, using the Python interpreter of your choice:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py $ python get-pip.py </pre></div> </div> <p>This may have to be run as root.</p> <div class="admonition note"> <p class="admonition-title">Note</p> <p>Make sure you have <a class="reference external" href="http://pypi.python.org/pypi/distribute">distribute</a> installed before using the installer!</p> </div> </li> </ul> </section> <section id="v0-8-3"> <span id="id1163"></span><h2>0.8.3<a class="headerlink" href="#v0-8-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Moved main repository to GitHub: <a class="reference external" href="https://github.com/pypa/pip">https://github.com/pypa/pip</a></p></li> <li><p>Transferred primary maintenance from Ian to Jannis Leidel, Carl Meyer, Brian Rosner</p></li> <li><p>Fixed no uninstall-on-upgrade with URL package. Thanks Oliver Tonnhofer. (#14)</p></li> <li><p>Fixed egg name not properly resolving. Thanks Igor Sobreira. (#163)</p></li> <li><p>Fixed Non-alphabetical installation of requirements. Thanks Igor Sobreira. (#178)</p></li> <li><p>Fixed documentation mentions --index instead of --index-url. Thanks Kelsey Hightower (#199)</p></li> <li><p>rmtree undefined in mercurial.py. Thanks Kelsey Hightower. (#204)</p></li> <li><p>Fixed bug in Git vcs backend that would break during reinstallation.</p></li> <li><p>Fixed bug in Mercurial vcs backend related to pip freeze and branch/tag resolution.</p></li> <li><p>Fixed bug in version string parsing related to the suffix “-dev”.</p></li> </ul> </section> <section id="v0-8-2"> <span id="id1164"></span><h2>0.8.2<a class="headerlink" href="#v0-8-2" title="Link to this heading">¶</a></h2> <ul> <li><p>Avoid redundant unpacking of bundles (from pwaller)</p></li> <li><p>Fixed checking out the correct tag/branch/commit when updating an editable Git requirement. (#32, #150, #161)</p></li> <li><p>Added ability to install version control requirements without making them editable, e.g.:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">git</span><span class="o">+</span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">pypa</span><span class="o">/</span><span class="n">pip</span><span class="o">/</span> </pre></div> </div> <p>(#49)</p> </li> <li><p>Correctly locate build and source directory on macOS. (#175)</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">git+https://</span></code> scheme to Git VCS backend.</p></li> </ul> </section> <section id="v0-8-1"> <span id="id1165"></span><h2>0.8.1<a class="headerlink" href="#v0-8-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Added global --user flag as shortcut for --install-option=”--user”. From Ronny Pfannschmidt.</p></li> <li><p>Added support for <a class="reference external" href="http://pypi.python.org/mirrors">PyPI mirrors</a> as defined in <a class="reference external" href="https://www.python.org/dev/peps/pep-0381/">PEP 381</a>, from Jannis Leidel.</p></li> <li><p>Fixed git revisions being ignored. Thanks John-Scott Atlakson. (#138)</p></li> <li><p>Fixed initial editable install of github package from a tag failing. Thanks John-Scott Atlakson. (#95)</p></li> <li><p>Fixed installing if a directory in cwd has the same name as the package you’re installing. (#107)</p></li> <li><p>--install-option=”--prefix=~/.local” ignored with -e. Thanks Ronny Pfannschmidt and Wil Tan. (#39)</p></li> </ul> </section> <section id="v0-8"> <span id="id1166"></span><h2>0.8<a class="headerlink" href="#v0-8" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Track which <code class="docutils literal notranslate"><span class="pre">build/</span></code> directories pip creates, never remove directories it doesn’t create. From Hugo Lopes Tavares.</p></li> <li><p>pip now accepts <a class="reference external" href="file://">file://</a> index URLs. Thanks Dave Abrahams.</p></li> <li><p>Various cleanup to make test-running more consistent and less fragile. Thanks Dave Abrahams.</p></li> <li><p>Real Windows support (with passing tests). Thanks Dave Abrahams.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">pip-2.7</span></code> etc. scripts are created (Python-version specific scripts)</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">contrib/build-standalone</span></code> script creates a runnable <code class="docutils literal notranslate"><span class="pre">.zip</span></code> form of pip, from Jannis Leidel</p></li> <li><p>Editable git repos are updated when reinstalled</p></li> <li><p>Fix problem with <code class="docutils literal notranslate"><span class="pre">--editable</span></code> when multiple <code class="docutils literal notranslate"><span class="pre">.egg-info/</span></code> directories are found.</p></li> <li><p>A number of VCS-related fixes for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code>, from Hugo Lopes Tavares.</p></li> <li><p>Significant test framework changes, from Hugo Lopes Tavares.</p></li> </ul> </section> <section id="v0-7-2"> <span id="id1167"></span><h2>0.7.2<a class="headerlink" href="#v0-7-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Set zip_safe=False to avoid problems some people are encountering where pip is installed as a zip file.</p></li> </ul> </section> <section id="v0-7-1"> <span id="id1168"></span><h2>0.7.1<a class="headerlink" href="#v0-7-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed opening of logfile with no directory name. Thanks Alexandre Conrad.</p></li> <li><p>Temporary files are consistently cleaned up, especially after installing bundles, also from Alex Conrad.</p></li> <li><p>Tests now require at least ScriptTest 1.0.3.</p></li> </ul> </section> <section id="v0-7"> <span id="id1169"></span><h2>0.7<a class="headerlink" href="#v0-7" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed uninstallation on Windows</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">search</span></code> command.</p></li> <li><p>Tab-complete names of installed distributions for <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">uninstall</span></code>.</p></li> <li><p>Support tab-completion when there is a global-option before the subcommand.</p></li> <li><p>Install header files in standard (scheme-default) location when installing outside a virtualenv. Install them to a slightly more consistent non-standard location inside a virtualenv (since the standard location is a non-writable symlink to the global location).</p></li> <li><p>pip now logs to a central location by default (instead of creating <code class="docutils literal notranslate"><span class="pre">pip-log.txt</span></code> all over the place) and constantly overwrites the file in question. On Unix and macOS this is <code class="docutils literal notranslate"><span class="pre">'$HOME/.pip/pip.log'</span></code> and on Windows it’s <code class="docutils literal notranslate"><span class="pre">'%HOME%\\pip\\pip.log'</span></code>. You are still able to override this location with the <code class="docutils literal notranslate"><span class="pre">$PIP_LOG_FILE</span></code> environment variable. For a complete (appended) logfile use the separate <code class="docutils literal notranslate"><span class="pre">'--log'</span></code> command line option.</p></li> <li><p>Fixed an issue with Git that left an editable package as a checkout of a remote branch, even if the default behaviour would have been fine, too.</p></li> <li><p>Fixed installing from a Git tag with older versions of Git.</p></li> <li><p>Expand “~” in logfile and download cache paths.</p></li> <li><p>Speed up installing from Mercurial repositories by cloning without updating the working copy multiple times.</p></li> <li><p>Fixed installing directly from directories (e.g. <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">path/to/dir/</span></code>).</p></li> <li><p>Fixed installing editable packages with <code class="docutils literal notranslate"><span class="pre">svn+ssh</span></code> URLs.</p></li> <li><p>Don’t print unwanted debug information when running the freeze command.</p></li> <li><p>Create log file directory automatically. Thanks Alexandre Conrad.</p></li> <li><p>Make test suite easier to run successfully. Thanks Dave Abrahams.</p></li> <li><p>Fixed “pip install .” and “pip install ..”; better error for directory without setup.py. Thanks Alexandre Conrad.</p></li> <li><p>Support Debian/Ubuntu “dist-packages” in zip command. Thanks duckx.</p></li> <li><p>Fix relative --src folder. Thanks Simon Cross.</p></li> <li><p>Handle missing VCS with an error message. Thanks Alexandre Conrad.</p></li> <li><p>Added --no-download option to install; pairs with --no-install to separate download and installation into two steps. Thanks Simon Cross.</p></li> <li><p>Fix uninstalling from requirements file containing -f, -i, or --extra-index-url.</p></li> <li><p>Leftover build directories are now removed. Thanks Alexandre Conrad.</p></li> </ul> </section> <section id="v0-6-3"> <span id="id1170"></span><h2>0.6.3<a class="headerlink" href="#v0-6-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed import error on Windows with regard to the backwards compatibility package</p></li> </ul> </section> <section id="v0-6-2"> <span id="id1171"></span><h2>0.6.2<a class="headerlink" href="#v0-6-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed uninstall when /tmp is on a different filesystem.</p></li> <li><p>Fixed uninstallation of distributions with namespace packages.</p></li> </ul> </section> <section id="v0-6-1"> <span id="id1172"></span><h2>0.6.1<a class="headerlink" href="#v0-6-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Added support for the <code class="docutils literal notranslate"><span class="pre">https</span></code> and <code class="docutils literal notranslate"><span class="pre">http-static</span></code> schemes to the Mercurial and <code class="docutils literal notranslate"><span class="pre">ftp</span></code> scheme to the Bazaar backend.</p></li> <li><p>Fixed uninstallation of scripts installed with easy_install.</p></li> <li><p>Fixed an issue in the package finder that could result in an infinite loop while looking for links.</p></li> <li><p>Fixed issue with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">bundle</span></code> and local files (which weren’t being copied into the bundle), from Whit Morriss.</p></li> </ul> </section> <section id="v0-6"> <span id="id1173"></span><h2>0.6<a class="headerlink" href="#v0-6" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Add <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">uninstall</span></code> and uninstall-before upgrade (from Carl Meyer).</p></li> <li><p>Extended configurability with config files and environment variables.</p></li> <li><p>Allow packages to be upgraded, e.g., <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">Package==0.1</span></code> then <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">Package==0.2</span></code>.</p></li> <li><p>Allow installing/upgrading to Package==dev (fix “Source version does not match target version” errors).</p></li> <li><p>Added command and option completion for bash and zsh.</p></li> <li><p>Extended integration with virtualenv by providing an option to automatically use an active virtualenv and an option to warn if no active virtualenv is found.</p></li> <li><p>Fixed a bug with pip install --download and editable packages, where directories were being set with 0000 permissions, now defaults to 755.</p></li> <li><p>Fixed uninstallation of easy_installed console_scripts.</p></li> <li><p>Fixed uninstallation on macOS Framework layout installs</p></li> <li><p>Fixed bug preventing uninstall of editables with source outside venv.</p></li> <li><p>Creates download cache directory if not existing.</p></li> </ul> </section> <section id="v0-5-1"> <span id="id1174"></span><h2>0.5.1<a class="headerlink" href="#v0-5-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed a couple little bugs, with git and with extensions.</p></li> </ul> </section> <section id="v0-5"> <span id="id1175"></span><h2>0.5<a class="headerlink" href="#v0-5" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Added ability to override the default log file name (<code class="docutils literal notranslate"><span class="pre">pip-log.txt</span></code>) with the environmental variable <code class="docutils literal notranslate"><span class="pre">$PIP_LOG_FILE</span></code>.</p></li> <li><p>Made the freeze command print installed packages to stdout instead of writing them to a file. Use simple redirection (e.g. <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span> <span class="pre">></span> <span class="pre">stable-req.txt</span></code>) to get a file with requirements.</p></li> <li><p>Fixed problem with freezing editable packages from a Git repository.</p></li> <li><p>Added support for base URLs using <code class="docutils literal notranslate"><span class="pre"><base</span> <span class="pre">href='...'></span></code> when parsing HTML pages.</p></li> <li><p>Fixed installing of non-editable packages from version control systems.</p></li> <li><p>Fixed issue with Bazaar’s bzr+ssh scheme.</p></li> <li><p>Added --download-dir option to the install command to retrieve package archives. If given an editable package it will create an archive of it.</p></li> <li><p>Added ability to pass local file and directory paths to <code class="docutils literal notranslate"><span class="pre">--find-links</span></code>, e.g. <code class="docutils literal notranslate"><span class="pre">--find-links=file:///path/to/my/private/archive</span></code></p></li> <li><p>Reduced the amount of console log messages when fetching a page to find a distribution was problematic. The full messages can be found in pip-log.txt.</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">--no-deps</span></code> option to install ignore package dependencies</p></li> <li><p>Added <code class="docutils literal notranslate"><span class="pre">--no-index</span></code> option to ignore the package index (PyPI) temporarily</p></li> <li><p>Fixed installing editable packages from Git branches.</p></li> <li><p>Fixes freezing of editable packages from Mercurial repositories.</p></li> <li><p>Fixed handling read-only attributes of build files, e.g. of Subversion and Bazaar on Windows.</p></li> <li><p>When downloading a file from a redirect, use the redirected location’s extension to guess the compression (happens specifically when redirecting to a bitbucket.org tip.gz file).</p></li> <li><p>Editable freeze URLs now always use revision hash/id rather than tip or branch names which could move.</p></li> <li><p>Fixed comparison of repo URLs so incidental differences such as presence/absence of final slashes or quoted/unquoted special characters don’t trigger “ignore/switch/wipe/backup” choice.</p></li> <li><p>Fixed handling of attempt to checkout editable install to a non-empty, non-repo directory.</p></li> </ul> </section> <section id="v0-4"> <span id="id1176"></span><h2>0.4<a class="headerlink" href="#v0-4" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Make <code class="docutils literal notranslate"><span class="pre">-e</span></code> work better with local hg repositories</p></li> <li><p>Construct PyPI URLs the exact way easy_install constructs URLs (you might notice this if you use a custom index that is slash-sensitive).</p></li> <li><p>Improvements on Windows (from <a class="reference external" href="https://ionelmc.wordpress.com/">Ionel Maries Cristian</a>).</p></li> <li><p>Fixed problem with not being able to install private git repositories.</p></li> <li><p>Make <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">zip</span></code> zip all its arguments, not just the first.</p></li> <li><p>Fix some filename issues on Windows.</p></li> <li><p>Allow the <code class="docutils literal notranslate"><span class="pre">-i</span></code> and <code class="docutils literal notranslate"><span class="pre">--extra-index-url</span></code> options in requirements files.</p></li> <li><p>Fix the way bundle components are unpacked and moved around, to make bundles work.</p></li> <li><p>Adds <code class="docutils literal notranslate"><span class="pre">-s</span></code> option to allow the access to the global site-packages if a virtualenv is to be created.</p></li> <li><p>Fixed support for Subversion 1.6.</p></li> </ul> </section> <section id="v0-3-1"> <span id="id1177"></span><h2>0.3.1<a class="headerlink" href="#v0-3-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Improved virtualenv restart and various path/cleanup problems on win32.</p></li> <li><p>Fixed a regression with installing from svn repositories (when not using <code class="docutils literal notranslate"><span class="pre">-e</span></code>).</p></li> <li><p>Fixes when installing editable packages that put their source in a subdirectory (like <code class="docutils literal notranslate"><span class="pre">src/</span></code>).</p></li> <li><p>Improve <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">-h</span></code></p></li> </ul> </section> <section id="v0-3"> <span id="id1178"></span><h2>0.3<a class="headerlink" href="#v0-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Added support for editable packages created from Git, Mercurial and Bazaar repositories and ability to freeze them. Refactored support for version control systems.</p></li> <li><p>Do not use <code class="docutils literal notranslate"><span class="pre">sys.exit()</span></code> from inside the code, instead use a return. This will make it easier to invoke programmatically.</p></li> <li><p>Put the install record in <code class="docutils literal notranslate"><span class="pre">Package.egg-info/installed-files.txt</span></code> (previously they went in <code class="docutils literal notranslate"><span class="pre">site-packages/install-record-Package.txt</span></code>).</p></li> <li><p>Fix a problem with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">freeze</span></code> not including <code class="docutils literal notranslate"><span class="pre">-e</span> <span class="pre">svn+</span></code> when an svn structure is peculiar.</p></li> <li><p>Allow <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">-E</span></code> to work with a virtualenv that uses a different version of Python than the parent environment.</p></li> <li><p>Fixed Win32 virtualenv (<code class="docutils literal notranslate"><span class="pre">-E</span></code>) option.</p></li> <li><p>Search the links passed in with <code class="docutils literal notranslate"><span class="pre">-f</span></code> for packages.</p></li> <li><p>Detect zip files, even when the file doesn’t have a <code class="docutils literal notranslate"><span class="pre">.zip</span></code> extension and it is served with the wrong Content-Type.</p></li> <li><p>Installing editable from existing source now works, like <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-e</span> <span class="pre">some/path/</span></code> will install the package in <code class="docutils literal notranslate"><span class="pre">some/path/</span></code>. Most importantly, anything that package requires will also be installed by pip.</p></li> <li><p>Add a <code class="docutils literal notranslate"><span class="pre">--path</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">un/zip</span></code>, so you can avoid zipping files that are outside of where you expect.</p></li> <li><p>Add <code class="docutils literal notranslate"><span class="pre">--simulate</span></code> option to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">zip</span></code>.</p></li> </ul> </section> <section id="v0-2-1"> <span id="id1179"></span><h2>0.2.1<a class="headerlink" href="#v0-2-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed small problem that prevented using <code class="docutils literal notranslate"><span class="pre">pip.py</span></code> without actually installing pip.</p></li> <li><p>Fixed <code class="docutils literal notranslate"><span class="pre">--upgrade</span></code>, which would download and appear to install upgraded packages, but actually just reinstall the existing package.</p></li> <li><p>Fixed Windows problem with putting the install record in the right place, and generating the <code class="docutils literal notranslate"><span class="pre">pip</span></code> script with Setuptools.</p></li> <li><p>Download links that include embedded spaces or other unsafe characters (those characters get %-encoded).</p></li> <li><p>Fixed use of URLs in requirement files, and problems with some blank lines.</p></li> <li><p>Turn some tar file errors into warnings.</p></li> </ul> </section> <section id="v0-2"> <span id="id1180"></span><h2>0.2<a class="headerlink" href="#v0-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Renamed to <code class="docutils literal notranslate"><span class="pre">pip</span></code>, and to install you now do <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">PACKAGE</span></code></p></li> <li><p>Added command <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">zip</span> <span class="pre">PACKAGE</span></code> and <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">unzip</span> <span class="pre">PACKAGE</span></code>. This is particularly intended for Google App Engine to manage libraries to stay under the 1000-file limit.</p></li> <li><p>Some fixes to bundles, especially editable packages and when creating a bundle using unnamed packages (like just an svn repository without <code class="docutils literal notranslate"><span class="pre">#egg=Package</span></code>).</p></li> </ul> </section> <section id="v0-1-4"> <span id="id1181"></span><h2>0.1.4<a class="headerlink" href="#v0-1-4" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Added an option <code class="docutils literal notranslate"><span class="pre">--install-option</span></code> to pass options to pass arguments to <code class="docutils literal notranslate"><span class="pre">setup.py</span> <span class="pre">install</span></code></p></li> <li><p><code class="docutils literal notranslate"><span class="pre">.svn/</span></code> directories are no longer included in bundles, as these directories are specific to a version of svn -- if you build a bundle on a system with svn 1.5, you can’t use the checkout on a system with svn 1.4. Instead a file <code class="docutils literal notranslate"><span class="pre">svn-checkout.txt</span></code> is included that notes the original location and revision, and the command you can use to turn it back into an svn checkout. (Probably unpacking the bundle should, maybe optionally, recreate this information -- but that is not currently implemented, and it would require network access.)</p></li> <li><p>Avoid ambiguities over project name case, where for instance MyPackage and mypackage would be considered different packages. This in particular caused problems on Macs, where <code class="docutils literal notranslate"><span class="pre">MyPackage/</span></code> and <code class="docutils literal notranslate"><span class="pre">mypackage/</span></code> are the same directory.</p></li> <li><p>Added support for an environmental variable <code class="docutils literal notranslate"><span class="pre">$PIP_DOWNLOAD_CACHE</span></code> which will cache package downloads, so future installations won’t require large downloads. Network access is still required, but just some downloads will be avoided when using this.</p></li> </ul> </section> <section id="v0-1-3"> <span id="id1182"></span><h2>0.1.3<a class="headerlink" href="#v0-1-3" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Always use <code class="docutils literal notranslate"><span class="pre">svn</span> <span class="pre">checkout</span></code> (not <code class="docutils literal notranslate"><span class="pre">export</span></code>) so that <code class="docutils literal notranslate"><span class="pre">tag_svn_revision</span></code> settings give the revision of the package.</p></li> <li><p>Don’t update checkouts that came from <code class="docutils literal notranslate"><span class="pre">.pybundle</span></code> files.</p></li> </ul> </section> <section id="v0-1-2"> <span id="id1183"></span><h2>0.1.2<a class="headerlink" href="#v0-1-2" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Improve error text when there are errors fetching HTML pages when seeking packages.</p></li> <li><p>Improve bundles: include empty directories, make them work with editable packages.</p></li> <li><p>If you use <code class="docutils literal notranslate"><span class="pre">-E</span> <span class="pre">env</span></code> and the environment <code class="docutils literal notranslate"><span class="pre">env/</span></code> doesn’t exist, a new virtual environment will be created.</p></li> <li><p>Fix <code class="docutils literal notranslate"><span class="pre">dependency_links</span></code> for finding packages.</p></li> </ul> </section> <section id="v0-1-1"> <span id="id1184"></span><h2>0.1.1<a class="headerlink" href="#v0-1-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Fixed a NameError exception when running pip outside of a virtualenv environment.</p></li> <li><p>Added HTTP proxy support (from Prabhu Ramachandran)</p></li> <li><p>Fixed use of <code class="docutils literal notranslate"><span class="pre">hashlib.md5</span></code> on python2.5+ (also from Prabhu Ramachandran)</p></li> </ul> </section> <section id="v0-1"> <span id="id1185"></span><h2>0.1<a class="headerlink" href="#v0-1" title="Link to this heading">¶</a></h2> <ul class="simple"> <li><p>Initial release</p></li> </ul> </section> </section> </article> </div> <footer> <div class="related-pages"> <a class="prev-page" href="ux-research-design/research-results/improving-pips-documentation.html"> <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg> <div class="page-info"> <div class="context"> <span>Previous</span> </div> <div class="title">Improving pip’s Documentation</div> </div> </a> </div> <div class="bottom-of-page"> <div class="left-details"> <div class="copyright"> <a href="copyright.html">Copyright</a> © The pip developers </div> Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s <a href="https://github.com/pradyunsg/furo">Furo</a> </div> <div class="right-details"> </div> </div> </footer> </div> <aside class="toc-drawer"> <div class="toc-sticky toc-scroll"> <div class="toc-title-container"> <span class="toc-title"> On this page </span> </div> <div class="toc-tree-container"> <div class="toc-tree"> <ul> <li><a class="reference internal" href="#">Changelog</a><ul> <li><a class="reference internal" href="#v25-1-1">25.1.1 (2025-05-02)</a><ul> <li><a class="reference internal" href="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#vendored-libraries">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v25-1">25.1 (2025-04-26)</a><ul> <li><a class="reference internal" href="#deprecations-and-removals">Deprecations and Removals</a></li> <li><a class="reference internal" href="#features">Features</a></li> <li><a class="reference internal" href="#id28">Bug Fixes</a></li> <li><a class="reference internal" href="#id42">Vendored Libraries</a></li> <li><a class="reference internal" href="#improved-documentation">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v25-0-1">25.0.1 (2025-02-09)</a><ul> <li><a class="reference internal" href="#id45">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v25-0">25.0 (2025-01-26)</a><ul> <li><a class="reference internal" href="#id49">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id51">Features</a></li> <li><a class="reference internal" href="#id58">Bug Fixes</a></li> <li><a class="reference internal" href="#id65">Vendored Libraries</a></li> <li><a class="reference internal" href="#id66">Improved Documentation</a></li> <li><a class="reference internal" href="#process">Process</a></li> </ul> </li> <li><a class="reference internal" href="#v24-3-1">24.3.1 (2024-10-27)</a><ul> <li><a class="reference internal" href="#id69">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v24-3">24.3 (2024-10-27)</a><ul> <li><a class="reference internal" href="#id72">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id74">Features</a></li> <li><a class="reference internal" href="#id77">Bug Fixes</a></li> <li><a class="reference internal" href="#id82">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v24-2">24.2 (2024-07-28)</a><ul> <li><a class="reference internal" href="#id84">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id86">Features</a></li> <li><a class="reference internal" href="#id98">Bug Fixes</a></li> <li><a class="reference internal" href="#id107">Vendored Libraries</a></li> <li><a class="reference internal" href="#id108">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v24-1-2">24.1.2 (2024-07-07)</a><ul> <li><a class="reference internal" href="#id111">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v24-1-1">24.1.1 (2024-06-26)</a><ul> <li><a class="reference internal" href="#id114">Bug Fixes</a></li> <li><a class="reference internal" href="#id115">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v24-1">24.1 (2024-06-20)</a><ul> <li><a class="reference internal" href="#id117">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#b2-2024-06-12">24.1b2 (2024-06-12)</a><ul> <li><a class="reference internal" href="#id118">Features</a></li> <li><a class="reference internal" href="#id120">Bug Fixes</a></li> <li><a class="reference internal" href="#id124">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2024-05-06">24.1b1 (2024-05-06)</a><ul> <li><a class="reference internal" href="#id125">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id128">Features</a></li> <li><a class="reference internal" href="#id137">Bug Fixes</a></li> <li><a class="reference internal" href="#id147">Vendored Libraries</a></li> <li><a class="reference internal" href="#id148">Improved Documentation</a></li> <li><a class="reference internal" href="#id155">Process</a></li> </ul> </li> <li><a class="reference internal" href="#v24-0">24.0 (2024-02-03)</a><ul> <li><a class="reference internal" href="#id157">Features</a></li> <li><a class="reference internal" href="#id162">Bug Fixes</a></li> <li><a class="reference internal" href="#id165">Vendored Libraries</a></li> <li><a class="reference internal" href="#id166">Improved Documentation</a></li> <li><a class="reference internal" href="#id172">Process</a></li> </ul> </li> <li><a class="reference internal" href="#v23-3-2">23.3.2 (2023-12-17)</a><ul> <li><a class="reference internal" href="#id174">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v23-3-1">23.3.1 (2023-10-21)</a><ul> <li><a class="reference internal" href="#id178">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v23-3">23.3 (2023-10-15)</a><ul> <li><a class="reference internal" href="#id182">Process</a></li> <li><a class="reference internal" href="#id183">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id185">Features</a></li> <li><a class="reference internal" href="#id190">Bug Fixes</a></li> <li><a class="reference internal" href="#id204">Vendored Libraries</a></li> <li><a class="reference internal" href="#id205">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v23-2-1">23.2.1 (2023-07-22)</a><ul> <li><a class="reference internal" href="#id210">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v23-2">23.2 (2023-07-15)</a><ul> <li><a class="reference internal" href="#id213">Process</a></li> <li><a class="reference internal" href="#id214">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id217">Features</a></li> <li><a class="reference internal" href="#id219">Bug Fixes</a></li> <li><a class="reference internal" href="#id230">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v23-1-2">23.1.2 (2023-04-26)</a><ul> <li><a class="reference internal" href="#id232">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v23-1-1">23.1.1 (2023-04-22)</a><ul> <li><a class="reference internal" href="#id234">Bug Fixes</a></li> <li><a class="reference internal" href="#id237">Vendored Libraries</a></li> <li><a class="reference internal" href="#id238">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v23-1">23.1 (2023-04-15)</a><ul> <li><a class="reference internal" href="#id241">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id249">Features</a></li> <li><a class="reference internal" href="#id262">Bug Fixes</a></li> <li><a class="reference internal" href="#id273">Vendored Libraries</a></li> <li><a class="reference internal" href="#id274">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v23-0-1">23.0.1 (2023-02-17)</a><ul> <li><a class="reference internal" href="#id281">Features</a></li> <li><a class="reference internal" href="#id284">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v23-0">23.0 (2023-01-30)</a><ul> <li><a class="reference internal" href="#id288">Features</a></li> <li><a class="reference internal" href="#id293">Bug Fixes</a></li> <li><a class="reference internal" href="#id301">Vendored Libraries</a></li> <li><a class="reference internal" href="#id302">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v22-3-1">22.3.1 (2022-11-05)</a><ul> <li><a class="reference internal" href="#id307">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-3">22.3 (2022-10-15)</a><ul> <li><a class="reference internal" href="#id310">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id317">Features</a></li> <li><a class="reference internal" href="#id324">Bug Fixes</a></li> <li><a class="reference internal" href="#id330">Vendored Libraries</a></li> <li><a class="reference internal" href="#id331">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v22-2-2">22.2.2 (2022-08-03)</a><ul> <li><a class="reference internal" href="#id334">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-2-1">22.2.1 (2022-07-27)</a><ul> <li><a class="reference internal" href="#id339">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-2">22.2 (2022-07-21)</a><ul> <li><a class="reference internal" href="#id344">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id347">Features</a></li> <li><a class="reference internal" href="#id356">Bug Fixes</a></li> <li><a class="reference internal" href="#id362">Process</a></li> <li><a class="reference internal" href="#id363">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v22-1-2">22.1.2 (2022-05-31)</a><ul> <li><a class="reference internal" href="#id365">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-1-1">22.1.1 (2022-05-20)</a><ul> <li><a class="reference internal" href="#id370">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-1">22.1 (2022-05-11)</a><ul> <li><a class="reference internal" href="#id375">Process</a></li> <li><a class="reference internal" href="#id376">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2022-04-30">22.1b1 (2022-04-30)</a><ul> <li><a class="reference internal" href="#id381">Process</a></li> <li><a class="reference internal" href="#id382">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id384">Features</a></li> <li><a class="reference internal" href="#id392">Bug Fixes</a></li> <li><a class="reference internal" href="#id402">Vendored Libraries</a></li> <li><a class="reference internal" href="#id403">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v22-0-4">22.0.4 (2022-03-06)</a><ul> <li><a class="reference internal" href="#id410">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id412">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v22-0-3">22.0.3 (2022-02-03)</a><ul> <li><a class="reference internal" href="#id414">Features</a></li> <li><a class="reference internal" href="#id416">Bug Fixes</a></li> <li><a class="reference internal" href="#id419">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v22-0-2">22.0.2 (2022-01-30)</a><ul> <li><a class="reference internal" href="#id422">Deprecations and Removals</a></li> </ul> </li> <li><a class="reference internal" href="#v22-0-1">22.0.1 (2022-01-30)</a><ul> <li><a class="reference internal" href="#id425">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v22-0">22.0 (2022-01-29)</a><ul> <li><a class="reference internal" href="#id429">Process</a></li> <li><a class="reference internal" href="#id430">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id434">Features</a></li> <li><a class="reference internal" href="#id445">Bug Fixes</a></li> <li><a class="reference internal" href="#id452">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v21-3-1">21.3.1 (2021-10-22)</a><ul> <li><a class="reference internal" href="#id454">Bug Fixes</a></li> <li><a class="reference internal" href="#id459">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v21-3">21.3 (2021-10-11)</a><ul> <li><a class="reference internal" href="#id461">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id468">Features</a></li> <li><a class="reference internal" href="#id480">Bug Fixes</a></li> <li><a class="reference internal" href="#id486">Vendored Libraries</a></li> <li><a class="reference internal" href="#id487">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v21-2-4">21.2.4 (2021-08-12)</a><ul> <li><a class="reference internal" href="#id491">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-2-3">21.2.3 (2021-08-06)</a><ul> <li><a class="reference internal" href="#id494">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-2-2">21.2.2 (2021-07-31)</a><ul> <li><a class="reference internal" href="#id497">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-2-1">21.2.1 (2021-07-25)</a><ul> <li><a class="reference internal" href="#id500">Process</a></li> </ul> </li> <li><a class="reference internal" href="#v21-2">21.2 (2021-07-24)</a><ul> <li><a class="reference internal" href="#id502">Process</a></li> <li><a class="reference internal" href="#id503">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id507">Features</a></li> <li><a class="reference internal" href="#id523">Bug Fixes</a></li> <li><a class="reference internal" href="#id535">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v21-1-3">21.1.3 (2021-06-26)</a><ul> <li><a class="reference internal" href="#id537">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-1-2">21.1.2 (2021-05-23)</a><ul> <li><a class="reference internal" href="#id541">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-1-1">21.1.1 (2021-04-30)</a><ul> <li><a class="reference internal" href="#id547">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id549">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v21-1">21.1 (2021-04-24)</a><ul> <li><a class="reference internal" href="#id554">Process</a></li> <li><a class="reference internal" href="#id555">Features</a></li> <li><a class="reference internal" href="#id562">Bug Fixes</a></li> <li><a class="reference internal" href="#id578">Vendored Libraries</a></li> <li><a class="reference internal" href="#id579">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v21-0-1">21.0.1 (2021-01-30)</a><ul> <li><a class="reference internal" href="#id585">Bug Fixes</a></li> <li><a class="reference internal" href="#id588">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v21-0">21.0 (2021-01-23)</a><ul> <li><a class="reference internal" href="#id590">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id597">Features</a></li> <li><a class="reference internal" href="#id600">Bug Fixes</a></li> <li><a class="reference internal" href="#id603">Vendored Libraries</a></li> <li><a class="reference internal" href="#id604">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-3-4">20.3.4 (2021-01-23)</a><ul> <li><a class="reference internal" href="#id608">Features</a></li> <li><a class="reference internal" href="#id611">Bug Fixes</a></li> <li><a class="reference internal" href="#id616">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v20-3-3">20.3.3 (2020-12-15)</a><ul> <li><a class="reference internal" href="#id618">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v20-3-2">20.3.2 (2020-12-15)</a><ul> <li><a class="reference internal" href="#id621">Features</a></li> <li><a class="reference internal" href="#id624">Bug Fixes</a></li> <li><a class="reference internal" href="#id630">Vendored Libraries</a></li> <li><a class="reference internal" href="#id631">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-3-1">20.3.1 (2020-12-03)</a><ul> <li><a class="reference internal" href="#id634">Deprecations and Removals</a></li> </ul> </li> <li><a class="reference internal" href="#v20-3">20.3 (2020-11-30)</a><ul> <li><a class="reference internal" href="#id637">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id639">Features</a></li> <li><a class="reference internal" href="#id643">Bug Fixes</a></li> <li><a class="reference internal" href="#id651">Vendored Libraries</a></li> <li><a class="reference internal" href="#id652">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2020-10-31">20.3b1 (2020-10-31)</a><ul> <li><a class="reference internal" href="#id655">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id661">Features</a></li> <li><a class="reference internal" href="#id676">Bug Fixes</a></li> <li><a class="reference internal" href="#id687">Vendored Libraries</a></li> <li><a class="reference internal" href="#id688">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-2-4">20.2.4 (2020-10-16)</a><ul> <li><a class="reference internal" href="#id698">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id701">Features</a></li> <li><a class="reference internal" href="#id706">Bug Fixes</a></li> <li><a class="reference internal" href="#id710">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-2-3">20.2.3 (2020-09-08)</a><ul> <li><a class="reference internal" href="#id713">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id715">Features</a></li> </ul> </li> <li><a class="reference internal" href="#v20-2-2">20.2.2 (2020-08-11)</a><ul> <li><a class="reference internal" href="#id718">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v20-2-1">20.2.1 (2020-08-04)</a><ul> <li><a class="reference internal" href="#id726">Features</a></li> <li><a class="reference internal" href="#id728">Bug Fixes</a></li> <li><a class="reference internal" href="#id734">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-2">20.2 (2020-07-29)</a><ul> <li><a class="reference internal" href="#id738">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id746">Features</a></li> <li><a class="reference internal" href="#id761">Bug Fixes</a></li> <li><a class="reference internal" href="#id768">Vendored Libraries</a></li> <li><a class="reference internal" href="#id769">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2020-05-21">20.2b1 (2020-05-21)</a><ul> <li><a class="reference internal" href="#id778">Bug Fixes</a></li> <li><a class="reference internal" href="#id781">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-1-1">20.1.1 (2020-05-19)</a><ul> <li><a class="reference internal" href="#id784">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id787">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v20-1">20.1 (2020-04-28)</a><ul> <li><a class="reference internal" href="#id791">Process</a></li> <li><a class="reference internal" href="#id792">Features</a></li> <li><a class="reference internal" href="#id794">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2020-04-21">20.1b1 (2020-04-21)</a><ul> <li><a class="reference internal" href="#id797">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id802">Features</a></li> <li><a class="reference internal" href="#id810">Bug Fixes</a></li> <li><a class="reference internal" href="#id822">Vendored Libraries</a></li> <li><a class="reference internal" href="#id823">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v20-0-2">20.0.2 (2020-01-24)</a><ul> <li><a class="reference internal" href="#id830">Bug Fixes</a></li> <li><a class="reference internal" href="#id832">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v20-0-1">20.0.1 (2020-01-21)</a><ul> <li><a class="reference internal" href="#id834">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v20-0">20.0 (2020-01-21)</a><ul> <li><a class="reference internal" href="#id837">Process</a></li> <li><a class="reference internal" href="#id838">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id848">Features</a></li> <li><a class="reference internal" href="#id860">Bug Fixes</a></li> <li><a class="reference internal" href="#id879">Vendored Libraries</a></li> <li><a class="reference internal" href="#id880">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v19-3-1">19.3.1 (2019-10-17)</a><ul> <li><a class="reference internal" href="#id888">Features</a></li> <li><a class="reference internal" href="#id890">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-3">19.3 (2019-10-14)</a><ul> <li><a class="reference internal" href="#id893">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id896">Features</a></li> <li><a class="reference internal" href="#id902">Bug Fixes</a></li> <li><a class="reference internal" href="#id926">Vendored Libraries</a></li> <li><a class="reference internal" href="#id927">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v19-2-3">19.2.3 (2019-08-25)</a><ul> <li><a class="reference internal" href="#id932">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-2-2">19.2.2 (2019-08-11)</a><ul> <li><a class="reference internal" href="#id935">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-2-1">19.2.1 (2019-07-23)</a><ul> <li><a class="reference internal" href="#id939">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-2">19.2 (2019-07-22)</a><ul> <li><a class="reference internal" href="#id942">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id945">Features</a></li> <li><a class="reference internal" href="#id960">Bug Fixes</a></li> <li><a class="reference internal" href="#id978">Vendored Libraries</a></li> <li><a class="reference internal" href="#id979">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v19-1-1">19.1.1 (2019-05-06)</a><ul> <li><a class="reference internal" href="#id986">Features</a></li> <li><a class="reference internal" href="#id988">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-1">19.1 (2019-04-23)</a><ul> <li><a class="reference internal" href="#id991">Features</a></li> <li><a class="reference internal" href="#id1002">Bug Fixes</a></li> <li><a class="reference internal" href="#id1014">Vendored Libraries</a></li> <li><a class="reference internal" href="#id1015">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v19-0-3">19.0.3 (2019-02-20)</a><ul> <li><a class="reference internal" href="#id1018">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-0-2">19.0.2 (2019-02-09)</a><ul> <li><a class="reference internal" href="#id1022">Bug Fixes</a></li> <li><a class="reference internal" href="#id1031">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v19-0-1">19.0.1 (2019-01-23)</a><ul> <li><a class="reference internal" href="#id1034">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#v19-0">19.0 (2019-01-22)</a><ul> <li><a class="reference internal" href="#id1038">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id1043">Features</a></li> <li><a class="reference internal" href="#id1050">Bug Fixes</a></li> <li><a class="reference internal" href="#id1072">Vendored Libraries</a></li> <li><a class="reference internal" href="#id1074">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v18-1">18.1 (2018-10-05)</a><ul> <li><a class="reference internal" href="#id1080">Features</a></li> <li><a class="reference internal" href="#id1087">Bug Fixes</a></li> <li><a class="reference internal" href="#id1096">Vendored Libraries</a></li> <li><a class="reference internal" href="#id1097">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v18-0">18.0 (2018-07-22)</a><ul> <li><a class="reference internal" href="#id1099">Process</a></li> <li><a class="reference internal" href="#id1100">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id1101">Features</a></li> <li><a class="reference internal" href="#id1102">Bug Fixes</a></li> <li><a class="reference internal" href="#id1103">Vendored Libraries</a></li> <li><a class="reference internal" href="#id1104">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v10-0-1">10.0.1 (2018-04-19)</a><ul> <li><a class="reference internal" href="#id1106">Features</a></li> <li><a class="reference internal" href="#id1107">Bug Fixes</a></li> <li><a class="reference internal" href="#id1108">Vendored Libraries</a></li> </ul> </li> <li><a class="reference internal" href="#v10-0-0">10.0.0 (2018-04-14)</a><ul> <li><a class="reference internal" href="#id1110">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#b2-2018-04-02">10.0.0b2 (2018-04-02)</a><ul> <li><a class="reference internal" href="#id1111">Bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#b1-2018-03-31">10.0.0b1 (2018-03-31)</a><ul> <li><a class="reference internal" href="#id1112">Deprecations and Removals</a></li> <li><a class="reference internal" href="#id1113">Features</a></li> <li><a class="reference internal" href="#id1114">Bug Fixes</a></li> <li><a class="reference internal" href="#id1115">Vendored Libraries</a></li> <li><a class="reference internal" href="#id1116">Improved Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#v9-0-3">9.0.3 (2018-03-21)</a></li> <li><a class="reference internal" href="#v9-0-2">9.0.2 (2018-03-16)</a></li> <li><a class="reference internal" href="#v9-0-1">9.0.1 (2016-11-06)</a></li> <li><a class="reference internal" href="#v9-0-0">9.0.0 (2016-11-02)</a></li> <li><a class="reference internal" href="#v8-1-2">8.1.2 (2016-05-10)</a></li> <li><a class="reference internal" href="#v8-1-1">8.1.1 (2016-03-17)</a></li> <li><a class="reference internal" href="#v8-1-0">8.1.0 (2016-03-05)</a></li> <li><a class="reference internal" href="#v8-0-3">8.0.3 (2016-02-25)</a></li> <li><a class="reference internal" href="#v8-0-2">8.0.2 (2016-01-21)</a></li> <li><a class="reference internal" href="#v8-0-1">8.0.1 (2016-01-21)</a></li> <li><a class="reference internal" href="#v8-0-0">8.0.0 (2016-01-19)</a></li> <li><a class="reference internal" href="#v7-1-2">7.1.2 (2015-08-22)</a></li> <li><a class="reference internal" href="#v7-1-1">7.1.1 (2015-08-20)</a></li> <li><a class="reference internal" href="#v7-1-0">7.1.0 (2015-06-30)</a></li> <li><a class="reference internal" href="#v7-0-3">7.0.3 (2015-06-01)</a></li> <li><a class="reference internal" href="#v7-0-2">7.0.2 (2015-06-01)</a></li> <li><a class="reference internal" href="#v7-0-1">7.0.1 (2015-05-22)</a></li> <li><a class="reference internal" href="#v7-0-0">7.0.0 (2015-05-21)</a></li> <li><a class="reference internal" href="#v6-1-1">6.1.1 (2015-04-07)</a></li> <li><a class="reference internal" href="#v6-1-0">6.1.0 (2015-04-07)</a></li> <li><a class="reference internal" href="#v6-0-8">6.0.8 (2015-02-04)</a></li> <li><a class="reference internal" href="#v6-0-7">6.0.7 (2015-01-28)</a></li> <li><a class="reference internal" href="#v6-0-6">6.0.6 (2015-01-03)</a></li> <li><a class="reference internal" href="#v6-0-5">6.0.5 (2015-01-03)</a></li> <li><a class="reference internal" href="#v6-0-4">6.0.4 (2015-01-03)</a></li> <li><a class="reference internal" href="#v6-0-3">6.0.3 (2014-12-23)</a></li> <li><a class="reference internal" href="#v6-0-2">6.0.2 (2014-12-23)</a></li> <li><a class="reference internal" href="#v6-0-1">6.0.1 (2014-12-22)</a></li> <li><a class="reference internal" href="#v6-0">6.0 (2014-12-22)</a></li> <li><a class="reference internal" href="#v1-5-6">1.5.6 (2014-05-16)</a></li> <li><a class="reference internal" href="#v1-5-5">1.5.5 (2014-05-03)</a></li> <li><a class="reference internal" href="#v1-5-4">1.5.4 (2014-02-21)</a></li> <li><a class="reference internal" href="#v1-5-3">1.5.3 (2014-02-20)</a></li> <li><a class="reference internal" href="#v1-5-2">1.5.2 (2014-01-26)</a></li> <li><a class="reference internal" href="#v1-5-1">1.5.1 (2014-01-20)</a></li> <li><a class="reference internal" href="#v1-5">1.5 (2014-01-01)</a></li> <li><a class="reference internal" href="#v1-4-1">1.4.1 (2013-08-07)</a></li> <li><a class="reference internal" href="#v1-4">1.4 (2013-07-23)</a></li> <li><a class="reference internal" href="#v1-3-1">1.3.1 (2013-03-08)</a></li> <li><a class="reference internal" href="#v1-3">1.3 (2013-03-07)</a></li> <li><a class="reference internal" href="#v1-2-1">1.2.1 (2012-09-06)</a></li> <li><a class="reference internal" href="#v1-2">1.2 (2012-09-01)</a></li> <li><a class="reference internal" href="#v1-1">1.1 (2012-02-16)</a></li> <li><a class="reference internal" href="#v1-0-2">1.0.2 (2011-07-16)</a></li> <li><a class="reference internal" href="#v1-0-1">1.0.1 (2011-04-30)</a></li> <li><a class="reference internal" href="#v1-0">1.0 (2011-04-04)</a></li> <li><a class="reference internal" href="#v0-8-3">0.8.3</a></li> <li><a class="reference internal" href="#v0-8-2">0.8.2</a></li> <li><a class="reference internal" href="#v0-8-1">0.8.1</a></li> <li><a class="reference internal" href="#v0-8">0.8</a></li> <li><a class="reference internal" href="#v0-7-2">0.7.2</a></li> <li><a class="reference internal" href="#v0-7-1">0.7.1</a></li> <li><a class="reference internal" href="#v0-7">0.7</a></li> <li><a class="reference internal" href="#v0-6-3">0.6.3</a></li> <li><a class="reference internal" href="#v0-6-2">0.6.2</a></li> <li><a class="reference internal" href="#v0-6-1">0.6.1</a></li> <li><a class="reference internal" href="#v0-6">0.6</a></li> <li><a class="reference internal" href="#v0-5-1">0.5.1</a></li> <li><a class="reference internal" href="#v0-5">0.5</a></li> <li><a class="reference internal" href="#v0-4">0.4</a></li> <li><a class="reference internal" href="#v0-3-1">0.3.1</a></li> <li><a class="reference internal" href="#v0-3">0.3</a></li> <li><a class="reference internal" href="#v0-2-1">0.2.1</a></li> <li><a class="reference internal" href="#v0-2">0.2</a></li> <li><a class="reference internal" href="#v0-1-4">0.1.4</a></li> <li><a class="reference internal" href="#v0-1-3">0.1.3</a></li> <li><a class="reference internal" href="#v0-1-2">0.1.2</a></li> <li><a class="reference internal" href="#v0-1-1">0.1.1</a></li> <li><a class="reference internal" href="#v0-1">0.1</a></li> </ul> </li> </ul> </div> </div> </div> </aside> </div> </div><script src="_static/documentation_options.js?v=22103397"></script> <script src="_static/doctools.js?v=9bcbadda"></script> <script src="_static/sphinx_highlight.js?v=dc90522c"></script> <script type="module" src="_static/scripts/furo.js?v=d32f1409"></script> <script src="_static/clipboard.min.js?v=66b4909c"></script> <script src="_static/copybutton.js?v=80126f2a"></script> <script src="_static/tabs.js?v=3ee01567"></script> </body> </html>