Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Run tests with pyodide 0.24.0 #85

Merged
merged 10 commits into from
Sep 26, 2023
Merged

Conversation

ryanking13
Copy link
Member

@ryanking13 ryanking13 commented Sep 19, 2023

  • Update Pyodide version in CI to 0.24.0
  • Use response.headers which is added in Pyodide 0.24.

@ryanking13 ryanking13 changed the title CI Run tests in pyodide 0.24.0 CI Run tests with pyodide 0.24.0 Sep 19, 2023
@@ -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]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we document a compatibility matrix somewhere? Of compatible Pyodide version for a given micropip release?

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it's a bit of a question how fast we drop support for older pyodide releases in micropip.

I'm not opposed to doing this but just something I wonder about, especially that here there is no major benefits from updating (aside from having slightly simpler code in this case).

@ryanking13
Copy link
Member Author

ryanking13 commented Sep 20, 2023

@rth Hmm, yes that's a good point.

As you mentioned, there isn't much benefit from dropping Pyodide < 0.24.0 here in this PR, so I'll revert that change, and add some compatibility table.

I suppose we could do something like pytest-pyodide, where we drop support for an older version when it would greatly benefit from it.

COMPATIBILITY.md Outdated Show resolved Hide resolved
@ryanking13 ryanking13 merged commit 72a0f13 into pyodide:main Sep 26, 2023
6 checks passed
@ryanking13 ryanking13 deleted the ci-0.24.0 branch September 26, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants