fix: support uv on android (#2733)

This commit is contained in:
Henry Schreiner
2026-02-08 08:35:05 -05:00
committed by GitHub
parent a2f965f62f
commit e0af304d30
3 changed files with 42 additions and 22 deletions
-2
View File
@@ -178,8 +178,6 @@ def build_frontend_env(request: pytest.FixtureRequest) -> dict[str, str]:
if platform in {"pyodide", "ios", "android"} and frontend == "pip":
pytest.skip(f"Can't use pip as build frontend for {platform}")
if platform == "android" and frontend == "uv":
pytest.skip(f"Can't use uv as build frontend for {platform}")
if platform == "pyodide" and frontend in {"build[uv]", "uv"}:
pytest.skip("Can't use uv with pyodide yet")
uv_path = find_uv()
+1 -1
View File
@@ -128,7 +128,7 @@ def test_frontend_good(tmp_path, build_frontend_env):
assert wheels == [f"spam-0.1.0-cp313-cp313-android_21_{native_arch.android_abi}.whl"]
@pytest.mark.parametrize("frontend", ["pip", "uv"])
@pytest.mark.parametrize("frontend", ["pip"])
def test_frontend_bad(frontend, tmp_path, capfd):
new_c_project().generate(tmp_path)
with pytest.raises(CalledProcessError):