changeset 48272:f6b045910d82 stable

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
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 20 Oct 2021 16:54:43 +0200
parents 5228a6dc212b
children 3a95a4e660b9
files rust/hgcli/pyoxidizer.bzl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: