Skip to content

Commit

Permalink
Use pyodide 0.24.0 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 committed Sep 19, 2023
1 parent b607b06 commit f324ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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.24.0]
test-config: [
{runner: selenium, runtime: chrome, runtime-version: latest },
]
Expand Down
5 changes: 1 addition & 4 deletions micropip/_compat_in_pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ async def fetch_string_and_headers(
response = await pyfetch(url, **kwargs)

content = await response.string()
# TODO: replace with response.headers when pyodide>= 0.24 is released
headers: dict[str, str] = Object.fromEntries(
response.js_response.headers.entries()
).to_py()
headers = response.headers

return content, headers

Expand Down

0 comments on commit f324ad6

Please sign in to comment.