NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #44 most downloaded on PyPI
The PyPA recommended tool for installing Python packages.
Last release 1 months ago
04 Aug 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
18 years old
159 releases · first in 2008
Revert "Skip candidate not providing valid metadata", as that caused pip to be overeager about downloading from the package index. (#9264 _)
Revert "Skip candidate not providing valid metadata", as that caused pip to be overeager about downloading from the package index. (#9264)
New resolver: Resolve direct and pinned (== or ===) requirements first to improve resolver performance. (#9185 _)
New resolver: Resolve direct and pinned (== or ===) requirements first to improve resolver performance. (#9185)
Add a mechanism to delay resolving certain packages, and use it for setuptools. (#9249)
New resolver: The "Requirement already satisfied" log is not printed only once for each package during resolution. (#9117)
Fix crash when logic for redacting authentication information from URLs in --help is given a list of strings, instead of a single string. (#9191)
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. (#9203)
New resolver: Make constraints also apply to package variants with extras, so the resolver correctly avoids backtracking on them. (#9232)
New resolver: Discard a candidate if it fails to provide metadata from source, or if the provided metadata is inconsistent, instead of quitting outright. (#9246)
Update vendoring to 20.8
Update documentation to reflect that pip still uses legacy resolver by default in Python 2 environments. (#9269)
One column per quarter.
The --build-dir option has been restored as a no-op, to soften the transition for tools that still used it. (#9193 _)
The --build-dir option has been restored as a no-op, to soften the transition for tools that still used it. (#9193)
Remove --unstable-feature flag as it has been deprecated. (#9133 _)
Remove --unstable-feature flag as it has been deprecated. (#9133)
Add support for 600: Future 'manylinux' Platform Tags for Portable Linux Built Distributions. (#9077)
The new resolver now resolves packages in a deterministic order. (#9100)
Add support for MacOS Big Sur compatibility tags. (#9138)
New Resolver: Rework backtracking and state management, to avoid getting stuck in an infinite loop. (#9011)
New resolver: Check version equality with packaging.version to avoid edge cases if a wheel used different version normalization logic in its filename and metadata. (#9083)
New resolver: Show each requirement in the conflict error message only once to reduce cluttering. (#9101)
Fix a regression that made pip wheel generate zip files of editable requirements in the wheel directory. (#9122)
Fix ResourceWarning in VCS subprocesses (#9156)
Redact auth from URL in help message. (#9160)
New Resolver: editable installations are done, regardless of whether the already-installed distribution is editable. (#9169)
Upgrade certifi to 2020.11.8
Upgrade colorama to 0.4.4
Upgrade packaging to 20.7
Upgrade pep517 to 0.9.1
Upgrade requests to 2.25.0
Upgrade resolvelib to 0.5.3
Upgrade toml to 0.10.2
Upgrade urllib3 to 1.26.2
Deprecate support for Python 3.5 (#8181 _)
pip freeze will stop filtering the pip, setuptools, distribute and wheel packages from pip freeze output in a future version. To keep the previous behavior, users should use the new --exclude option. (#4256)
Deprecate support for Python 3.5 (#8181)
Document that certain removals can be fast tracked. (#8417)
Document that Python versions are generally supported until PyPI usage falls below 5%. (#8927)
Deprecate --find-links option in pip freeze (#9069)
Add --exclude option to pip freeze and pip list commands to explicitly exclude packages from the output. (#4256)
Allow multiple values for --abi and --platform. (#6121)
Add option --format to subcommand list of pip cache, with abspath choice to output the full path of a wheel file. (#8355)
Improve error message friendliness when an environment has packages with corrupted metadata. (#8676)
Make the setup.py install deprecation warning less noisy. We warn only when setup.py install succeeded and setup.py bdist_wheel failed, as situations where both fails are most probably irrelevant to this deprecation. (#8752)
Check the download directory for existing wheels to possibly avoid fetching metadata when the fast-deps feature is used with pip wheel and pip download. (#8804)
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. (#8815)
Include http subdirectory in pip cache info and pip cache purge commands. (#8892)
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. (#8905)
New resolver: Tweak resolution logic to improve user experience when user-supplied requirements conflict. (#8924)
Support Python 3.9. (#8971)
Log an informational message when backtracking takes multiple rounds on a specific package. (#8975)
Switch to the new dependency resolver by default. (#9019)
Remove the --build-dir option, as per the deprecation. (#9049)
Propagate --extra-index-url from requirements file properly to session auth, so that keyring auth will work as expected. (#8103)
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. (#8578)
Only converts Windows path to unicode on Python 2 to avoid regressions when a POSIX environment does not configure the file system encoding correctly. (#8658)
List downloaded distributions before exiting pip download when using the new resolver to make the behavior the same as that on the legacy resolver. (#8696)
New resolver: Pick up hash declarations in constraints files and use them to filter available distributions. (#8792)
Avoid polluting the destination directory by resolution artifacts when the new resolver is used for pip download or pip wheel. (#8827)
New resolver: If a package appears multiple times in user specification with different --hash options, only hashes that present in all specifications should be allowed. (#8839)
Tweak the output during dependency resolution in the new resolver. (#8861)
Correctly search for installed distributions in new resolver logic in order to not miss packages (virtualenv packages from system-wide-packages for example) (#8963)
Do not fail in pip freeze when encountering a direct_url.json metadata file with editable=True. Render it as a non-editable file:// URL until modern editable installs are standardized and supported. (#8996)
Fix devendoring instructions to explicitly state that vendor.txt should not be removed. It is mandatory for pip debug command.
Add documentation for '.netrc' support. (#7231)
Add OS tabs for OS-specific commands. (#7311)
Add note and example on keyring support for index basic-auth (#8636)
Add ux documentation (#8807)
Update user docs to reflect new resolver as default in 20.3. (#9044)
Improve migration guide to reflect changes in new resolver behavior. (#9056)
Document that certain removals can be fast tracked. (#8417 _)
Document that certain removals can be fast tracked. (#8417)
Document that Python versions are generally supported until PyPI usage falls below 5%. (#8927)
New resolver: Avoid accessing indexes when the installed candidate is preferred and considered good enough. (#8023)
Improve error message friendliness when an environment has packages with corrupted metadata. (#8676)
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. (#8905)
New resolver: Tweak resolution logic to improve user experience when user-supplied requirements conflict. (#8924)
New resolver: Correctly respect Requires-Python metadata to reject incompatible packages in --no-deps mode. (#8758)
New resolver: Pick up hash declarations in constraints files and use them to filter available distributions. (#8792)
New resolver: If a package appears multiple times in user specification with different --hash options, only hashes that present in all specifications should be allowed. (#8839)
Add ux documentation (#8807)
Deprecate support for Python 3.5 (#8181 _)
Deprecate support for Python 3.5 (#8181)
Make the setup.py install deprecation warning less noisy. We warn only when setup.py install succeeded and setup.py bdist_wheel failed, as situations where both fails are most probably irrelevant to this deprecation. (#8752)
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 cann
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. (#8090)
Fix regression that distributions in system site-packages are not correctly found when a virtual environment is configured with system-site-packages on. (#8695)
Disable caching for range requests, which causes corrupted wheels when pip tries to obtain metadata using the feature fast-deps. (#8701, #8716)
Always use UTF-8 to read pyvenv.cfg to match the built-in venv. (#8717)
2020 Resolver: Correctly handle marker evaluation in constraints and exclude them if their markers do not match the current environment. (#8724)
Add details on old resolver deprecation and removal to migration documentation. (#8371 _)
Ignore require-virtualenv in pip list (#8603)
Correctly find already-installed distributions with dot (.) in the name and uninstall them when needed. (#8645)
Trace a better error message on installation failure due to invalid .data files in wheels. (#8654)
Fix SVN version detection for alternative SVN distributions. (#8665)
New resolver: Correctly include the base package when specified with extras in --no-deps mode. (#8677)
Use UTF-8 to handle ZIP archive entries on Python 2 according to PEP 427, so non-ASCII paths can be resolved as expected. (#8684)
Deprecate setup.py-based builds that do not generate an .egg-info directory. (#6998 _, #8617 _)
Deprecate setup.py-based builds that do not generate an .egg-info directory. (#6998, #8617)
Disallow passing install-location-related arguments in --install-options. (#7309)
Add deprecation warning for invalid requirements format "base>=1.0[extra]" (#8288)
Deprecate legacy setup.py install when building a wheel failed for source distributions without pyproject.toml (#8368)
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. (#8372)
Remove undocumented and deprecated option --always-unzip (#8408)
Log debugging information about pip, in pip install --verbose. (#3166)
Refine error messages to avoid showing Python tracebacks when an HTTP error occurs. (#5380)
Install wheel files directly instead of extracting them to a temp directory. (#6030)
Add a beta version of pip's next-generation dependency resolver.
Move pip's new resolver into beta, remove the --unstable-feature=resolver flag, and enable the --use-feature=2020-resolver flag. The new resolver is significantly stricter and more consistent when it receives incompatible instructions, and reduces support for certain kinds of Constraints Files, so some workarounds and workflows may break. More details about how to test and migrate, and how to report issues, at Resolver changes 2020 . Maintainers are preparing to release pip 20.3, with the new resolver on by default, in October. (#6536)
Introduce a new ResolutionImpossible error, raised when pip encounters un-satisfiable dependency conflicts (#8546, #8377)
Add a subcommand debug to pip config to list available configuration sources and the key-value pairs defined in them. (#6741)
Warn if index pages have unexpected content-type (#6754)
Allow specifying --prefer-binary option in a requirements file (#7693)
Generate PEP 376 REQUESTED metadata for user supplied requirements installed by pip. (#7811)
Warn if package url is a vcs or an archive url with invalid scheme (#8128)
Parallelize network operations in pip list. (#8504)
Allow the new resolver to obtain dependency information through wheels lazily downloaded using HTTP range requests. To enable this feature, invoke pip with --use-feature=fast-deps. (#8588)
Support --use-feature in requirements files (#8601)
Use canonical package names while looking up already installed packages. (#5021)
Fix normalizing path on Windows when installing package on another logical disk. (#7625)
The VCS commands run by pip as subprocesses don't merge stdout and stderr anymore, improving the output parsing by subsequent commands. (#7968)
Correctly treat non-ASCII entry point declarations in wheels so they can be installed on Windows. (#8342)
Update author email in config and tests to reflect decommissioning of pypa-dev list. (#8454)
Headers provided by wheels in .data directories are now correctly installed into the user-provided locations, such as --prefix, instead of the virtual environment pip is running in. (#8521)
Vendored htmlib5 no longer imports deprecated xml.etree.cElementTree on Python 3.
Upgrade appdirs to 1.4.4
Upgrade certifi to 2020.6.20
Upgrade distlib to 0.3.1
Upgrade html5lib to 1.1
Upgrade idna to 2.10
Upgrade packaging to 20.4
Upgrade requests to 2.24.0
Upgrade six to 1.15.0
Upgrade toml to 0.10.1
Upgrade urllib3 to 1.25.9
Add --no-input option to pip docs (#7688)
List of options supported in requirements file are extracted from source of truth, instead of being maintained manually. (#7908)
Fix pip config docstring so that the subcommands render correctly in the docs (#8072)
replace links to the old pypa-dev mailing list with https://mail.python.org/mailman3/lists/distutils-sig.python.org/ (#8353)
Fix example for defining multiple values for options which support them (#8373)
Add documentation for the ResolutionImpossible error that helps the user fix dependency conflicts (#8459)
Add feature flags to docs (#8512)
Document how to install package extras from git branch and source distributions. (#8576)
Correctly treat wheels containing non-ASCII file contents so they can be installed on Windows. (#5712 _)
Revert building of local directories in place, restoring the pre-20.1 behaviour of copying to a temporary directory. (#7555 _)
Document that pip 21.0 will drop support for Python 2.7.
Document that pip 21.0 will drop support for Python 2.7.
Add pip cache dir to show the cache directory. (#7350)
Remove deprecated --skip-requirements-regex option. (#7297 _)
Remove emails from AUTHORS.txt to prevent usage for spamming, and only populate names in AUTHORS.txt at time of release (#5979)
Remove deprecated --skip-requirements-regex option. (#7297)
Building of local directories is now done in place, instead of a temporary location containing a copy of the directory tree. (#7555)
Remove unused tests/scripts/test_all_pip.py test script and the tests/scripts folder. (#7680)
pip now implements PEP 610, so pip freeze has better fidelity in presence of distributions installed from Direct URL requirements. (#609)
Add pip cache command for inspecting/managing pip's wheel cache. (#6391)
Raise error if --user and --target are used together in pip install (#7249)
Significantly improve performance when --find-links points to a very large HTML page. (#7729)
Indicate when wheel building is skipped, due to lack of the wheel package. (#7768)
Change default behaviour to always cache responses from trusted-host source. (#7847)
An alpha version of a new resolver is available via --unstable-feature=resolver. (#988)
Correctly freeze a VCS editable package when it is nested inside another VCS repository. (#3988)
Correctly handle %2F in URL parameters to avoid accidentally unescape them into /. (#6446)
Reject VCS URLs with an empty revision. (#7402)
Warn when an invalid URL is passed with --index-url (#7430)
Use better mechanism for handling temporary files, when recording metadata about installed files (RECORD) and the installer (INSTALLER). (#7699)
Correctly detect global site-packages availability of virtual environments created by PyPA’s virtualenv>=20.0. (#7718)
Remove current directory from sys.path when invoked as python -m pip <command> (#7731)
Stop failing uninstallation, when trying to remove non-existent files. (#7856)
Prevent an infinite recursion with pip wheel when $TMPDIR is within the source directory. (#7872)
Significantly speedup pip list --outdated by parallelizing index interaction. (#7962)
Improve Windows compatibility when detecting writability in folder. (#8013)
Update semi-supported debundling script to reflect that appdirs is vendored.
Add ResolveLib as a vendored dependency.
Upgrade certifi to 2020.04.05.1
Upgrade contextlib2 to 0.6.0.post1
Upgrade distro to 1.5.0.
Upgrade idna to 2.9.
Upgrade msgpack to 1.0.0.
Upgrade packaging to 20.3.
Upgrade pep517 to 0.8.2.
Upgrade pyparsing to 2.4.7.
Remove pytoml as a vendored dependency.
Upgrade requests to 2.23.0.
Add toml as a vendored dependency.
Upgrade urllib3 to 1.25.8.
Emphasize that VCS URLs using git, git+git and git+http are insecure due to lack of authentication and encryption (#1983)
Clarify the usage of --no-binary command. (#3191)
Clarify the usage of freeze command in the example of Using pip in your program (#7008)
Add a "Copyright" page. (#7767)
Added example of defining multiple values for options which support them (#7803)
Fix a regression in generation of compatibility tags. (#7626 _)
Fix a regression in generation of compatibility tags. (#7626)
Upgrade packaging to 20.1
Rename an internal module, to avoid ImportErrors due to improper uninstallation. (#7621 _)
Rename an internal module, to avoid ImportErrors due to improper uninstallation. (#7621)
Deprecate setup.py-based builds that do not generate an .egg-info directory. (#6998 _)
Switch to a dedicated CLI tool for vendoring dependencies.
Remove wheel tag calculation from pip and use packaging.tags. This should provide more tags ordered better than in prior releases. (#6908)
Deprecate setup.py-based builds that do not generate an .egg-info directory. (#6998)
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. (#7296)
Deprecate undocumented --skip-requirements-regex option. (#7297)
Deprecate passing install-location-related options via --install-option. (#7309)
Use literal "abi3" for wheel tag on CPython 3.x, to align with PEP 384 which only defines it for this platform. (#7327)
Remove interpreter-specific major version tag e.g. cp3-none-any from consideration. This behavior was not documented strictly, and this tag in particular is not useful. Anyone with a use case can create an issue with pypa/packaging. (#7355)
Wheel processing no longer permits wheels containing more than one top-level .dist-info directory. (#7487)
Support for the git+git@ form of VCS requirement is being deprecated and will be removed in pip 21.0. Switch to git+https:// or git+ssh://. git+git:// also works but its use is discouraged as it is insecure. (#7543)
Default to doing a user install (as if --user was passed) when the main site-packages directory is not writeable and user site-packages are enabled. (#1668)
Warn if a path in PATH starts with tilde during pip install. (#6414)
Cache wheels built from Git requirements that are considered immutable, because they point to a commit hash. (#6640)
Add option --no-python-version-warning to silence warnings related to deprecation of Python versions. (#6673)
Cache wheels that pip wheel built locally, matching what pip install does. This particularly helps performance in workflows where pip wheel is used for building before installing. Users desiring the original behavior can use pip wheel --no-cache-dir. (#6852)
Display CA information in pip debug. (#7146)
Show only the filename (instead of full URL), when downloading from PyPI. (#7225)
Suggest a more robust command to upgrade pip itself to avoid confusion when the current pip command is not available as pip. (#7376)
Define all old pip console script entrypoints to prevent import issues in stale wrapper scripts. (#7498)
The build step of pip wheel 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. (#7517)
Expand ~ 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:
--find-links
--constraint, -c
--requirement, -r
--editable, -e (#980)
Correctly handle system site-packages, in virtual environments created with venv (PEP 405). (#5702, #7155)
Fix case sensitive comparison of pip freeze when used with -r option. (#5716)
Enforce PEP 508 requirement format in pyproject.toml build-system.requires. (#6410)
Make ensure_dir() also ignore ENOTEMPTY as seen on Windows. (#6426)
Fix building packages which specify backend-path in pyproject.toml. (#6599)
Do not attempt to run setup.py clean after a pep517 build error, since a setup.py may not exist in that case. (#6642)
Fix passwords being visible in the index-url in "Downloading <url>" message. (#6783)
Change method from shutil.remove to shutil.rmtree in noxfile.py. (#7191)
Skip running tests which require subversion, when svn isn't installed (#7193)
Fix not sending client certificates when using --trusted-host. (#7207)
Make sure pip wheel never outputs pure python wheels with a python implementation tag. Better fix/workaround for #3025 by using a per-implementation wheel cache instead of caching pure python wheels with an implementation tag in their name. (#7296)
Include subdirectory URL fragments in cache keys. (#7333)
Fix typo in warning message when any of --build-option, --global-option and --install-option is used in requirements.txt (#7340)
Fix the logging of cached HTTP response shown as downloading. (#7393)
Effectively disable the wheel cache when it is not writable, as is the case with the http cache. (#7488)
Correctly handle relative cache directory provided via --cache-dir. (#7541)
Upgrade CacheControl to 0.12.5
Upgrade certifi to 2019.9.11
Upgrade colorama to 0.4.1
Upgrade distlib to 0.2.9.post0
Upgrade ipaddress to 1.0.22
Update packaging to 20.0.
Upgrade pkg_resources (via setuptools) to 44.0.0
Upgrade pyparsing to 2.4.2
Upgrade six to 1.12.0
Upgrade urllib3 to 1.25.6
Document that "coding: utf-8" is supported in requirements.txt (#7182)
Explain how to get pip's source code in Getting Started (#7197)
Describe how basic authentication credentials in URLs work. (#7201)
Add more clear installation instructions (#7222)
Fix documentation links for index options (#7347)
Better document the requirements file format (#7385)
Document Python 3.8 support. (#7219 _)
Remove the deprecated --venv option from pip config. (#7163 _)
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 svn+ (which is backwards-compatible). (#7037)
Remove the deprecated --venv option from pip config. (#7163)
Print a better error message when --no-binary or --only-binary is given an argument starting with -. (#3191)
Make pip show warn about packages not found. (#6858)
Support including a port number in --trusted-host for both HTTP and HTTPS. (#6886)
Redact single-part login credentials from URLs in log messages. (#6891)
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 PEP599. (#7102)
Abort installation if any archive contains a file which would be placed outside the extraction location. (#3907)
pip's CLI completion code no longer prints a Traceback if it is interrupted. (#3942)
Correct inconsistency related to the hg+file scheme. (#4358)
Fix rmtree_errorhandler to skip non-existing directories. (#4910)
Ignore errors copying socket files for local source installs (in Python 3). (#5306)
Fix requirement line parser to correctly handle PEP 440 requirements with a URL pointing to an archive file. (#6202)
The pip-wheel-metadata directory does not need to persist between invocations of pip, use a temporary directory instead of the current setup.py directory. (#6213)
Fix --trusted-host processing under HTTPS to trust any port number used with the host. (#6705)
Switch to new distlib wheel script template. This should be functionally equivalent for end users. (#6763)
Skip copying .tox and .nox directories to temporary build directories (#6770)
Fix handling of tokens (single part credentials) in URLs. (#6795)
Fix a regression that caused ~ expansion not to occur in --find-links paths. (#6804)
Fix bypassed pip upgrade warning on Windows. (#6841)
Fix 'm' flag erroneously being appended to ABI tag in Python 3.8 on platforms that do not provide SOABI (#6885)
Hide security-sensitive strings like passwords in log messages related to version control system (aka VCS) command invocations. (#6890)
Correctly uninstall symlinks that were installed in a virtualenv, by tools such as flit install --symlink. (#6892)
Don't fail installation using pip.exe on Windows when pip wouldn't be upgraded. (#6924)
Use canonical distribution names when computing Required-By in pip show. (#6947)
Don't use hardlinks for locking selfcheck state file. (#6954)
Ignore "require_virtualenv" in pip config (#6991)
Fix pip freeze not showing correct entry for mercurial packages that use subdirectories. (#7071)
Fix a crash when sys.stdin is set to None, such as on AWS Lambda. (#7118, #7119)
Upgrade certifi to 2019.9.11
Add contextlib2 0.6.0 as a vendored dependency.
Remove Lockfile as a vendored dependency.
Upgrade msgpack to 0.6.2
Upgrade packaging to 19.2
Upgrade pep517 to 0.7.0
Upgrade pyparsing to 2.4.2
Upgrade pytoml to 0.1.21
Upgrade setuptools to 41.4.0
Upgrade urllib3 to 1.25.6
Fix 'm' flag erroneously being appended to ABI tag in Python 3.8 on platforms that do not provide SOABI (#6885 _)
Fix 'm' flag erroneously being appended to ABI tag in Python 3.8 on platforms that do not provide SOABI (#6885)
Fix handling of tokens (single part credentials) in URLs. (#6795 _)
Fix a NoneType AttributeError when evaluating hashes and no hashes are provided. (#6772 _)
Fix a NoneType AttributeError when evaluating hashes and no hashes are provided. (#6772)
Improve deprecation messages to include the version in which the functionality will be removed. (#6549 _)
Drop support for EOL Python 3.4. (#6685)
Improve deprecation messages to include the version in which the functionality will be removed. (#6549)
Credentials will now be loaded using keyring when installed. (#5948)
Fully support using --trusted-host inside requirements files. (#3799)
Update timestamps in pip's --log file to include milliseconds. (#6587)
Respect whether a file has been marked as "yanked" from a simple repository (see PEP 592 for details). (#6633)
When choosing candidates to install, prefer candidates with a hash matching one of the user-provided hashes. (#5874)
Improve the error message when METADATA or PKG-INFO is None when accessing metadata. (#5082)
Add a new command pip debug that can display e.g. the list of compatible tags for the current Python. (#6638)
Display hint on installing with --pre when search results include pre-release versions. (#5169)
Report to Warehouse that pip is running under CI if the PIP_IS_CI environment variable is set. (#5499)
Allow --python-version to be passed as a dotted version string (e.g. 3.7 or 3.7.3). (#6585)
Log the final filename and SHA256 of a .whl file when done building a wheel. (#5908)
Include the wheel's tags in the log message explanation when a candidate wheel link is found incompatible. (#6121)
Add a --path argument to pip freeze to support --target installations. (#6404)
Add a --path argument to pip list to support --target installations. (#6551)
Set sys.argv[0] to the underlying setup.py when invoking setup.py via the setuptools shim so setuptools doesn't think the path is -c. (#1890)
Update pip download to respect the given --python-version when checking "Requires-Python". (#5369)
Respect --global-option and --install-option when installing from a version control url (e.g. git). (#5518)
Make the "ascii" progress bar really be "ascii" and not Unicode. (#5671)
Fail elegantly when trying to set an incorrectly formatted key in config. (#5963)
Prevent DistutilsOptionError when prefix is indicated in the global environment and --target is used. (#6008)
Fix pip install to respect --ignore-requires-python when evaluating links. (#6371)
Fix a debug log message when freezing an editable, non-version controlled requirement. (#6383)
Extend to Subversion 1.8+ the behavior of calling Subversion in interactive mode when pip is run interactively. (#6386)
Prevent pip install <url> from permitting directory traversal if e.g. a malicious server sends a Content-Disposition header with a filename containing ../ or ..\\. (#6413)
Hide passwords in output when using --find-links. (#6489)
Include more details in the log message if pip freeze can't generate a requirement string for a particular distribution. (#6513)
Add the line number and file location to the error message when reading an invalid requirements file in certain situations. (#6527)
Prefer os.confstr to ctypes when extracting glibc version info. (#6543, #6675)
Improve error message printed when an invalid editable requirement is provided. (#6648)
Improve error message formatting when a command errors out in a subprocess. (#6651)
Upgrade certifi to 2019.6.16
Upgrade distlib to 0.2.9.post0
Upgrade msgpack to 0.6.1
Upgrade requests to 2.22.0
Upgrade urllib3 to 1.25.3
Patch vendored html5lib, to prefer using collections.abc where possible.
Document how Python 2.7 support will be maintained. (#6726)
Upgrade Sphinx version used to build documentation. (#6471)
Fix generation of subcommand manpages. (#6724)
Mention that pip can install from git refs. (#6512)
Replace a failing example of pip installs with extras with a working one. (#4733)
Restore pyproject.toml handling to how it was with pip 19.0.3 to prevent the need to add --no-use-pep517 when installing in editable mode. (#6434 _)
Restore pyproject.toml handling to how it was with pip 19.0.3 to prevent the need to add --no-use-pep517 when installing in editable mode. (#6434)
Fix a regression that caused @ to be quoted in pypiserver links. This interfered with parsing the revision string from VCS urls. (#6440)
Configuration files may now also be stored under sys.prefix (#5060 _)
Configuration files may now also be stored under sys.prefix (#5060)
Avoid creating an unnecessary local clone of a Bazaar branch when exporting. (#5443)
Include in pip's User-Agent string whether it looks like pip is running under CI. (#5499)
A custom (JSON-encoded) string can now be added to pip's User-Agent using the PIP_USER_AGENT_USER_DATA environment variable. (#5549)
For consistency, passing --no-cache-dir no longer affects whether wheels will be built. In this case, a temporary directory is used. (#5749)
Command arguments in subprocess log messages are now quoted using shlex.quote(). (#6290)
Prefix warning and error messages in log output with WARNING and ERROR. (#6298)
Using --build-options in a PEP 517 build now fails with an error, rather than silently ignoring the option. (#6305)
Error out with an informative message if one tries to install a pyproject.toml-style (PEP 517) source tree using --editable mode. (#6314)
When downloading a package, the ETA and average speed now only update once per second for better legibility. (#6319)
The stdout and stderr from VCS commands run by pip as subprocesses (e.g. git, hg, etc.) no longer pollute pip's stdout. (#1219)
Fix handling of requests exceptions when dependencies are debundled. (#4195)
Make pip's self version check avoid recommending upgrades to prereleases if the currently-installed version is stable. (#5175)
Fixed crash when installing a requirement from a URL that comes from a dependency without a URL. (#5889)
Improve handling of file URIs: correctly handle file://localhost/... and don't try to use UNC paths on Unix. (#5892)
Fix utils.encoding.auto_decode() LookupError with invalid encodings. utils.encoding.auto_decode() was broken when decoding Big Endian BOM byte-strings on Little Endian or vice versa. (#6054)
Fix incorrect URL quoting of IPv6 addresses. (#6285)
Redact the password from the extra index URL when using pip -v. (#6295)
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. (#6312)
Fix the handling of editable mode during installs when pyproject.toml is present but PEP 517 doesn't require the source tree to be treated as pyproject.toml-style. (#6370)
Fix NameError when handling an invalid requirement. (#6419)
Updated certifi to 2019.3.9
Updated distro to 1.4.0
Update progress to 1.5
Updated pyparsing to 2.4.0
Updated pkg_resources to 41.0.1 (via setuptools)
Make dashes render correctly when displaying long options like --find-links in the text. (#6422)
Fix an IndexError crash when a legacy build of a wheel fails. (#6252 _)
Fix a crash where PEP 517-based builds using --no-cache-dir would fail in some circumstances with an AssertionError due to not finalizing a build dire
Fix a crash where PEP 517-based builds using --no-cache-dir would fail in some circumstances with an AssertionError due to not finalizing a build directory internally. (#6197)
Provide a better error message if attempting an editable install of a directory with a pyproject.toml but no setup.py. (#6170)
The implicit default backend used for projects that provide a pyproject.toml file without explicitly specifying build-backend now behaves more like direct execution of setup.py, and hence should restore compatibility with projects that were unable to be installed with pip 19.0. This raised the minimum required version of setuptools for such builds to 40.8.0. (#6163)
Allow RECORD lines with more than three elements, and display a warning. (#6165)
AdjacentTempDirectory fails on unwritable directory instead of locking up the uninstall command. (#6169)
Make failed uninstalls roll back more reliably and better at avoiding naming conflicts. (#6194)
Ensure the correct wheel file is copied when building PEP 517 distribution is built. (#6196)
The Python 2 end of life warning now only shows on CPython, which is the implementation that has announced end of life plans. (#6207)
Re-write README and documentation index (#5815)
Fix a crash when using --no-cache-dir with PEP 517 distributions (#6158 _, #6171 _)
Deprecate support for Python 3.4 (#6106 _)
Deprecate support for Python 3.4 (#6106)
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. (#6148)
Remove the deprecated --process-dependency-links option. (#6060)
Remove the deprecated SVN editable detection based on dependency links during freeze. (#5866)
Implement PEP 517 (allow projects to specify a build backend via pyproject.toml). (#5743)
Implement manylinux2010 platform tag support. manylinux2010 is the successor to manylinux1. It allows carefully compiled binary wheels to be installed on compatible Linux platforms. (#5008)
Improve build isolation: handle .pth files, so namespace packages are correctly supported under Python 3.2 and earlier. (#5656)
Include the package name in a freeze warning if the package is not installed. (#5943)
Warn when dropping an --[extra-]index-url value that points to an existing local directory. (#5827)
Prefix pip's --log file lines with their timestamp. (#6141)
Avoid creating excessively long temporary paths when uninstalling packages. (#3055)
Redact the password from the URL in various log messages. (#4746, #6124)
Avoid creating excessively long temporary paths when uninstalling packages. (#3055)
Avoid printing a stack trace when given an invalid requirement. (#5147)
Present 401 warning if username/password do not work for URL (#4833)
Handle requests.exceptions.RetryError raised in PackageFinder that was causing pip to fail silently when some indexes were unreachable. (#5270, #5483)
Handle a broken stdout pipe more gracefully (e.g. when running pip list | head). (#4170)
Fix crash from setting PIP_NO_CACHE_DIR=yes. (#5385)
Fix crash from unparsable requirements when checking installed packages. (#5839)
Fix content type detection if a directory named like an archive is used as a package source. (#5838)
Fix listing of outdated packages that are not dependencies of installed packages in pip list --outdated --not-required (#5737)
Fix sorting TypeError in move_wheel_files() when installing some packages. (#5868)
Fix support for invoking pip using python src/pip .... (#5841)
Greatly reduce memory usage when installing wheels containing large files. (#5848)
Editable non-VCS installs now freeze as editable. (#5031)
Editable Git installs without a remote now freeze as editable. (#4759)
Canonicalize sdist file names so they can be matched to a canonicalized package name passed to pip install. (#5870)
Properly decode special characters in SVN URL credentials. (#5968)
Make PIP_NO_CACHE_DIR disable the cache also for truthy values like "true", "yes", "1", etc. (#5735)
Include license text of vendored 3rd party libraries. (#5213)
Update certifi to 2018.11.29
Update colorama to 0.4.1
Update distlib to 0.2.8
Update idna to 2.8
Update packaging to 19.0
Update pep517 to 0.5.0
Update pkg_resources to 40.6.3 (via setuptools)
Update pyparsing to 2.3.1
Update pytoml to 0.1.20
Update requests to 2.21.0
Update six to 1.12.0
Update urllib3 to 1.24.1
Allow PEP 508 URL requirements to be used as dependencies.
Allow PEP 508 URL requirements to be used as dependencies.
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. (#4187)
Allows dist options (--abi, --python-version, --platform, --implementation) when installing with --target (#5355)
Support passing svn+ssh URLs with a username to pip install -e. (#5375)
pip now ensures that the RECORD file is sorted when installing from a wheel file. (#5525)
Add support for Python 3.7. (#5561)
Malformed configuration files now show helpful error messages, instead of tracebacks. (#5798)
Checkout the correct branch when doing an editable Git install. (#2037)
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. (#5433)
Allow a Git ref to be installed over an existing installation. (#5624)
Show a better error message when a configuration option has an invalid value. (#5644)
Always revalidate cached simple API pages instead of blindly caching them for up to 10 minutes. (#5670)
Avoid caching self-version-check information when cache is disabled. (#5679)
Avoid traceback printing on autocomplete after flags in the CLI. (#5751)
Fix incorrect parsing of egg names if pip needs to guess the package name. (#5819)
Upgrade certifi to 2018.8.24
Upgrade packaging to 18.0
Upgrade pyparsing to 2.2.1
Add pep517 version 0.2
Upgrade pytoml to 0.1.19
Upgrade pkg_resources to 40.4.3 (via setuptools)
Fix "Requirements Files" reference in User Guide (#user_guide_fix_requirements_file_ref)
Formally document our deprecation process as a minimum of 6 months of deprecation warnings.
Switch to a Calendar based versioning scheme.
Formally document our deprecation process as a minimum of 6 months of deprecation warnings.
Adopt and document NEWS fragment writing style.
Switch to releasing a new, non-bug fix version of pip every 3 months.
Remove the legacy format from pip list. (#3651, #3654)
Dropped support for Python 3.3. (#3796)
Remove support for cleaning up #egg fragment postfixes. (#4174)
Remove the shim for the old get-pip.py location. (#5520)
For the past 2 years, it's only been redirecting users to use the newer https://bootstrap.pypa.io/get-pip.py location.
Introduce a new --prefer-binary flag, to prefer older wheels over newer source packages. (#3785)
Improve autocompletion function on file name completion after options which have <file>, <dir> or <path> as metavar. (#4842, #5125)
Add support for installing PEP 518 build dependencies from source. (#5229)
Improve status message when upgrade is skipped due to only-if-needed strategy. (#5319)
Update pip's self-check logic to not use a virtualenv specific file and honor cache-dir. (#3905)
Remove compiled pyo files for wheel packages. (#4471)
Speed up printing of newly installed package versions. (#5127)
Restrict install time dependency warnings to directly-dependant packages. (#5196, #5457)
Warning about the entire package set has resulted in users getting confused as to why pip is printing these warnings.
Improve handling of PEP 518 build requirements: support environment markers and extras. (#5230, #5265)
Remove username/password from log message when using index with basic auth. (#5249)
Remove trailing os.sep from PATH directories to avoid false negatives. (#5293)
Fix "pip wheel pip" being blocked by the "don't use pip to modify itself" check. (#5311, #5312)
Disable pip's version check (and upgrade message) when installed by a different package manager. (#5346)
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.
Check for file existence and unlink first when clobbering existing files during a wheel install. (#5366)
Improve error message to be more specific when no files are found as listed in as listed in PKG-INFO. (#5381)
Always read pyproject.toml as UTF-8. This fixes Unicode handling on Windows and Python 2. (#5482)
Fix a crash that occurs when PATH not set, while generating script location warning. (#5558)
Disallow packages with pyproject.toml files that have an empty build-system table. (#5627)
Update CacheControl to 0.12.5.
Update certifi to 2018.4.16.
Update distro to 1.3.0.
Update idna to 2.7.
Update ipaddress to 1.0.22.
Update pkg_resources to 39.2.0 (via setuptools).
Update progress to 1.4.
Update pytoml to 0.1.16.
Update requests to 2.19.1.
Update urllib3 to 1.23.
Document how to use pip with a proxy server. (#512, #5574)
Document that the output of pip show is in RFC-compliant mail header format. (#5261)
Switch the default repository to the new "PyPI 2.0" running at https://pypi.org/.
Switch the default repository to the new "PyPI 2.0" running at https://pypi.org/. (#5214)
Fix a bug that made get-pip.py unusable on Windows without renaming. (#5219)
Fix a TypeError when loading the cache on older versions of Python 2.7. (#5231)
Fix and improve error message when EnvironmentError occurs during installation. (#5237)
A crash when reinstalling from VCS requirements has been fixed. (#5251)
Fix PEP 518 support when pip is installed in the user site. (#5524)
Upgrade distlib to 0.2.7
Prevent false-positive installation warnings due to incomplete name normalization.
Prevent false-positive installation warnings due to incomplete name normalization. (#5134)
Fix issue where installing from Git with a short SHA would fail. (#5140)
Accept pre-release versions when checking for conflicts with pip check or pip install. (#5141)
ioctl(fd, termios.TIOCGWINSZ, ...) needs 8 bytes of data (#5150)
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)
Fix PEP 518 support. (#5188)
Don't warn about script locations if --target is specified. (#5203)
Fixed line endings in CA Bundle - 10.0.0b1 was inadvertently released with Windows line endings.
Fixed line endings in CA Bundle - 10.0.0b1 was inadvertently released with Windows line endings. (#5131)
Removed the deprecated --egg parameter to pip install.
Removed the deprecated --egg parameter to pip install. (#1749)
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 actually uninstall them rather than just remove the metadata saying they've been installed while leaving all of the actual files behind. (#2386)
Removed the deprecated --download option to pip install. (#2643)
Removed the deprecated --(no-)use-wheel flags to pip install and pip wheel. (#2699)
Removed the deprecated --allow-external, --allow-all-external, and --allow-unverified options. (#3070)
Switch the default for pip list to the columns format, and deprecate the legacy format. (#3654, #3686)
Deprecate support for Python 3.3. (#3796)
Removed the deprecated --default-vcs option. (#4052)
Removed the setup.py test support from our sdist as it wasn't being maintained as a supported means to run our tests. (#4203)
Dropped support for Python 2.6. (#4343)
Removed the --editable flag from pip download, as it did not make sense (#4362)
Deprecate SVN detection based on dependency links in pip freeze. (#4449)
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)
Add --progress-bar <progress_bar> to pip download, pip install and pip wheel commands, to allow selecting a specific progress indicator or, to completely suppress, (for example in a CI environment) use --progress-bar off`. (#2369, #2756)
Add --no-color to pip. All colored output is disabled if this flag is detected. (#2449)
pip uninstall now ignores the absence of a requirement and prints a warning. (#3016, #4642)
Improved the memory and disk efficiency of the HTTP cache. (#3515)
Support for packages specifying build dependencies in pyproject.toml (see PEP 518). Packages which specify one or more build dependencies this way will be built into wheels in an isolated environment with those dependencies installed. (#3691)
pip now supports environment variable expansion in requirement files using only ${VARIABLE} syntax on all platforms. (#3728)
Allowed combinations of -q and -v to act sanely. Then we don't need warnings mentioned in the issue. (#4008)
Add --exclude-editable to pip freeze and pip list to exclude editable packages from installed package list. (#4015, #4016)
Improve the error message for the common pip install ./requirements.txt case. (#4127)
Add support for the new @ url syntax from PEP 508. (#4175)
Add setuptools version to the statistics sent to BigQuery. (#4209)
Report the line which caused the hash error when using requirement files. (#4227)
Add a pip config command for managing configuration files. (#4240)
Allow pip download to be used with a specific platform when --no-deps is set. (#4289)
Support build-numbers in wheel versions and support sorting with build-numbers. (#4299)
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)
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)
pip now displays where it is looking for packages, if non-default locations are used. (#4483)
Display a message to run the right command for modifying pip on Windows (#4490)
Add Man Pages for pip (#4491)
Make uninstall command less verbose by default (#4493)
Switch the default upgrade strategy to be 'only-if-needed' (#4500)
Installing from a local directory or a VCS URL now builds a wheel to install, rather than running setup.py install. Wheels from these sources are not cached. (#4501)
Don't log a warning when installing a dependency from Git if the name looks like a commit hash. (#4507)
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)
Local Packages can now be referenced using forward slashes on Windows. (#4563)
pip show learnt a new Required-by field that lists currently installed packages that depend on the shown package (#4564)
The command-line autocompletion engine pip show now autocompletes installed distribution names. (#4749)
Change documentation theme to be in line with Python Documentation (#4758)
Add auto completion of short options. (#4954)
Run 'setup.py develop' inside pep518 build environment. (#4999)
pip install now prints an error message when it installs an incompatible version of a dependency. (#5000)
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)
Show install locations when list command ran with "-v" option. (#979)
Allow pip to work if the GIT_DIR and GIT_WORK_TREE environment variables are set. (#1130)
Make pip install --force-reinstall not require passing --upgrade. (#1139)
Return a failing exit status when pip install, pip download, or pip wheel is called with no requirements. (#2720)
Interactive setup.py files will no longer hang indefinitely. (#2732, #4982)
Correctly reset the terminal if an exception occurs while a progress bar is being shown. (#3015)
"Support URL-encoded characters in URL credentials." (#3236)
Don't assume sys.__stderr__.encoding exists (#3356)
Fix pip uninstall when easy-install.pth lacks a trailing newline. (#3741)
Keep install options in requirements.txt from leaking. (#3763)
pip no longer passes global options from one package to later packages in the same requirement file. (#3830)
Support installing from Git refs (#3876)
Use pkg_resources to parse the entry points file to allow names with colons. (#3901)
-q specified once correctly sets logging level to WARNING, instead of CRITICAL. Use -qqq to have the previous behavior back. (#3994)
Shell completion scripts now use correct executable names (e.g., pip3 instead of pip) (#3997)
Changed vendored encodings from utf8 to utf-8. (#4076)
Fixes destination directory of data_files when pip install --target is used. (#4092)
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)
Support the installation of wheels with non-PEP 440 version in their filenames. (#4169)
Fall back to sys.getdefaultencoding() if locale.getpreferredencoding() returns None in pip.utils.encoding.auto_decode. (#4184)
Fix a bug where SETUPTOOLS_SHIM got called incorrectly for relative path requirements by converting relative paths to absolute paths prior to calling the shim. (#4208)
Return the latest version number in search results. (#4219)
Improve error message on permission errors (#4233)
Fail gracefully when /etc/image_version (or another distro version file) appears to exists but is not readable. (#4249)
Avoid importing setuptools in the parent pip process, to avoid a race condition when upgrading one of setuptools dependencies. (#4264)
Fix for an incorrect freeze warning message due to a package being included in multiple requirements files that were passed to freeze. 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)
Generalize help text for compile/no-compile flags. (#4316)
Handle the case when /etc is not readable by the current user by using a hardcoded list of possible names of release files. (#4320)
Fixed a NameError when attempting to catch FileNotFoundError on Python 2.7. (#4322)
Ensure USER_SITE is correctly initialised. (#4437)
Reinstalling an editable package from Git no longer assumes that the master branch exists. (#4448)
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)
Improve handling of text output from build tools (avoid Unicode errors) (#4486)
Fix a "No such file or directory" error when using --prefix. (#4495)
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)
Fix warning message on mismatched versions during installation. (#4655)
pip now records installed files in a deterministic manner improving reproducibility. (#4667)
Fix an issue where pip install -e 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 HEAD commit hash. (#4675)
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)
Use log level info instead of warning when ignoring packages due to environment markers. (#4876)
Replaced typo mistake in subversion support. (#4908)
Terminal size is now correctly inferred when using Python 3 on Windows. (#4966)
Abort if reading configuration causes encoding errors. (#4976)
Add a --no-user option and use it when installing build dependencies. (#5085)
Upgraded appdirs to 1.4.3.
Upgraded CacheControl to 0.12.3.
Vendored certifi at 2017.7.27.1.
Vendored chardet at 3.0.4.
Upgraded colorama to 0.3.9.
Upgraded distlib to 0.2.6.
Upgraded distro to 1.2.0.
Vendored idna at idna==2.6.
Upgraded ipaddress to 1.0.18.
Vendored msgpack-python at 0.4.8.
Removed the vendored ordereddict.
Upgraded progress to 1.3.
Upgraded pyparsing to 2.2.0.
Upgraded pytoml to 0.1.14.
Upgraded requests to 2.18.4.
Upgraded pkg_resources (via setuptools) to 36.6.0.
Upgraded six to 1.11.0.
Vendored urllib3 at 1.22.
Upgraded webencodings to 0.5.1.
Added documentation on usage of --build command line option (#4262)
(#4358)
Document how to call pip from your code, including the fact that we do not provide a Python API. (#4743)
Fix an error where the vendored requests was not correctly containing itself to only the internal vendored prefix.
Fix an error where the vendored requests was not correctly containing itself to only the internal vendored prefix.
Restore compatibility with 2.6.
Fallback to using SecureTransport on macOS when the linked OpenSSL is too old to support TLSv1.2.
Fallback to using SecureTransport on macOS when the linked OpenSSL is too old to support TLSv1.2.
Correct the deprecation message when not specifying a --format so that it uses the correct setting name (format) rather than the incorrect one (list_f…
Correct the deprecation message when not specifying a --format so that it uses the correct setting name (format) rather than the incorrect one (list_format). (#4058)
Fix pip check to check all available distributions and not just the local ones. (#4083)
Fix a crash on non ASCII characters from lsb_release. (#4062)
Fix an SyntaxError in an unused module of a vendored dependency. (#4059)
Fix UNC paths on Windows. (#4064)
BACKWARD INCOMPATIBLE Remove the attempted autodetection of requirement names from URLs, URLs must include a name via #egg=.
BACKWARD INCOMPATIBLE Remove the attempted autodetection of requirement names from URLs, URLs must include a name via #egg=.
DEPRECATION pip install --egg 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.
DEPRECATION --default-vcs option. (#4052)
WARNING pip 9 cache can break forward compatibility with previous pip versions if your package repository allows chunked responses. (#4078)
Add an --upgrade-strategy option to pip install, to control how dependency upgrades are managed. (#3972)
Add a pip check command to check installed packages dependencies. (#3750)
Add option allowing user to abort pip operation if file/directory exists
Add Appveyor CI
Uninstall existing packages when performing an editable installation of the same packages. (#1548)
pip show is less verbose by default. --verbose prints multiline fields. (#3858)
Add optional column formatting to pip list. (#3651)
Add --not-required option to pip list, which lists packages that are not dependencies of other packages.
Fix builds on systems with symlinked /tmp directory for custom builds such as numpy. (#3701)
Fix regression in pip freeze: when there is more than one git remote, priority is given to the remote named origin. (#3708, #3616).
Fix crash when calling pip freeze with invalid requirement installed. (#3704, #3681)
Allow multiple --requirement files in pip freeze. (#3703)
Implementation of pep-503 data-requires-python. 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.
pip wheel now works on editable packages too (it was only working on editable dependencies before); this allows running pip wheel on the result of pip freeze in presence of editable requirements. (#3695, #3291)
Load credentials from .netrc files. (#3715, #3569)
Add --platform, --python-version, --implementation and --abi parameters to pip download. These allow utilities and advanced users to gather distributions for interpreters other than the one pip is being run on. (#3760)
Skip scanning virtual environments, even when venv/bin/python is a dangling symlink.
Added pip completion support for the fish shell.
Fix problems on Windows on Python 2 when username or hostname contains non-ASCII characters. (#3463, #3970, #4000)
Use git fetch --tags 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)
Normalize package names before using in pip show (#3976)
Raise when Requires-Python do not match the running version and add --ignore-requires-python option as escape hatch. (#3846)
Report the correct installed version when performing an upgrade in some corner cases. (#2382
Add -i shorthand for --index flag in pip search.
Do not optionally load C dependencies in requests. (#1840, #2930, #3024)
Strip authentication from SVN url prior to passing it to svn. (#3697, #3209)
Also install in platlib with --target option. (#3694, #3682)
Restore the ability to use inline comments in requirements files passed to pip freeze. (#3680)
Fix a regression on systems with uninitialized locale.
Fix a regression on systems with uninitialized locale. (#3575)
Use environment markers to filter packages before determining if a required wheel is supported. (#3254)
Make glibc parsing for manylinux1 support more robust for the variety of glibc versions found in the wild. (#3588)
Update environment marker support to fully support legacy and PEP 508 style environment markers. (#3624)
Always use debug logging to the --log file. (#3351)
Don't attempt to wrap search results for extremely narrow terminal windows. (#3655)
Fix regression with non-ascii requirement files on Python 2 and add support for encoding headers in requirement files. (#3548, #3547)
Fix regression with non-ascii requirement files on Python 2 and add support for encoding headers in requirement files. (#3548, #3547)
Fix and deprecate package name detection from url path. (#3523, #3495)
Implement PEP 513, which adds support for the manylinux1 platform tag, allowing carefully compiled binary wheels to be installed on compatible Linux platforms.
Allow wheels which are not specific to a particular Python interpreter but which are specific to a particular platform. (#3202)
Fixed an issue where call_subprocess would crash trying to print debug data on child process failure. (#3521, #3522)
Exclude the wheel package from the pip freeze output (like pip and setuptools). (#2989)
Allow installing modules from a subdirectory of a vcs repository in non-editable mode. (#3217, #3466)
Make pip wheel and pip download work with vcs urls with subdirectory option. (#3466)
Show classifiers in pip show.
Show PEP376 Installer in pip show. (#3517)
Unhide completion command. (#1810)
Show latest version number in pip search results. (#1415)
Decode requirement files according to their BOM if present. (#3485, #2865)
Fix and deprecate package name detection from url path. (#3523, #3495)
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)
Fix an issue where pip would erroneously install a 64 bit wheel on a 32 bit Python running on a 64 bit macOS machine.
Do not assume that all git repositories have an origin remote.
Correctly display the line to add to a requirements.txt for an URL based dependency when --require-hashes is enabled.
Enable python -W with respect to PipDeprecationWarning.
Make install --quiet really quiet. (#3418)
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)
Normalize generated script files path in RECORD files. (#3448)
Fix bug introduced in 8.0.0 where subcommand output was not shown, even when the user specified -v / --verbose. (#3486)
Enable python -W with respect to PipDeprecationWarning. (#3455)
Upgrade distlib to 0.2.2.
Improved support for Jython when quoting executables in output scripts. (#3467)
Add a --all option to pip freeze to include usually skipped package (like pip, setuptools and wheel) to the freeze output. (#1610)
Stop attempting to trust the system CA trust store because it's extremely common for them to be broken, often in incompatible ways.
Stop attempting to trust the system CA trust store because it's extremely common for them to be broken, often in incompatible ways. (#3416)
Detect CAPaths in addition to CAFiles on platforms that provide them.
Detect CAPaths in addition to CAFiles on platforms that provide them.
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).
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.
Fix a bug where pre-releases were showing up in pip list --outdated without the --pre flag.
Switch the SOABI emulation from using RuntimeWarnings to debug logging.
Rollback the removal of the ability to uninstall distutils installed items until a future date.
BACKWARD INCOMPATIBLE Drop support for Python 3.2.
BACKWARD INCOMPATIBLE Drop support for Python 3.2.
BACKWARD INCOMPATIBLE Remove the ability to find any files other than the ones directly linked from the index or find-links pages.
BACKWARD INCOMPATIBLE Remove the --download-cache which had been deprecated and no-op'd in 6.0.
BACKWARD INCOMPATIBLE Remove the --log-explicit-levels which had been deprecated in 6.0.
BACKWARD INCOMPATIBLE Change pip wheel --wheel-dir default path from <cwd>/wheelhouse to <cwd>.
Deprecate and no-op the --allow-external, --allow-all-external, and --allow-unverified 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.
Allow --trusted-host within a requirements file. (#2822)
Allow --process-dependency-links within a requirements file. (#1274)
Allow --pre within a requirements file. (#1273)
Allow repository URLs with secure transports to count as trusted. (E.g., "git+ssh" is okay.) (#2811)
Implement a top-level pip download command and deprecate pip install --download.
When uninstalling, look for the case of paths containing symlinked directories (#3141, #3154)
When installing, if building a wheel fails, clear up the build directory before falling back to a source install. (#3047)
Fix user directory expansion when HOME=/. Workaround for Python bug https://bugs.python.org/issue14768. (#2996)
Correct reporting of requirements file line numbers. (#3009, #3125)
Fixed Exception(IOError) for pip freeze and pip list commands with subversion >= 1.7. (#1062, #3346)
Provide a spinner showing that progress is happening when installing or building a package via setup.py. This will alleviate concerns that projects with unusually long build times have with pip appearing to stall.
Include the functionality of peep 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.
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.
Add a new --prefix option for pip install that supports wheels and sdists. (#3252)
Fixed issue regarding wheel building with setup.py using a different encoding than the system. (#2042)
Drop PasteScript specific egg_info hack. (#3270)
Allow combination of pip list options --editable with --outdated/--uptodate. (#933)
Gives VCS implementations control over saying whether a project is under their control. (#3258)
Git detection now works when setup.py is not at the Git repo root and when package_dir is used, so pip freeze works in more cases. (#3258)
Correctly freeze Git develop packages in presence of the &subdirectory option (#3258)
The detection of editable packages now relies on the presence of .egg-link instead of looking for a VCS, so pip list -e is more reliable. (#3258)
Add the --prefix flag to pip install which allows specifying a root prefix to use instead of sys.prefix. (#3252)
Allow duplicate specifications in the case that only the extras differ, and union all specified extras together. (#3198)
Fix the detection of the user's current platform on OSX when determining the OSX SDK version. (#3232)
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)
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)
Don't roundtrip to the network when git is pinned to a specific commit hash and that hash already exists locally. (#3066)
Prefer wheels built against a newer SDK to wheels built against an older SDK on OSX. (#3163)
Show entry points for projects installed via wheel. (#3122)
Improve message when an unexisting path is passed to --find-links option. (#2968)
pip freeze does not add the VCS branch/tag name in the #egg=... fragment anymore. (#3312)
Warn on installation of editable if the provided #egg=name part does not match the metadata produced by setup.py egg_info. (#3143)
Add support for .xz files for python versions supporting them (>= 3.3). (#722)
Don't raise an error if pip is not installed when checking for the latest pip version.
Don't raise an error if pip is not installed when checking for the latest pip version.
Check that the wheel cache directory is writable before we attempt to write cached files to them.
Check that the wheel cache directory is writable before we attempt to write cached files to them.
Move the pip version check until after any installs have been performed, thus removing the extraneous warning when upgrading pip.
Added debug logging when using a cached wheel.
Respect platlib by default on platforms that have it separated from purelib.
Upgrade packaging to 15.3. - Normalize post-release spellings for rev/r prefixes.
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.
Upgrade ipaddress to 1.0.13.
Allow constraining versions globally without having to know exactly what will be installed by the pip command.
Allow constraining versions globally without having to know exactly what will be installed by the pip command. (#2731)
Accept --no-binary and --only-binary via pip.conf. (#2867)
Allow --allow-all-external within a requirements file.
Fixed an issue where --user could not be used when --prefix was used in a distutils configuration file.
Fixed an issue where the SOABI tags were not correctly being generated on Python 3.5.
Fixed an issue where we were advising windows users to upgrade by directly executing pip, when that would always fail on Windows.
Allow ~ to be expanded within a cache directory in all situations.
Fixed a regression where --no-cache-dir would raise an exception.
Fixed a regression where --no-cache-dir would raise an exception. (#2855)
BACKWARD INCOMPATIBLE Revert the change (released in v7.0.0) that required quoting in requirements files around specifiers containing environment mark…
BACKWARD INCOMPATIBLE Revert the change (released in v7.0.0) that required quoting in requirements files around specifiers containing environment markers. (#2841)
BACKWARD INCOMPATIBLE Revert the accidental introduction of support for options interleaved with requirements, version specifiers etc in requirements files. (#2841)
Expand ~ in the cache directory when caching wheels. (#2816)
Use python -m pip instead of pip when recommending an upgrade command to Windows users.
Don't build and cache wheels for non-editable installations from VCSs.
Don't build and cache wheels for non-editable installations from VCSs.
Allow --allow-all-external inside of a requirements.txt file, fixing a regression in 7.0.
BACKWARD INCOMPATIBLE Removed the deprecated --mirror, --use-mirrors, and -M options.
BACKWARD INCOMPATIBLE Removed the deprecated --mirror, --use-mirrors, and -M options.
BACKWARD INCOMPATIBLE Removed the deprecated zip and unzip commands.
BACKWARD INCOMPATIBLE Removed the deprecated --no-install and --no-download options.
BACKWARD INCOMPATIBLE No longer implicitly support an insecure origin origin, and instead require insecure origins be explicitly trusted with the --trusted-host option.
BACKWARD INCOMPATIBLE Removed the deprecated link scraping that attempted to parse HTML comments for a specially formatted comment.
BACKWARD INCOMPATIBLE Requirements in requirements files containing markers must now be quoted due to parser changes. For example, use "SomeProject; python_version < '2.7'", not simply SomeProject; python_version < '2.7' (#2697, #2725)
get-pip.py now installs the "wheel" package, when it's not already installed. (#2800)
Ignores bz2 archives if Python wasn't compiled with bz2 support. (#497)
Support --install-option and --global-option per requirement in requirement files. (#2537)
Build Wheels prior to installing from sdist, caching them in the pip cache directory to speed up subsequent installs. (#2618)
Allow fine grained control over the use of wheels and source builds. (#2699)
--no-use-wheel and --use-wheel are deprecated in favour of new options --no-binary and --only-binary. The equivalent of --no-use-wheel is --no-binary=:all:. (#2699)
The use of --install-option, --global-option or --build-option disable the use of wheels, and the autobuilding of wheels. (#2711, #2677)
Improve logging when a requirement marker doesn't match your environment. (#2735)
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. pip install -U setuptools will no longer upgrade "distribute" to "setuptools". Instead, use pip install -U distribute. (#2767)
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)
Display a warning when attempting to access a repository that uses HTTPS when we don't have Python compiled with SSL support. (#2761)
Allowing using extras when installing from a file path without requiring the use of an editable. (#2785)
Fix an infinite loop when the cache directory is stored on a file system which does not support hard links. (#2796)
Remove the implicit debug log that was written on every invocation, instead users will need to use --log if they wish to have one. (#2798)
No longer ignore dependencies which have been added to the standard library, instead continue to install them.
No longer ignore dependencies which have been added to the standard library, instead continue to install them.
Upgrade the bundled copy of requests to 2.6.0, fixing CVE-2015-2296.
Fixes upgrades failing when no potential links were found for dependencies other than the current installation. (#2538, #2502)
Use a smoother progress bar when the terminal is capable of handling it, otherwise fallback to the original ASCII based progress bar.
Display much less output when pip install succeeds, because on success, users probably don't care about all the nitty gritty details of compiling and installing. When pip install fails, display the failed install output once instead of twice, because once is enough. (#2487)
Upgrade the bundled copy of requests to 2.6.0, fixing CVE-2015-2296.
Display format of latest package when using pip list --outdated. (#2475)
Don't use pywin32 as ctypes should always be available on Windows, using pywin32 prevented uninstallation of pywin32 on Windows. (2467)
Normalize the --wheel-dir option, expanding out constructs such as ~ when used. (#2441)
Display a warning when an undefined extra has been requested. (#2142)
Speed up installing a directory in certain cases by creating a sdist instead of copying the entire directory. (#2535)
Don't follow symlinks when uninstalling files (#2552)
Upgrade the bundled copy of cachecontrol from 0.11.1 to 0.11.2. (#2481, #2595)
Attempt to more smartly choose the order of installation to try and install dependencies before the projects that depend on them. (#2616)
Skip trying to install libraries which are part of the standard library. (#2636, #2602)
Support arch specific wheels that are not tied to a specific Python ABI. (#2561)
Output warnings and errors to stderr instead of stdout. (#2543)
Adjust the cache dir file checks to only check ownership if the effective user is root. (#2396)
Install headers into a per project name directory instead of all of them into the root directory when inside of a virtual environment. (#2421)
Fix an issue where distutils installed projects were not actually uninstalled and deprecate attempting to uninstall them altogether.
Fix an issue where the --download flag would cause pip to no longer use randomized build directories.
Fix an issue where pip did not properly unquote quoted URLs which contain characters like PEP 440's epoch separator (!).
Fix an issue where distutils installed projects were not actually uninstalled and deprecate attempting to uninstall them altogether.
Retry deleting directories in case a process like an antivirus is holding the directory open temporarily.
Fix an issue where pip would hide the cursor on Windows but would not reshow it.
Fix a regression where Numpy requires a build path without symlinks to properly build.
Fix a regression where Numpy requires a build path without symlinks to properly build.
Fix a broken log message when running pip wheel without a requirement.
Don't mask network errors while downloading the file as a hash failure.
Properly create the state file for the pip version check so it only happens once a week.
Fix an issue where switching between Python 3 and Python 2 would evict cached items.
Fix a regression where pip would be unable to successfully uninstall a project without a normalized version.
Continue the regression fix from 6.0.5 which was not a complete fix.
Continue the regression fix from 6.0.5 which was not a complete fix.
Fix a regression with 6.0.4 under Windows where most commands would raise an exception due to Windows not having the os.geteuid() function.
Fix a regression with 6.0.4 under Windows where most commands would raise an exception due to Windows not having the os.geteuid() function.
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 wi
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.
Fix an issue where using -v would cause an exception saying TypeError: not all arguments converted during string formatting.
Fix an issue where using -v with dependency links would cause an exception saying TypeError: 'InstallationCandidate' object is not iterable.
Fix an issue where upgrading distribute would cause an exception saying TypeError: expected string or buffer.
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 sudo without the -H flag.
Update PEP 440 support to handle the latest changes to PEP 440, particularly the changes to >V and <V so that they no longer imply !=V.*.
Document the default cache directories for each operating system.
Create the cache directory when the pip version check needs to save to it instead of silently logging an error.
Fix a regression where the -q flag would not properly suppress the display of the progress bars.
Your coding agent can read these notes before it upgrades. Set up the MCP server →