Allow the user to set PIP_CONSTRAINT and it affect build-system.requires
This commit is contained in:
@@ -409,7 +409,9 @@ def build(options: Options, tmp_path: Path) -> None:
|
||||
config.version
|
||||
)
|
||||
)
|
||||
build_env["PIP_CONSTRAINT"] = constraint_path.as_uri()
|
||||
build_env["PIP_CONSTRAINT"] = (
|
||||
constraint_path.as_uri() + " " + build_env.get("PIP_CONSTRAINT", "")
|
||||
)
|
||||
build_env["VIRTUALENV_PIP"] = get_pip_version(env)
|
||||
call(
|
||||
"python",
|
||||
|
||||
Reference in New Issue
Block a user