diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfa1da1..ecda57b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - pyodide-version: [0.22.1, 0.23.2] + pyodide-version: [0.22.1, 0.23.4, 0.24.0] test-config: [ {runner: selenium, runtime: chrome, runtime-version: latest }, ] diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md new file mode 100644 index 0000000..53d4413 --- /dev/null +++ b/COMPATIBILITY.md @@ -0,0 +1,8 @@ +# Compatible Pyodide versions + +The following versions of micropip and Pyodide are tested in CI. +Other versions may work, however we make no guarantees. + +| micropip | Tested Pyodide versions | +| ----------- | ----------------------- | +| main branch | 0.22.1, 0.23.4, 0.24.0 | diff --git a/tests/test_install.py b/tests/test_install.py index 38508bc..12848d4 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -286,9 +286,9 @@ async def call_micropip_install(pyfetch_mock): # The above will raise an exception as the mock data is garbage # but it is sufficient for this test pass - pyfetch_mock.assert_called_with( - "https://pypi.org/pypi/pyodide-micropip-test/json", credentials="include" - ) + + call_args = pyfetch_mock.call_args.kwargs + assert call_args["credentials"] == "include" await call_micropip_install()