Skip to content

Commit

Permalink
CI Run tests with pyodide 0.24.0 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 authored Sep 26, 2023
1 parent 0f0eb11 commit 72a0f13
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
]
Expand Down
8 changes: 8 additions & 0 deletions COMPATIBILITY.md
Original file line number Diff line number Diff line change
@@ -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 |
6 changes: 3 additions & 3 deletions tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 72a0f13

Please sign in to comment.