[protocolbuffers/protobuf]固定多重构建脚本以恢复 Manylinux1 轮子

2024-05-11 735 views

回答

9

谢谢简!

看起来 Linux Python Release 作业失败了,也许是因为这个版本的 multibuild 不支持 Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory
3

谢谢简!

看起来 Linux Python Release 作业失败了,也许是因为这个版本的 multibuild 不支持 Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory

好的。我更新了 PR:

  • 我将多重构建固定在当前可用的最后一个版本上。
  • 现在为 Linux 工件显式设置 MB_ML_VER。
6

谢谢简!

看起来 Linux Python Release 作业失败了,也许是因为这个版本的 multibuild 不支持 Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory

好吧,我知道问题是什么了。这与多重构建版本无关。

问题是 Manylinux1 没有 python3.10 支持(我认为它永远不会有它,因为它太旧了)。 docker 镜像quay.io/pypa/manylinux1_x86_64:latest仅包含 3.9 以下的 python 版本。

因此,对于 python3.10,我们需要选择更新版本的 Manylinux 映像(哪个?manylinux2010 还是 Manylinux2014?)

6

@acozzette @haberman 我们应该为 python3.10 使用哪个 Manylinux 版本?我们需要做出决定,否则这个 PR 将无限期地陷入困境。

8

我对这一切不是很熟悉,但我会投票支持 2014 年,因为 2010 年在这一点上听起来很老了。

6

我们可以尝试2010年吗?我认为年龄越大越好,因为它增加了我们的兼容性。

3

2010年对我来说听起来不错。

8

我更新了 python3.10 轮构建以使用 Manylinux2010。让我们看看测试怎么说。如果他们通过了,我认为这个公关就很好了。