您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

python – 对PyPI轮子的平台约束有什么限制?

5b51 2022/1/14 8:21:38 python 字数 2241 阅读 515 来源 www.jb51.cc/python

是否有任何限制声明(PEP或其他地方)Linux车轮上传到PyPI的范围应该有多大?具体来说:当我们无法构建后者时,将linux_x86_64轮子上传到PyPI而不是manylinux1_x86_64是否被认为是可接受的做法 - 由于外部C库依赖于较新的glibc?另见PEP 513 / 'Rationale': Build tools using PE

概述

是否有任何限制声明(PEP或其他地方)Linux车轮上传PyPI的范围应该有多大?具体来说:当我们无法构建后者时,将linux_x86_64轮子上传到PyPI而不是manylinux1_x86_64是否被认为是可接受的做法 – 由于外部C库依赖于较新的glibc

另见PEP 513 / “Rationale”

Build tools using PEP 425 platform tags [3] do not track information about the particular Linux distribution or installed system libraries,and instead assign all wheels the too-vague linux_i686 or linux_x86_64 tags. Because of this ambiguity,there is no expectation that linux-tagged built distributions compiled on one machine will work properly on another,and for this reason,PyPI has not permitted the uploading of wheels for Linux.

和“PyPI支持”:

PyPI should permit wheels containing the manylinux1 platform tag to be uploaded. PyPI should not attempt to formally verify that wheels containing the manylinux1 platform tag adhere to the manylinux1 policy described in this document. This verification tasks should be left to other tools,like auditwheel,that are developed separately.

HTTPError: 400 Client Error: Binary wheel ‘foo-cp35-cp35m-linux_x86_64.whl’ has an unsupported platform tag ‘linux_x86_64’. for url: 07001

总结

以上是编程之家为你收集整理的python – 对PyPI轮子的平台约束有什么限制?全部内容,希望文章能够帮你解决python – 对PyPI轮子的平台约束有什么限制?所遇到的程序开发问题。


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶