-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
run CI with Pyodide 0.26.4 and 0.27.2, update docs for Pyodide 0.27, and miscellaneous maintenance updates #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It seems like some part of the CI is still broken, but probably we can fix it one by one.
Thanks for the review! Could we drop 0.24.1 and 0.25.1, as they are more than a year old at this point? I'm working on fixing pre-commit at the moment, but I can take a look at the rest of the issues as well. |
Yes, feel free to drop old versions. You can update the version tested in CI and update the table in compatibility.md accordingly. |
The tests on Safari fail with this message:
But I don't see any uses of |
And Chrome hasn't started running the tests. I expect that it will time out. |
Never mind – it didn't time out, but we have a test that fails as such:
which I think we should revisit, as the JSPI API was changed: https://v8.dev/blog/jspi-newapi. @hoodmane previously raised an issue about the use of |
I'm not too sure how to go about debugging the other test:
|
Since it is a testcase using And I also found that Python 3.13 is installed in the host environment for the Safari test (maybe the GHA macos runner has been updated). So, probably the error happens because Python 3.13's pathlib object is incompatible with Python 3.12. It is not an error IMO, I think we need to fix GHA to use the same Python version instead. |
For this one, I don't understand why it timeouts, but maybe let's just remove that test from the |
That makes sense! I will try to fix that! I confirmed and your observation is in line with what I observe locally with Python 3.13 and Python 3.12:
|
Co-Authored-By: Gyeongjae Choi <[email protected]>
Apparently, GHA is adamant and keeps running the Safari tests with Python 3.13 instead, even after requesting Python 3.12. |
dd49d1c
to
5f1abae
Compare
Thanks for handling the issues Agriya. I guess this comment is related to out situation. Maybe we need to set the default shell and remove |
Ah, that's interesting, thanks, @ryanking13. I would never have thought of that being a problem. 🙈 I think we are close to fixing all the issues here. One problem is that the fix I noted in #146 (comment) doesn't yet work (maybe because we are using an older Node version or something). Another problem is that Chrome has started to time out after six hours, as noted in the last few CI runs. |
Co-Authored-By: Gyeongjae Choi <[email protected]>
42ad8f7
to
e499823
Compare
Yeah, it is probably the opposite. The Node version installed in the CI has probably updated to a newer version (with a newer JSPI), which makes the test break. I think we can xfail that test for now. It is not a critical test for pytest-pyodide IMO. |
For chrome issue, I think we had a same issue in micropip. For now, we pin the chrome version in micropip as a workaround. I think we can do the same thing. (Please also update the |
Oh yes, I remember that one. I was thinking of doing that as a last resort, but I'm okay with doing so to get the CI passing here, as other PRs rely on this change. |
Co-Authored-By: Gyeongjae Choi <[email protected]>
This reverts commit f7691b6.
Oh, you need to fix this file https://github.com/pyodide/pytest-pyodide/blob/main/utils/build_test_matrix.py to update the versions used in the CI. |
It looks like Chrome 131 is going to time out at some point – it shouldn't take this long to pass the tests. Should we go lower? |
1de9537
to
f412d65
Compare
For stack switching we should be able to check for either the old way or the new way and I'd hope that'd work. |
Yeah, maybe let's use |
Co-Authored-By: Gyeongjae Choi <[email protected]>
Okay, I think it should be ready now. I'll double-check and merge it as other PRs are blocked on this. Thanks for the guidance, @ryanking13 and @hoodmane! |
Description
upload-artifact
anddownload-artifact
GitHub Actions have been sunset. This pull request fixes the CI failure by switching to v4.As noticed in #145.