-
Notifications
You must be signed in to change notification settings - Fork 509
Add pytest-based tests #5860
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
base: main
Are you sure you want to change the base?
Add pytest-based tests #5860
Conversation
d7565c4 to
06593b1
Compare
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
23d3bbc to
b73de30
Compare
1dbbcfc to
13e318a
Compare
3c6899d to
f54c75a
Compare
9114514 to
af5cfb2
Compare
|
I have read the CLA Document and I hereby sign the CLA 1 out of 2 committers have signed the CLA. |
Update python_metadata.bzl with new bundle info This commit updates the backport and integrity values in python_metadata.bzl based on the latest Pyodide bundle upload. 🤖 Generated automatically by release-python-runtime workflow
af5cfb2 to
0fddb86
Compare
|
This is so smart - and cool! |
| PYTHONHASHSEED: '111', | ||
| }, | ||
| lockFileURL: '', | ||
| enableRunUntilComplete: true, |
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.
Is this a non-breaking change for old workers that use Pyodide < 0.28?
| WebLoop.shutdown_asyncgens = noop | ||
| WebLoop.shutdown_default_executor = noop |
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.
Maybe let's add a comment why we need this, something like:
pytest-asyncio relies on this method, but Pyodide < 0.29 does not implement these methods in the webloop class, so we stub these out...
dom96
left a comment
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.
Nice!
|
|
||
| # Each test takes a while to start up, so if possible add additional tests to many-tests or sdk or | ||
| # some other existing test. | ||
| # Each test takes a while to start up, so if possible add additional tests to pytest or to |
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.
| # Each test takes a while to start up, so if possible add additional tests to pytest or to | |
| # NOTE: Each test takes a while to start up, so if possible add additional tests to pytest or to |
| # Each test takes a while to start up, so if possible add additional tests to pytest or to | ||
| # top-level-tests or sdk or some other existing test. | ||
|
|
||
| # TODO: Why does this break with snapshots? |
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.
Can we create an EW ticket to track this (and then put its number into the comment)?
No description provided.