diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0094253c..490300235 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -151,7 +151,7 @@ jobs: name: Test Emscripten runs-on: ubuntu-latest env: - PYODIDE_VERSION: '0.21.0-alpha.3' + PYODIDE_VERSION: '0.21.0' PYTHON_VERSION: '3.10.2' NODE_VERSION: 18 steps: diff --git a/noxfile.py b/noxfile.py index 3758ec0bd..58c1e2b0b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -6,7 +6,7 @@ import nox -PYODIDE_VERSION = os.getenv("PYODIDE_VERSION", "0.21.0-alpha.3") +PYODIDE_VERSION = os.getenv("PYODIDE_VERSION", "0.21.0") GITHUB_ACTIONS = os.getenv("GITHUB_ACTIONS") GITHUB_ENV = os.getenv("GITHUB_ENV") diff --git a/tests/emscripten_runner.js b/tests/emscripten_runner.js index ea5283c28..d8f7fc853 100644 --- a/tests/emscripten_runner.js +++ b/tests/emscripten_runner.js @@ -4,7 +4,7 @@ const { loadPyodide } = require("pyodide"); async function findWheel(distDir) { const dir = await opendir(distDir); for await (const dirent of dir) { - if (dirent.name.endsWith("whl")) { + if (dirent.name.includes("emscripten") && dirent.name.endsWith("whl")) { return dirent.name; } }