Why is dependency links in setup.py deprecated?

六眼飞鱼酱① 提交于 2019-12-03 15:13:14

PEP 508 URL dependencies are the alternative for dependency-links. You can find more details about that in my related answer.


What is the reason for deprecating dependency links?

Security. When dependency links are enabled, pip can be made to fetch arbitrary URLs from the internet and run code from them -- something that is obviously not a good idea.

You can read more about it in the original thread proposing this: https://mail.python.org/pipermail/distutils-sig/2013-October/022937.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!