Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why did pip upgrade from version 10 to version 18?

Tags:

python

pip

while running a pip install script I get the following warning:

 You are using pip version 10.0.1, however version 18.0 is available

This is very strange. Did the pip project just upgrade from version 10 to version 18? Why?

like image 781
mircealungu Avatar asked Jul 23 '18 10:07

mircealungu


People also ask

Does pip always install the latest version?

The pip install command always installs the latest published version of a package, but sometimes your code requires a specific package version to work correctly.

Should I upgrade pip version?

New software releases can bring bug fixes, new features, and faster performance. For example, NumPy 1.20 added type annotations, and improved performance by using SIMD when possible. If you're installing NumPy, you might want to install the newest version.

How does pip decide which version to install?

Once pip has a list of compatible distributions, it sorts them by version, chooses the most recent version, and then chooses the "best" distribution for that version. It prefers binary wheels if there are any, and if they are multiple it chooses the one most specific to the install environment.

What is the latest version of pip?

pip 22.2.2. The PyPA recommended tool for installing Python packages.


1 Answers

First point in the release notes:

  • Switch to a Calendar based versioning scheme.

https://pip.pypa.io/en/stable/news/

More about calendar versioning: https://calver.org/

like image 84
deceze Avatar answered Oct 26 '22 10:10

deceze