pip 10 has been officially released

On behalf of the Python Packaging Authority (PyPA: Python Packaging Authority), I'm happy to announce that pip 10 has just been officially released. This release is the culmination of months of community work.

To install pip 10, run:

python -m pip install --upgrade pip

Alternatively, use get-pip as described at https://pip.pypa.io/en/latest/installing. If you are using a version of pip from a distribution vendor, the vendor will provide an upgrade in due course (you There is also an option to use pip 10 in a virtual environment).

There is a small problem with using get-pip on Windows: when you download the get-pip.py file, please rename the file to make sure that "pip" is not included in the file name, such as gp.py. Otherwise, pip's inspection will be triggered, causing the operation to be interrupted. We are following up on this issue at: https://github.com/pypa/pip/issues/5219

Highlights of the new version of pip 10:

  • Python 2.6 is no longer supported. If you need to use pip on Python 2.6, please stay with pip 9, the last version to support Python 2.6

  • PEP 518 is supported, allowing projects to specify packages to be packaged from source. (Current support for PEP 518 is limited, future releases will provide all support - see documentation for details)

  • Significant improvements are provided for Unicode character handling in non-ASCII locales on Windows

  • New "pip config" command provided

  • The default upgrade policy has been changed to: only if needed

  • Fixed many bugs, and several minor improvements

Additionally, the previously announced pip kernel reorganization has already begun. Unless you write code that imports the pip module (or you use such code), this change won't affect you in any way. If you are affected, please report the issue to the author of the problem code (recommend them to visit https://mail.python.org/pipermail/distutils-sig/2017-October/031642.html See the announcement for details)

Thanks to everyone who worked hard on the new release. Community members have made many contributions - in the code, participating in design discussions, or reporting bugs. The pip development team would like to sincerely thank everyone in the community for their contributions.

Original address: https://blog.python.org/2018/04/pip-10-has-been-released.html

Author: Paul Moore

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324724915&siteId=291194637