-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for pyodide 0.27.1, including pyarrow + pandas
- Switch to using global-ish `add_compile_options` to ensure every target we need to link, including all Arrow components, is built with Emscripten exceptions support - Add two regression tests to the pytest-pyodide suite for pyarrow and pandas examples which were previously crashing Signed-off-by: Tom Jakubowski <tom@prospective.dev>
- Loading branch information
1 parent
9cfcd98
commit 5e5eb22
Showing
6 changed files
with
87 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
# pyodide-tests | ||
|
||
Smoke and integration tests for the perspective-python Pyodide wheel. | ||
pytest-pyodide and Playwright | ||
|
||
These tests require that a Pyodide wheel has been built to rust/target/wheels | ||
|
||
## test setup | ||
|
||
Create a virtual environment. Install perspective-python requirements and | ||
special pyodide-only requirements: | ||
|
||
``` | ||
pip install -r rust/perspective-python/requirements.txt | ||
pip install -r rust/perspective-python/requirements-pyodide.txt | ||
``` | ||
|
||
## running tests | ||
|
||
Run setup, select `perspective-pyodide` target: | ||
|
||
``` | ||
pnpm -w run setup | ||
``` | ||
|
||
Then run tests: | ||
|
||
``` | ||
pnpm -w test | ||
``` | ||
|
||
If you are prompted to install playwright browsers, run this in your venv: | ||
|
||
``` | ||
python -m playwright install | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters