-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since I have pyo3 paged into memory right now, figured that I would just take the plunge, because I keep getting confused every single time I look up pyo3 docs and see "bound" missing. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Upgrade `pyo3` to `0.23.3` and adjust codebase for compatibility, including dependency updates, code changes, and new integration tests. > > - **Dependencies**: > - Upgrade `pyo3` to `0.23.3` in `Cargo.toml` and `Cargo.lock`. > - Replace `pyo3-asyncio` with `pyo3-async-runtimes`. > - Update `pythonize` to `0.23`. > - **Code Adjustments**: > - Replace `import_bound` with `import` in `errors.rs`, `lib.rs`, `parse_py_type.rs`. > - Use `into_py_any` instead of `to_object` for PyO3 conversions in `parse_py_type.rs`, `runtime.rs`. > - Update `lang_wrapper!` macro to include `module` attribute in `lang_wrapper.rs`. > - **Error Handling**: > - Modify exception handling in `errors.rs` to use updated PyO3 methods. > - **Integration Tests**: > - Add `run_tests.sh` for running Python integration tests. > - Add `test_python.py` to test `inspect` and `pickle` compatibility with `baml_py`. > - **Miscellaneous**: > - Add `integ-tests` job to GitHub Actions workflow in `primary.yml`. > - Add `poetry` version `1.8.4` to `.mise.toml`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for afbe94a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
Showing
16 changed files
with
167 additions
and
129 deletions.
There are no files selected for viewing
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.