pyoxidizer: force pip to not use pep517 in order to be able to install hg stable
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 20 Oct 2021 16:54:43 +0200
branchstable
changeset 47897 f6b045910d82
parent 47896 5228a6dc212b
child 47898 3a95a4e660b9
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
rust/hgcli/pyoxidizer.bzl
--- 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: