# HG changeset patch # User Raphaël Gomès # Date 2021-10-20 14:54:43 # Node ID f6b045910d82d55b13a5212d10379a31f6047688 # Parent 5228a6dc212b0dcedf0548d99cac3ff2f7e743a6 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 diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl --- a/rust/hgcli/pyoxidizer.bzl +++ b/rust/hgcli/pyoxidizer.bzl @@ -122,7 +122,7 @@ def make_exe(dist): ) # 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: