-
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.
python: Add async client, update pyo3
* Support for running maturin commands with uv * set `PSP_UV=1` in environment * use `uv venv` to create venv, then activate it * `uv pip install -r **/requirements.txt` to install requirements * Update pyo3 from 0.21 to 0.23 * this was to support use of the `pyo3-async-runtimes` crate * Build `abi3` .so when building with `maturin develop` * **Caveat**: after this change, old non-abi3 .so's still lingering in the rust/perspective-python directory may be loaded preferentially by Python when using an editable install. It is best to delete those old .so's. * Repurpose PyClient as AsyncClient and export bindings to Python * Add async client pytests for both cpython and pyodide * Uses `pytest-asyncio` plugin * Add python and pytest vscode settings * Supports running cpython pytest suite from vscode's Test Explorer Signed-off-by: Tom Jakubowski <[email protected]>
- Loading branch information
1 parent
550d5ed
commit 7974866
Showing
28 changed files
with
649 additions
and
255 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.