chore(tests): run a project with tests using build[uv] frontend (#1880)

This commit is contained in:
Matthieu Darbois
2024-06-17 01:07:35 -04:00
committed by GitHub
parent 932529cab1
commit c1b8a12cd5
5 changed files with 20 additions and 21 deletions
+2 -5
View File
@@ -22,6 +22,7 @@ from .util import (
BuildSelector,
NonPlatformWheelError,
call,
combine_constraints,
download,
ensure_node,
extract_zip,
@@ -285,11 +286,7 @@ def build(options: Options, tmp_path: Path) -> None:
build_env = env.copy()
if build_options.dependency_constraints:
our_constraints = str(constraints_path)
user_constraints = build_env.get("PIP_CONSTRAINT")
build_env["PIP_CONSTRAINT"] = " ".join(
c for c in [our_constraints, user_constraints] if c
)
combine_constraints(build_env, constraints_path, identifier_tmp_dir)
build_env["VIRTUALENV_PIP"] = pip_version
call(
"pyodide",