Python 为什么 pip 从版本 10 升级到版本 18?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/51476300/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 19:51:50  来源:igfitidea点击:

Why did pip upgrade from version 10 to version 18?

pythonpip

提问by mircealungu

while running a pip installscript I get the following warning:

在运行pip install脚本时,我收到以下警告:

 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?

这很奇怪。pip 项目是不是刚刚从 10 版升级到了 18 版?为什么?

采纳答案by deceze

First point in the release notes:

发行说明中的​​第一点:

  • Switch to a Calendar based versioning scheme.

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

  • 切换到基于日历的版本控制方案。

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

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

有关日历版本控制的更多信息:https: //calver.org/