From 12de859b4bf1bb9852af6b227102ad42f23ef6a9 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 23 May 2024 12:01:05 -0400 Subject: [PATCH] ci: fix pyodide build (#934) * ci: try to fix pyodide build * tests: don't error if pytest can't create a cache Signed-off-by: Henry Schreiner --------- Signed-off-by: Henry Schreiner --- .github/workflows/emscripten.yaml | 2 +- pyproject.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/emscripten.yaml b/.github/workflows/emscripten.yaml index 6d6646b9..f73e19d1 100644 --- a/.github/workflows/emscripten.yaml +++ b/.github/workflows/emscripten.yaml @@ -29,7 +29,7 @@ jobs: python-version: "3.11" - name: Install pyodide-build - run: pip install pyodide-build==0.23.4 + run: pip install pyodide-build==0.25.1 - name: Compute emsdk version id: compute-emsdk-version diff --git a/pyproject.toml b/pyproject.toml index 33653a22..2b9fc666 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,7 +127,10 @@ addopts = [ "--strict-config", "--import-mode=importlib", ] -filterwarnings = ["error"] +filterwarnings = [ + "error", + "default:could not create cache path:pytest.PytestCacheWarning", +] xfail_strict = true testpaths = ["tests"] required_plugins = ["pytest-benchmark"]