pyoxidizer: force pip to not use pep517 in order to be able to install hg
Mercurial is not (yet) a pep517 package, but the presence of a pyproject.toml
file tells newer-ish versions of pip that it should be one.
This is related to 58fe6d127a01, and fixes pyoxidizer builds for the Heptapod
CI.
Differential Revision: https://phab.mercurial-scm.org/D11710
--- a/rust/hgcli/pyoxidizer.bzl Tue Oct 19 16:14:53 2021 -0700
+++ b/rust/hgcli/pyoxidizer.bzl Wed Oct 20 16:54:43 2021 +0200
@@ -122,7 +122,7 @@
)
# Add Mercurial to resources.
- exe.add_python_resources(exe.pip_install(["--verbose", ROOT]))
+ exe.add_python_resources(exe.pip_install(["--verbose", "--no-use-pep517", ROOT]))
# On Windows, we install extra packages for convenience.
if IS_WINDOWS: